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
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t * | [out] | aOutput | A pointer to where the true random values are placed. Must not be NULL. |
uint16_t | [in] | aOutputLength | Size of |
MUST be implemented using a true random number generator (TRNG).