Stay organized with collections
Save and categorize content based on your preferences.
Entropy
This module includes the platform abstraction for entropy generation.
Summary
Functions
|
otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength)
|
Fill buffer with entropy.
|
Functions
otPlatEntropyGet
otError otPlatEntropyGet(
uint8_t *aOutput,
uint16_t aOutputLength
)
Fill buffer with entropy.
MUST be implemented using a true random number generator (TRNG).
Details |
Parameters |
[out] aOutput
|
A pointer to where the true random values are placed. Must not be NULL.
|
[in] aOutputLength
|
Size of aBuffer .
|
|
Return Values |
OT_ERROR_NONE
|
Successfully filled aBuffer with true random values.
|
OT_ERROR_FAILED
|
Failed to fill aBuffer with true random values.
|
OT_ERROR_INVALID_ARGS
|
aBuffer was set to NULL.
|
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
Last updated 2024-01-02 UTC.
[null,null,["Last updated 2024-01-02 UTC."],[],[],null,[]]