Entropy#

This module includes the platform abstraction for entropy generation.

Functions#

otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength)

Fill buffer with entropy.

Function Documentation#

otPlatEntropyGet#

otError otPlatEntropyGet (uint8_t * aOutput, uint16_t aOutputLength)

Fill buffer with entropy.

Parameters
[out]aOutput

A pointer to where the true random values are placed. Must not be NULL.

[in]aOutputLength

Size of aBuffer.

MUST be implemented using a true random number generator (TRNG).


Definition at line 67 of file include/openthread/platform/entropy.h