![]() |
nrfxlib API 3.3.99
|
| int nrf_cc3xx_platform_ctr_drbg_get | ( | nrf_cc3xx_platform_ctr_drbg_context_t *const | context, |
| uint8_t * | buffer, | ||
| size_t | length, | ||
| size_t * | olen ) |
#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_ctr_drbg.h>
Function to get PRNG data using ctr_drbg.
This function calculates random numbers using PRNG seeded by TRNG as defined in NIST SP 800-90A: Recommendation for Random Number Generation Using Deterministic Random Bit Generators. The random numbers are generated using Arm CryptoCell cc3xx hardware acceleration.
| [in,out] | context | Pointer to structure holding the ctr_drbg context. |
| [in] | buffer | Pointer to buffer to hold PRNG data. |
| [in] | length | Length of PRNG to get. |
| [out] | olen | Length reported out. |