Software APIs
hmac_context Struct Reference

Stored SHA256 operation state. More...

#include <sw/device/silicon_creator/lib/drivers/hmac.h>

Data Fields

uint32_t msg_len_upper
 
uint32_t msg_len_lower
 
uint32_t digest [kHmacDigestNumWords]
 

Detailed Description

Stored SHA256 operation state.

Does not store the configuration of the block, so it is important that configuration parameters such as digest endianness match up when the operation is restarted.

Definition at line 56 of file hmac.h.

Field Documentation

◆ digest

uint32_t hmac_context::digest[kHmacDigestNumWords]

Definition at line 59 of file hmac.h.

◆ msg_len_lower

uint32_t hmac_context::msg_len_lower

Definition at line 58 of file hmac.h.

◆ msg_len_upper

uint32_t hmac_context::msg_len_upper

Definition at line 57 of file hmac.h.