nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ cc3xx_get_entropy()

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.

Parameters
[in]flagsFlags to be passed to the TRNG source
[out]estimate_bitsEstimation of the obtained entropy in bits
[out]outputCollected entropy from the TRNG source
[in]output_sizeSize of the output buffer
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure