SHA-2 Workbench
1.0
|
Combinatorial part of the transformation round block. More...
Entities | |
Naive | architecture |
Straightforward architecture of the combinatorial part of the transformation round block. More... | |
Unrolled | architecture |
Unrolled architecture of the combinatorial part of the transformation round More... | |
Libraries | |
ieee | |
Standard library. |
Use Clauses | |
std_logic_1164 | |
Standard 9-values logic library. | |
numeric_std | |
Arithmetic library, included for the unsigned modulo addition. |
Generics | |
WORD_WIDTH | natural := 32 |
Width of the words of the Compressor. | |
UNROLLING_FACTOR | natural := 1 |
Number of SHA-256 steps performed by a single round. |
Ports | |
a_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(A\). | |
b_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(B\). | |
c_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(C\). | |
d_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(D\). | |
e_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(E\). | |
f_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(F\). | |
g_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(G\). | |
h_in | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Input value of the accumulator \(H\). | |
K | in std_logic_vector ( ( UNROLLING_FACTOR * WORD_WIDTH ) - 1 downto 0 ) |
Constant \(K\) words. | |
W | in std_logic_vector ( ( UNROLLING_FACTOR * WORD_WIDTH ) - 1 downto 0 ) |
Expanded message words. | |
a_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(A\). | |
b_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(B\). | |
c_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(C\). | |
d_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(D\). | |
e_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(E\). | |
f_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(F\). | |
g_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(G\). | |
h_out | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
Output value of the accumulator \(H\). |
Combinatorial part of the transformation round block.
|
Port |
Input value of the accumulator \(A\).
|
Port |
Output value of the accumulator \(A\).
|
Port |
Input value of the accumulator \(B\).
|
Port |
Output value of the accumulator \(B\).
|
Port |
Input value of the accumulator \(C\).
|
Port |
Output value of the accumulator \(C\).
|
Port |
Input value of the accumulator \(D\).
|
Port |
Output value of the accumulator \(D\).
|
Port |
Input value of the accumulator \(E\).
|
Port |
Output value of the accumulator \(E\).
|
Port |
Input value of the accumulator \(F\).
|
Port |
Output value of the accumulator \(F\).
|
Port |
Input value of the accumulator \(G\).
|
Port |
Output value of the accumulator \(G\).
|
Port |
Input value of the accumulator \(H\).
|
Port |
Output value of the accumulator \(H\).
|
Library |
Standard library.
|
Port |
Constant \(K\) words.
|
Package |
Arithmetic library, included for the unsigned modulo addition.
|
Package |
Standard 9-values logic library.
|
Generic |
Number of SHA-256 steps performed by a single round.
|
Port |
Expanded message words.
|
Generic |
Width of the words of the Compressor.