Functions | |
uint16_t | app_aes_init (app_aes_params_t *p_params, app_aes_evt_handler_t evt_handler) |
Initialize the APP AES DRIVER according to the specified parameters in the app_aes_params_t and app_aes_evt_handler_t. More... | |
uint16_t | app_aes_deinit (void) |
De-initialize the APP AES DRIVER peripheral. More... | |
uint16_t | app_aes_encrypt_sync (uint32_t *p_plain_data, uint32_t number, uint32_t *p_cypher_data, uint32_t timeout) |
Encrypted an amount of data in blocking mode. More... | |
uint16_t | app_aes_decrypt_sync (uint32_t *p_cypher_data, uint32_t number, uint32_t *p_plain_data, uint32_t timeout) |
Decrypted an amount of data in blocking mode. More... | |
uint16_t | app_aes_encrypt_async (uint32_t *p_plain_data, uint32_t number, uint32_t *p_cypher_data) |
Encrypted an amount of data in non-blocking mode. More... | |
uint16_t | app_aes_decrypt_async (uint32_t *p_cypher_data, uint32_t number, uint32_t *p_plain_data) |
Decrypted an amount of data in non-blocking mode. More... | |
aes_handle_t * | app_aes_get_handle (void) |
Return the AES handle. More... | |
uint16_t app_aes_decrypt_async | ( | uint32_t * | p_cypher_data, |
uint32_t | number, | ||
uint32_t * | p_plain_data | ||
) |
Decrypted an amount of data in non-blocking mode.
[in] | p_cypher_data | Pointer to cypher data buffer. |
[in] | number | Amount of data to be decrypted in bytes |
[out] | p_plain_data | Pointer to plain data buffer |
uint16_t app_aes_decrypt_sync | ( | uint32_t * | p_cypher_data, |
uint32_t | number, | ||
uint32_t * | p_plain_data, | ||
uint32_t | timeout | ||
) |
Decrypted an amount of data in blocking mode.
[in] | p_cypher_data | Pointer to cypher data buffer. |
[in] | number | Amount of data to be decrypted in bytes |
[out] | p_plain_data | Pointer to plain data buffer |
[in] | timeout | Timeout duration |
uint16_t app_aes_deinit | ( | void | ) |
De-initialize the APP AES DRIVER peripheral.
uint16_t app_aes_encrypt_async | ( | uint32_t * | p_plain_data, |
uint32_t | number, | ||
uint32_t * | p_cypher_data | ||
) |
Encrypted an amount of data in non-blocking mode.
[in] | p_cypher_data | Pointer to cypher data buffer. |
[in] | number | Amount of data to be decrypted in bytes |
[out] | p_plain_data | Pointer to plain data buffer |
uint16_t app_aes_encrypt_sync | ( | uint32_t * | p_plain_data, |
uint32_t | number, | ||
uint32_t * | p_cypher_data, | ||
uint32_t | timeout | ||
) |
Encrypted an amount of data in blocking mode.
[in] | p_plain_data | Pointer to plain data buffer. |
[in] | number | Amount of data to be Encrypted in bytes |
[out] | p_cypher_data | Pointer to cypher data buffer |
[in] | timeout | Timeout duration |
aes_handle_t* app_aes_get_handle | ( | void | ) |
Return the AES handle.
uint16_t app_aes_init | ( | app_aes_params_t * | p_params, |
app_aes_evt_handler_t | evt_handler | ||
) |
Initialize the APP AES DRIVER according to the specified parameters in the app_aes_params_t and app_aes_evt_handler_t.
[in] | p_params | Pointer to app_aes_params_t parameter which contains the configuration information for the specified AES module. |
[in] | evt_handler | AES user callback function. |