SmartSnippets DA1459x SDK
Data Fields
hw_hash_config_t Struct Reference

HASH engine configuration structure. More...

#include <hw_hash.h>

Data Fields

HW_HASH_TYPE type: 3
 
bool wait_more_input
 
uint32_t input_data_len
 
uint32_t output_data_len
 
uint32_t input_data_addr
 
uint32_t output_data_addr
 
hw_aes_hash_cb callback
 

Detailed Description

HASH engine configuration structure.

There are some restrictions in terms of the acceptable values of the data_len with regards to Input Data Mode (wait_more_input) indicated by the next table:

wait_more_input = true wait_more_input = false
multiple of 8 no restrictions

Moreover, there are restrictions with regards to the maximum length of the output data. Please refer to enumerator HW_HASH_OUTPUT_LENGTH_MAX for more information.

See also
HW_HASH_TYPE
HW_HASH_OUTPUT_LENGTH_MAX
hw_aes_hash_cb

Field Documentation

◆ callback

hw_aes_hash_cb hw_hash_config_t::callback

HASH callback function

◆ input_data_addr

uint32_t hw_hash_config_t::input_data_addr

HASH input data address

◆ input_data_len

uint32_t hw_hash_config_t::input_data_len

Number of input bytes to be processed

◆ output_data_addr

uint32_t hw_hash_config_t::output_data_addr

HASH output data address

◆ output_data_len

uint32_t hw_hash_config_t::output_data_len

HASH output length

◆ type

HW_HASH_TYPE hw_hash_config_t::type

HASH type

◆ wait_more_input

bool hw_hash_config_t::wait_more_input

HASH input data mode


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