|
SHA-2 Workbench
1.0
|
\(\Sigma_1\) function block More...
Entities | |
| RTL | architecture |
| Architecture of the \(\Sigma_1\) function block. More... | |
Libraries | |
| ieee | |
| Standard library. | |
Use Clauses | |
| std_logic_1164 | |
| Standard 9-values logic library. | |
Generics | |
| WORD_WIDTH | natural := 32 |
| Width of the words of the Compressor. | |
Ports | |
| x | in std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
| Input word. | |
| o | out std_logic_vector ( WORD_WIDTH - 1 downto 0 ) |
| Output word. | |
\(\Sigma_1\) function block
This function block computes the function
\[ \Sigma_1\left(x\right) = x \ggg_r 6 \oplus x \ggg_r 11 \oplus x \ggg_r 25 \]
for SHA-256 and
\[ \Sigma_1\left(x\right) = x \ggg_r 14 \oplus x \ggg_r 18 \oplus x \ggg_r 41 \]
for SHA-512.
|
Library |
Standard library.
|
Port |
Output word.
|
Package |
Standard 9-values logic library.
|
Generic |
Width of the words of the Compressor.
|
Port |
Input word.