Module to manage dynamically allocated memory used by nrf_crypto APIs.
More...
Module to manage dynamically allocated memory used by nrf_crypto APIs.
Function to allocate memory for use by the nrf_crypto API.
- Parameters
-
[in] | size | Length in bytes to allocate |
[in,out] | p_result | Pointer to value length structure to hold information about the allocated memory. |
- Return values
-
NRF_SUCCESS | The memory was allocated successfully. |
Any | other error code reported by the memory manager. |
Function to free memory to use by nrf_crypto API.
- Parameters
-
[in] | p_mem | Pointer to value length structure holding information about allocated memory to free |
- Return values
-
NRF_SUCCESS | The memory was freed successfully. |
Any | other error code reported by the memory manager. |
uint32_t nrf_crypto_mem_init |
( |
void |
| ) |
|
Function to initialize the nrf_crypto memory module.
- Return values
-
NRF_SUCCESS | The nrf_crypto memory manager initialized successfully. |
Any | other error code reported by the memory manager. |