summaryrefslogtreecommitdiff
path: root/src/add_vhdltbc/encryptdecrypt/i-128/const_pack.vhd
blob: 259ef3cb458ff526afdc6320f9c82903fa881fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- Implementation of the Lilliput-TBC tweakable block cipher by the
-- Lilliput-AE team, hereby denoted as "the implementer".
--
-- For more information, feedback or questions, refer to our website:
-- https://paclido.fr/lilliput-ae
--
-- To the extent possible under law, the implementer has waived all copyright
-- and related or neighboring rights to the source code in this file.
-- http://creativecommons.org/publicdomain/zero/1.0/

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 := 32; 
    constant TWEAK_LEN : integer := 192; 
    constant KEY_LEN : integer := 128; 
end const_pack;