summaryrefslogtreecommitdiff
path: root/src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-26 15:20:53 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-03-26 15:44:53 +0100
commitd522f00fa80c91da25aff834f446c285e4654e7b (patch)
tree2a59d03ecb22c3d09a8ac2c438adc7aa464ad33d /src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd
parentec7e5a5fca16bc8e16ca6ba4734f4ba1f1612cff (diff)
downloadlilliput-ae-implem-d522f00fa80c91da25aff834f446c285e4654e7b.tar.xz
[implem-vhdl] Déplacement dans SOUMISSION_NIST
Diffstat (limited to 'src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd')
-rw-r--r--src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd b/src/add_vhdltbc/encryptdecrypt/i-256/const_pack.vhd
new file mode 100644
index 0000000..1159b08
--- /dev/null
+++ b/src/add_vhdltbc/encryptdecrypt/i-256/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 := 42;
+ constant TWEAK_LEN : integer := 192;
+ constant KEY_LEN : integer := 256;
+end const_pack; \ No newline at end of file