diff options
Diffstat (limited to 'src/add_vhdltbc/decrypt')
| -rw-r--r-- | src/add_vhdltbc/decrypt/crypt_pack.vhd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/add_vhdltbc/decrypt/crypt_pack.vhd b/src/add_vhdltbc/decrypt/crypt_pack.vhd index 666e296..a97c373 100644 --- a/src/add_vhdltbc/decrypt/crypt_pack.vhd +++ b/src/add_vhdltbc/decrypt/crypt_pack.vhd @@ -28,7 +28,7 @@ package crypt_pack is subtype bit_tweak is std_logic_vector(TWEAK_LEN-1 downto 0); subtype bit_key is std_logic_vector(KEY_LEN-1 downto 0); subtype bit_tweak_key is std_logic_vector((TWEAK_LEN+KEY_LEN)-1 downto 0); - + subtype bit_data is std_logic_vector(127 downto 0); type row_state is array(0 to 3) of bit8; type type_state is array(0 to 3) of row_state; @@ -50,7 +50,7 @@ package crypt_pack is end crypt_pack; package body crypt_pack is - constant ROUND : integer := ROUND_NB-2; -- round number - 1 + constant ROUND : integer := ROUND_NB-1; -- round number - 1 constant TWEAK_KEY_LEN : integer := TWEAK_LEN+KEY_LEN-1; -- tweak key lenght - 1 constant LANE_NB : integer := ((TWEAK_LEN+KEY_LEN)/64); --nuber of lane end crypt_pack; |
