summaryrefslogtreecommitdiff
path: root/src/add_vhdltbc/encrypt/ii-256/const_pack.vhd
blob: 73c2d68e1758d1e82571dba8231562fd140ab913 (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 := 42; 
    constant TWEAK_LEN : integer := 128;
    constant KEY_LEN : integer := 256;
end const_pack;