Module esp32s2::sha

source ·
Expand description

SHA (Secure Hash Algorithm) Accelerator

Modules

Indicates if SHA Accelerator is busy or not
Continues SHA operation (only effective in Typical SHA mode)
Version control register
Block number register (only effective for DMA-SHA)
Continues SHA operation (only effective in DMA-SHA mode)
Starts the SHA accelerator for DMA-SHA operation
Hash value
DMA-SHA interrupt clear register
DMA-SHA interrupt enable register
Message
Defines the algorithm of SHA accelerator
Starts the SHA accelerator for Typical SHA operation
String length register for calculating initial Hash Value (only effective for SHA-512/t)
String content register for calculating initial Hash Value (only effective for SHA-512/t)

Structs

Register block

Type Definitions

BUSY (r) register accessor: an alias for Reg<BUSY_SPEC>
CONTINUE_ (w) register accessor: an alias for Reg<CONTINUE__SPEC>
DATE (rw) register accessor: an alias for Reg<DATE_SPEC>
DMA_BLOCK_NUM (rw) register accessor: an alias for Reg<DMA_BLOCK_NUM_SPEC>
DMA_CONTINUE (w) register accessor: an alias for Reg<DMA_CONTINUE_SPEC>
DMA_START (w) register accessor: an alias for Reg<DMA_START_SPEC>
H_MEM (rw) register accessor: an alias for Reg<H_MEM_SPEC>
INT_CLEAR (w) register accessor: an alias for Reg<INT_CLEAR_SPEC>
INT_ENA (rw) register accessor: an alias for Reg<INT_ENA_SPEC>
MODE (rw) register accessor: an alias for Reg<MODE_SPEC>
M_MEM (rw) register accessor: an alias for Reg<M_MEM_SPEC>
START (w) register accessor: an alias for Reg<START_SPEC>
T_LENGTH (rw) register accessor: an alias for Reg<T_LENGTH_SPEC>
T_STRING (rw) register accessor: an alias for Reg<T_STRING_SPEC>