Go to the documentation of this file.
57 #ifdef ENV_USE_FREERTOS
66 #ifdef HAL_HMAC_MODULE_ENABLED
173 uint16_t
app_sha256_sync(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout);
187 uint16_t
app_sha256_async(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout);
226 #ifdef ENV_RTOS_USE_SEMP
239 uint16_t app_sha256_sem_sync(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout);
app_hmac_evt_type_t
HMAC event Enumerations definition.
Definition: app_hmac.h:87
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.
Definition: app_hmac.h:109
HMAC init Structure definition.
Definition: gr55xx_hal_hmac.h:103
uint16_t app_sha256_sync(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout)
xxx in blocking mode in SHA256 mode.
@ APP_HMAC_TYPE_DMA
Definition: app_hmac.h:79
uint16_t app_hmac_sha256_async(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout)
xxx in non-blocking mode in HMAC mode.
hmac_init_t init
Definition: app_hmac.h:102
app_hmac_evt_type_t type
Definition: app_hmac.h:110
@ APP_HMAC_TYPE_POLLING
Definition: app_hmac.h:78
uint16_t app_hmac_user_hash(uint32_t *p_user_hash)
Update p_user_hash parameters.
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 HMAC mode.
@ APP_HMAC_EVT_ERROR
Definition: app_hmac.h:88
@ APP_HMAC_TYPE_INTERRUPT
Definition: app_hmac.h:77
@ APP_HMAC_TYPE_MAX
Definition: app_hmac.h:80
hmac_handle_t * app_hmac_get_handle(void)
Return the hmac handle.
HMAC handle Structure definition.
Definition: gr55xx_hal_hmac.h:130
app_hmac_type_t use_type
Definition: app_hmac.h:101
This file contains all the functions prototypes for the HAL module driver.
app_hmac_type_t
HMAC operating mode Enumerations definition.
Definition: app_hmac.h:76
uint32_t error_code
Definition: app_hmac.h:111
@ APP_HMAC_EVT_DONE
Definition: app_hmac.h:89
HMAC parameters structure definition.
Definition: app_hmac.h:100
uint16_t app_sha256_async(uint32_t *p_message, uint32_t number, uint32_t *p_digest, uint32_t timeout)
xxx in non-blocking mode with interrupt in SHA256 mode.
Header file of app rtos config code.
Header file of app driver error code.
void(* app_hmac_evt_handler_t)(app_hmac_evt_t *p_evt)
HMAC event callback definition.
Definition: app_hmac.h:117