Go to the documentation of this file.
64 #ifdef HAL_HMAC_MODULE_ENABLED
123 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
app_hmac_evt_type_t
HMAC event Enumerations definition.
uint16_t app_hmac_init(app_hmac_params_t *p_params, app_hmac_evt_handler_t evt_handler)
Initialize the APP HMAC DRIVER according to the specified parameters in the app_hmac_params_t and app...
HMAC event structure definition.
HMAC init Structure definition.
hmac_env_t hmac_env
Hmac event structure
uint16_t app_hmac_sha256_async(uint32_t *p_message, uint32_t number, uint32_t *p_digest)
xxx in non-blocking mode in SHA256/HMAC mode.
@ APP_HMAC_TYPE_DMA
DMA operation mode.
hmac_init_t init
Hmac operation parameters
app_hmac_evt_type_t type
Type of event.
@ APP_HMAC_TYPE_POLLING
Polling operation mode.
app_hmac_state_t hmac_state
App hmac state types.
uint16_t app_hmac_user_hash(uint32_t *p_user_hash)
Update p_user_hash parameters.
app_hmac_state_t
App hmac state types.
app_hmac_type_t use_type
Specifies the operation mode of I2C.
uint16_t app_hmac_deinit(void)
De-initialize the APP HMAC DRIVER peripheral.
uint16_t app_hmac_sha256_sync(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout)
xxx in blocking mode in SHA256/HMAC mode.
@ APP_HMAC_EVT_ERROR
Error reported by HMAC peripheral.
hmac_handle_t handle
Hmac handle Structure.
@ APP_HMAC_TYPE_INTERRUPT
Interrupt operation mode.
app_hmac_evt_handler_t evt_handler
Hmac event callback.
@ APP_HMAC_TYPE_MAX
Only for check parameter, not used as input parameters.
hmac_handle_t * app_hmac_get_handle(void)
Return the hmac handle.
This file contains all the functions prototypes for the HAL module driver.
HMAC event structure definition.
HMAC handle Structure definition.
app_hmac_type_t use_type
Specifies the operation mode of I2C.
app_hmac_type_t
HMAC operating mode Enumerations definition.
uint32_t error_code
HMAC Error code.
void(* app_hmac_evt_handler_t)(app_hmac_evt_t *p_evt)
HMAC event callback definition.
@ APP_HMAC_EVT_DONE
HMAC operation completed.
bool start_flag
Hmac start flag.
HMAC parameters structure definition.
Header file of app driver error code.
Header file of app driver config code.