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§

Type Aliases§

  • BUSY (r) register accessor: Indicates if SHA Accelerator is busy or not
  • CONTINUE (w) register accessor: Continues SHA operation (only effective in Typical SHA mode)
  • DATE (rw) register accessor: Version control register
  • DMA_BLOCK_NUM (rw) register accessor: Block number register (only effective for DMA-SHA)
  • DMA_CONTINUE (w) register accessor: Continues SHA operation (only effective in DMA-SHA mode)
  • DMA_START (w) register accessor: Starts the SHA accelerator for DMA-SHA operation
  • H_MEM (rw) register accessor: Hash value
  • INT_CLEAR (w) register accessor: DMA-SHA interrupt clear register
  • INT_ENA (rw) register accessor: DMA-SHA interrupt enable register
  • MODE (rw) register accessor: Defines the algorithm of SHA accelerator
  • M_MEM (rw) register accessor: Message
  • START (w) register accessor: Starts the SHA accelerator for Typical SHA operation
  • T_LENGTH (rw) register accessor: String length register for calculating initial Hash Value (only effective for SHA-512/t)
  • T_STRING (rw) register accessor: String content register for calculating initial Hash Value (only effective for SHA-512/t)