![]() |
nrfxlib API 3.3.99
|
| int nrf_cc3xx_platform_entropy_get | ( | uint8_t * | buffer, |
| size_t | length, | ||
| size_t * | olen ) |
#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_entropy.h>
Function to generate entropy using Arm CryptoCell cc3xx.
This API corresponds to mbedtls_hardware_poll. It provides TRNG using the Arm CryptoCell cc3xx hardware accelerator.
| [out] | buffer | Pointer to buffer to hold the entropy data. |
| [in] | length | Length of the buffer to fill with entropy data. |
| [out] | olen | Pointer to variable that will hold the length of generated entropy. |
| 0 | on success |