diff options
Diffstat (limited to 'src/mame/machine/naomim4.h')
-rw-r--r-- | src/mame/machine/naomim4.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/machine/naomim4.h b/src/mame/machine/naomim4.h index 777448ffd47..804affca87f 100644 --- a/src/mame/machine/naomim4.h +++ b/src/mame/machine/naomim4.h @@ -32,12 +32,12 @@ private: static const UINT8 k_sboxes[4][16]; const char *key_tag; - UINT16 key, iv; + UINT16 subkey1, subkey2; UINT16 *one_round; UINT8 *buffer; UINT32 rom_cur_address, buffer_actual_size; - UINT16 cur_iv; + UINT16 iv; UINT8 counter; bool encryption; bool cfi_mode; @@ -45,6 +45,7 @@ private: void enc_init(); void enc_reset(); void enc_fill(); + UINT16 decrypt_one_round(UINT16 word, UINT16 subkey); }; extern const device_type NAOMI_M4_BOARD; |