RNG Cryptographic

This module includes functions that generates cryptographic random numbers.

Summary

Functions

otRandomCryptoFillBuffer(uint8_t *aBuffer, uint16_t aSize)
Fills a given buffer with cryptographically secure random bytes.

Functions

otRandomCryptoFillBuffer

otError otRandomCryptoFillBuffer(
  uint8_t *aBuffer,
  uint16_t aSize
)

Fills a given buffer with cryptographically secure random bytes.

Details
Parameters
[out] aBuffer
A pointer to a buffer to fill with the random bytes.
[in] aSize
Size of buffer (number of bytes to fill).

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.