Software APIs
Data Fields
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 41 of file hmac.h.

Field Documentation

◆ digest

uint32_t hmac_context::digest[kHmacDigestNumWords]

Definition at line 44 of file hmac.h.

◆ msg_len_lower

uint32_t hmac_context::msg_len_lower

Definition at line 43 of file hmac.h.

◆ msg_len_upper

uint32_t hmac_context::msg_len_upper

Definition at line 42 of file hmac.h.