|
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 Expander. | |
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 component computes the function
\[ \sigma_1\left(x\right) = x \ggg_r 7 \oplus x \ggg_r 19 \oplus x \ggg 10 \]
for SHA-256 and
\[ \sigma_1\left(x\right) = x \ggg_r 19 \oplus x \ggg_r 61 \oplus x \ggg 6 \]
for SHA-512.
|
Library |
Standard library.
|
Port |
Output word.
|
Package |
Standard 9-values logic library.
|
Generic |
Width of the words of the Expander.
|
Port |
Input word.