nrfxlib API 2.8.99
|
psa_status_t cc3xx_get_entropy | ( | uint32_t | flags, |
size_t * | estimate_bits, | ||
uint8_t * | output, | ||
size_t | output_size ) |
Encrypt and authenticate with an AEAD algorithm in one-shot.
[in] | flags | Flags to be passed to the TRNG source |
[out] | estimate_bits | Estimation of the obtained entropy in bits |
[out] | output | Collected entropy from the TRNG source |
[in] | output_size | Size of the output buffer |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |