summaryrefslogtreecommitdiff
path: root/implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-26 14:36:07 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-26 15:44:53 +0100
commit1804b12b968585d4d1adc0e9f39903b9d943c670 (patch)
treeaf7291cfaf074f2f2adc1fca40c895b48998a039 /implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd
parent94cd233460e4b52521702f4431eab4f68a4f410c (diff)
downloadlilliput-ae-implem-1804b12b968585d4d1adc0e9f39903b9d943c670.tar.xz
[implem-vhdl] Ajout des sources de Gaëtan
Diffstat (limited to 'implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd')
-rw-r--r--implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd17
1 files changed, 17 insertions, 0 deletions
diff --git a/implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd b/implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd
new file mode 100644
index 0000000..30aff46
--- /dev/null
+++ b/implementations/vhdl/Decrypt/lilliputtbcii192v1/const_pack.vhd
@@ -0,0 +1,17 @@
+library IEEE;
+library work;
+use IEEE.STD_LOGIC_1164.ALL;
+
+
+package const_pack is
+ constant ROUND_NB : integer;
+ constant TWEAK_LEN : integer;
+ constant KEY_LEN : integer;
+end const_pack;
+
+
+package body const_pack is
+ constant ROUND_NB : integer := 36;
+ constant TWEAK_LEN : integer := 128;
+ constant KEY_LEN : integer := 192;
+end const_pack; \ No newline at end of file