sca-ip-hdl
structural Architecture Reference

Components

sbox0  <Entity sbox0>
sbox  <Entity sbox>

Constants

masks  masking_words := ( x " F000 " , x " 0F00 " , x " 00F0 " , x " 000F " )
rcs  round_constants := ( " 0001 " , " 0010 " , " 0100 " , " 1000 " , " 0011 " , " 0110 " , " 1100 " , " 1011 " , " 0101 " , " 1010 " , " 0111 " , " 1110 " , " 1111 " , " 0000 " , " 0000 " , " 0000 " )

Types

masking_words ( 0 to 3 ) std_logic_vector ( 15 downto 0 )
round_constants ( 0 to 15 ) std_logic_vector ( 3 downto 0 )

Signals

T_tmp  std_logic_vector ( 15 downto 0 )
T  std_logic_vector ( 15 downto 0 )
T0  std_logic_vector ( 15 downto 0 )
T1  std_logic_vector ( 15 downto 0 )
T2  std_logic_vector ( 15 downto 0 )
T3  std_logic_vector ( 15 downto 0 )
rotated  std_logic_vector ( k- 1 downto 0 )
swapped  std_logic_vector ( k- 1 downto 0 )
shifted  std_logic_vector ( keysize- 1 downto 0 )

Instantiations

sx  sbox0 <Entity sbox0>
sx  sbox <Entity sbox>
sb  sbox <Entity sbox>
sb1  sbox <Entity sbox>
sb2  sbox <Entity sbox>