Data Fields
_hmac_handle Struct Reference
Peripheral Driver » HAL Driver » HMAC » Structures » HMAC handle

HMAC handle Structure definition. More...

`#include <gr55xx_hal_hmac.h>`

## Data Fields
hmac_regs_t * | p_instance
hmac_init_t | init
uint32_t * | p_message
uint32_t * | p_digest
uint32_t | block_size
uint32_t | block_count
uint32_t | is_last_trans
__IO hal_lock_t | lock
__IO hal_hmac_state_t | state
__IO uint32_t | error_code
uint32_t | timeout
uint32_t | retention [17]

## Detailed Description

HMAC handle Structure definition.

## Field Documentation

## ◆ block_count

uint32_t _hmac_handle::block_count

Blocks count

## ◆ block_size

uint32_t _hmac_handle::block_size

Data size in blocks (64 bytes per block)

## ◆ error_code

__IO uint32_t _hmac_handle::error_code

HMAC Error code

## ◆ init

hmac_init_t _hmac_handle::init

HMAC operation parameters

## ◆ is_last_trans

uint32_t _hmac_handle::is_last_trans

Flag for last transfer

## ◆ lock

__IO hal_lock_t _hmac_handle::lock

Locking object

## ◆ p_digest

uint32_t* _hmac_handle::p_digest

Pointer to digest output buffer

## ◆ p_instance

hmac_regs_t* _hmac_handle::p_instance

HMAC registers base address

## ◆ p_message

uint32_t* _hmac_handle::p_message

Pointer to message input buffer

## ◆ retention

uint32_t _hmac_handle::retention[17]

HMAC important register information.

## ◆ state

__IO hal_hmac_state_t _hmac_handle::state

HMAC operation state

## ◆ timeout

uint32_t _hmac_handle::timeout

Timeout for the HMAC operation

The documentation for this struct was generated from the following file:

- gr55xx_hal_hmac.h