RNG Cryptographic#
This module includes functions that generates cryptographic random numbers.
Functions#
otRandomCryptoFillBuffer(uint8_t *aBuffer, uint16_t aSize)
This function fills a given buffer with cryptographically secure random bytes.
Function Documentation#
otRandomCryptoFillBuffer#
otError otRandomCryptoFillBuffer (uint8_t * aBuffer, uint16_t aSize)
This function fills a given buffer with cryptographically secure random bytes.
Parameters
[out] | aBuffer | A pointer to a buffer to fill with the random bytes. |
[in] | aSize | Size of buffer (number of bytes to fill). |
Definition at line
64
of file include/openthread/random_crypto.h