|
void | SHA2StartDMAOperation (uint8_t *channel0Addr, uint32_t channel0Length, uint8_t *channel1Addr, uint32_t channel1Length) |
| Start a crypto DMA operation. More...
|
|
uint32_t | SHA2WaitForIRQFlags (uint32_t irqFlags) |
| Poll the interrupt status register and clear when done. More...
|
|
uint32_t | SHA2ComputeInitialHash (const uint8_t *message, uint32_t *intermediateDigest, uint32_t hashAlgorithm, uint32_t initialMessageLength) |
| Start a new SHA-2 hash operation. More...
|
|
uint32_t | SHA2ComputeIntermediateHash (const uint8_t *message, uint32_t *intermediateDigest, uint32_t hashAlgorithm, uint32_t intermediateMessageLength) |
| Resume a SHA-2 hash operation but do not finalize it. More...
|
|
uint32_t | SHA2ComputeFinalHash (const uint8_t *message, uint8_t *resultDigest, uint32_t *intermediateDigest, uint32_t totalMsgLength, uint32_t messageLength, uint32_t hashAlgorithm) |
| Resume a SHA-2 hash operation and finalize it. More...
|
|
uint32_t | SHA2ComputeHash (const uint8_t *message, uint8_t *resultDigest, uint32_t totalMsgLength, uint32_t hashAlgorithm) |
| Start a SHA-2 hash operation and return the finalized digest. More...
|
|
static void | SHA2SelectAlgorithm (uint32_t algorithm) |
| Configure the crypto DMA for a particular operation. More...
|
|
static void | SHA2SetMessageLength (uint32_t length) |
| Specify the total length of the message. More...
|
|
static void | SHA2SetDigest (uint32_t *digest, uint8_t digestLength) |
| Load an intermediate digest. More...
|
|
static uint32_t | SHA2GetDigest (uint32_t *digest, uint8_t digestLength) |
| Read the intermediate or final digest. More...
|
|
static void | SHA2ClearDigestAvailableFlag (void) |
| Confirm digest was read. More...
|
|
static void | SHA2IntEnable (uint32_t intFlags) |
| Enable individual crypto interrupt sources. More...
|
|
static void | SHA2IntDisable (uint32_t intFlags) |
| Disable individual crypto interrupt sources. More...
|
|
static uint32_t | SHA2IntStatusMasked (void) |
| Get the current masked interrupt status. More...
|
|
static uint32_t | SHA2IntStatusRaw (void) |
| Get the current raw interrupt status. More...
|
|
static void | SHA2IntClear (uint32_t intFlags) |
| Clear crypto interrupt sources. More...
|
|
static void | SHA2IntRegister (void(*handlerFxn)(void)) |
| Register an interrupt handler for a crypto interrupt in the dynamic interrupt table. More...
|
|
static void | SHA2IntUnregister (void) |
| Unregister an interrupt handler for a crypto interrupt in the dynamic interrupt table. More...
|
|