Software APIs
Data Fields
hmac_ctx Struct Reference

A context struct maintained for streaming operations. More...

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

Data Fields

uint32_t cfg_reg
 
uint32_t key [kHmacMaxBlockWords]
 
size_t key_wordlen
 
size_t msg_block_bytelen
 
size_t digest_wordlen
 
uint32_t H [kHmacMaxDigestWords]
 
uint32_t lower
 
uint32_t upper
 
uint32_t hw_started
 
uint8_t partial_block [kHmacMaxBlockBytes]
 
size_t partial_block_len
 

Detailed Description

A context struct maintained for streaming operations.

Definition at line 57 of file hmac.h.

Field Documentation

◆ cfg_reg

uint32_t hmac_ctx::cfg_reg

Definition at line 59 of file hmac.h.

◆ digest_wordlen

size_t hmac_ctx::digest_wordlen

Definition at line 66 of file hmac.h.

◆ H

uint32_t hmac_ctx::H[kHmacMaxDigestWords]

Definition at line 68 of file hmac.h.

◆ hw_started

uint32_t hmac_ctx::hw_started

Definition at line 73 of file hmac.h.

◆ key

uint32_t hmac_ctx::key[kHmacMaxBlockWords]

Definition at line 61 of file hmac.h.

◆ key_wordlen

size_t hmac_ctx::key_wordlen

Definition at line 63 of file hmac.h.

◆ lower

uint32_t hmac_ctx::lower

Definition at line 69 of file hmac.h.

◆ msg_block_bytelen

size_t hmac_ctx::msg_block_bytelen

Definition at line 65 of file hmac.h.

◆ partial_block

uint8_t hmac_ctx::partial_block[kHmacMaxBlockBytes]

Definition at line 74 of file hmac.h.

◆ partial_block_len

size_t hmac_ctx::partial_block_len

Definition at line 76 of file hmac.h.

◆ upper

uint32_t hmac_ctx::upper

Definition at line 70 of file hmac.h.