|
SHA-2 Workbench
1.0
|
Straightforward implementation of the transformation round. More...
Libraries | |
| shacomps | |
| Basic SHA components library. | |
| components | |
| Basic integrated circuits components library. | |
Components | |
| Transf_round_comb | <Entity Transf_round_comb> |
| Combinatorial part of the transformation round. | |
Signals | |
| reg_input | std_logic_vector ( 8 * WORD_WIDTH downto 0 ) := ( others = > ' 0 ' ) |
| Output of the multiplexer, and input of the compressor pipeline register. | |
| reg_output | std_logic_vector ( 8 * WORD_WIDTH downto 0 ) := ( others = > ' 0 ' ) |
| Output of the compressor pipeline register. | |
| feedback | std_logic_vector ( 8 * WORD_WIDTH downto 0 ) := ( others = > ' 0 ' ) |
| Internal output signal, to be used as feedback input. | |
Instantiations | |
| pipeline_reg | reg <Entity reg> |
| Output value of the accumulator \(H\). | |
| compression | Transf_round_comb <Entity Transf_round_comb> |
| Compression function. | |
Aliases | |
| valid_reg | is reg_output ( 8 * WORD_WIDTH ) |
| Flag of validity for the register. | |
| a_hash | is reg_output ( 8 * WORD_WIDTH - 1 downto 7 * WORD_WIDTH ) |
| Value of the accumulator \(A\) input to the compressor round. | |
| b_hash | is reg_output ( 7 * WORD_WIDTH - 1 downto 6 * WORD_WIDTH ) |
| Value of the accumulator \(B\) input to the compressor round. | |
| c_hash | is reg_output ( 6 * WORD_WIDTH - 1 downto 5 * WORD_WIDTH ) |
| Value of the accumulator \(C\) input to the compressor round. | |
| d_hash | is reg_output ( 5 * WORD_WIDTH - 1 downto 4 * WORD_WIDTH ) |
| Value of the accumulator \(D\) input to the compressor round. | |
| e_hash | is reg_output ( 4 * WORD_WIDTH - 1 downto 3 * WORD_WIDTH ) |
| Value of the accumulator \(E\) input to the compressor round. | |
| f_hash | is reg_output ( 3 * WORD_WIDTH - 1 downto 2 * WORD_WIDTH ) |
| Value of the accumulator \(F\) input to the compressor round. | |
| g_hash | is reg_output ( 2 * WORD_WIDTH - 1 downto WORD_WIDTH ) |
| Value of the accumulator \(G\) input to the compressor round. | |
| h_hash | is reg_output ( WORD_WIDTH - 1 downto 0 ) |
| Value of the accumulator \(H\) input to the compressor round. | |
| a_feedback | is feedback ( 8 * WORD_WIDTH - 1 downto 7 * WORD_WIDTH ) |
| Value of the accumulator \(A\) output from the compressor round. | |
| b_feedback | is feedback ( 7 * WORD_WIDTH - 1 downto 6 * WORD_WIDTH ) |
| Value of the accumulator \(B\) output from the compressor round. | |
| c_feedback | is feedback ( 6 * WORD_WIDTH - 1 downto 5 * WORD_WIDTH ) |
| Value of the accumulator \(C\) output from the compressor round. | |
| d_feedback | is feedback ( 5 * WORD_WIDTH - 1 downto 4 * WORD_WIDTH ) |
| Value of the accumulator \(D\) output from the compressor round. | |
| e_feedback | is feedback ( 4 * WORD_WIDTH - 1 downto 3 * WORD_WIDTH ) |
| Value of the accumulator \(E\) output from the compressor round. | |
| f_feedback | is feedback ( 3 * WORD_WIDTH - 1 downto 2 * WORD_WIDTH ) |
| Value of the accumulator \(F\) output from the compressor round. | |
| g_feedback | is feedback ( 2 * WORD_WIDTH - 1 downto WORD_WIDTH ) |
| Value of the accumulator \(G\) output from the compressor round. | |
| h_feedback | is feedback ( WORD_WIDTH - 1 downto 0 ) |
| Value of the accumulator \(H\) output from the compressor round. | |
| valid_out | is output ( 8 * WORD_WIDTH ) |
| Flag of validity for the output register. | |
| a_out | is output ( 8 * WORD_WIDTH - 1 downto 7 * WORD_WIDTH ) |
| Value of the accumulator \(A\) output from the stage. | |
| b_out | is output ( 7 * WORD_WIDTH - 1 downto 6 * WORD_WIDTH ) |
| Value of the accumulator \(B\) output from the stage. | |
| c_out | is output ( 6 * WORD_WIDTH - 1 downto 5 * WORD_WIDTH ) |
| Value of the accumulator \(C\) output from the stage. | |
| d_out | is output ( 5 * WORD_WIDTH - 1 downto 4 * WORD_WIDTH ) |
| Value of the accumulator \(D\) output from the stage. | |
| e_out | is output ( 4 * WORD_WIDTH - 1 downto 3 * WORD_WIDTH ) |
| Value of the accumulator \(E\) output from the stage. | |
| f_out | is output ( 3 * WORD_WIDTH - 1 downto 2 * WORD_WIDTH ) |
| Value of the accumulator \(F\) output from the stage. | |
| g_out | is output ( 2 * WORD_WIDTH - 1 downto WORD_WIDTH ) |
| Value of the accumulator \(G\) output from the stage. | |
| h_out | is output ( WORD_WIDTH - 1 downto 0 ) |
| Value of the accumulator \(H\) output from the stage. | |
Straightforward implementation of the transformation round.
In this implementation, the pipeline register is placed before all the combinatorial part, which is packed within the Transf_round_comb component.
Designs focused only on the combinatorial part can be implemented as an architecture for the Transf_round_comb component and exploit this architecture for the Transf_round. Such implementations require FIX_TIME set to false.
|
Alias |
Value of the accumulator \(A\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(A\) input to the compressor round.
|
Alias |
Value of the accumulator \(A\) output from the stage.
|
Alias |
Value of the accumulator \(B\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(B\) input to the compressor round.
|
Alias |
Value of the accumulator \(B\) output from the stage.
|
Alias |
Value of the accumulator \(C\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(C\) input to the compressor round.
|
Alias |
Value of the accumulator \(C\) output from the stage.
|
Library |
Basic integrated circuits components library.
|
Instantiation |
Compression function.
|
Alias |
Value of the accumulator \(D\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(D\) input to the compressor round.
|
Alias |
Value of the accumulator \(D\) output from the stage.
|
Alias |
Value of the accumulator \(E\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(E\) input to the compressor round.
|
Alias |
Value of the accumulator \(E\) output from the stage.
|
Alias |
Value of the accumulator \(F\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(F\) input to the compressor round.
|
Alias |
Value of the accumulator \(F\) output from the stage.
|
Signal |
Internal output signal, to be used as feedback input.
|
Alias |
Value of the accumulator \(G\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(G\) input to the compressor round.
|
Alias |
Value of the accumulator \(G\) output from the stage.
|
Alias |
Value of the accumulator \(H\) output from the compressor round.
This temporary signal is employed to perform the feedback
|
Alias |
Value of the accumulator \(H\) input to the compressor round.
|
Alias |
Value of the accumulator \(H\) output from the stage.
|
Instantiation |
Output value of the accumulator \(H\).
Pipeline register of the compressor pipeline
It works also as working register
|
Signal |
Output of the multiplexer, and input of the compressor pipeline register.
|
Signal |
Output of the compressor pipeline register.
|
Library |
Basic SHA components library.
|
Component |
Combinatorial part of the transformation round.
|
Alias |
Flag of validity for the output register.
|
Alias |
Flag of validity for the register.