summaryrefslogtreecommitdiff
path: root/src/add_vhdltbc/encrypt
diff options
context:
space:
mode:
authorGaetan Leplus <gaetan.leplus@airbus.com>2019-03-27 17:01:33 +0100
committerGaetan Leplus <gaetan.leplus@airbus.com>2019-03-27 17:01:33 +0100
commit8733b59d62ef144d1e1f2a9251217d38b71adaf0 (patch)
tree92c64899b3f9b8b7ccaad09348ceb013da4362bf /src/add_vhdltbc/encrypt
parent6a3f24bcbd5f93bac8ee231085f1d37000d927d0 (diff)
downloadlilliput-ae-implem-8733b59d62ef144d1e1f2a9251217d38b71adaf0.tar.xz
Update SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_vhdltbc/decrypt/crypt_pack.vhd, SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_vhdltbc/decrypt/top.vhd, SOUMISSION_NIST/REFERENCE_IMPLEMENTATION/src/add_vhdltbc/encrypt/crypt_pack.vhd filesnist-submission-2019-03-27
Diffstat (limited to 'src/add_vhdltbc/encrypt')
-rw-r--r--src/add_vhdltbc/encrypt/crypt_pack.vhd6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/add_vhdltbc/encrypt/crypt_pack.vhd b/src/add_vhdltbc/encrypt/crypt_pack.vhd
index 026ad14..f2140e3 100644
--- a/src/add_vhdltbc/encrypt/crypt_pack.vhd
+++ b/src/add_vhdltbc/encrypt/crypt_pack.vhd
@@ -50,8 +50,8 @@ package crypt_pack is
end crypt_pack;
package body crypt_pack is
- constant ROUND : integer := ROUND_NB-2; -- 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
+ constant ROUND : integer := ROUND_NB-2;
+ constant TWEAK_KEY_LEN : integer := TWEAK_LEN+KEY_LEN-1;
+ constant LANE_NB : integer := ((TWEAK_LEN+KEY_LEN)/64);
end crypt_pack;
\ No newline at end of file