ESP-IDF
ot::Random::Manager
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Random::Manager
ot::Random::Manager class
Manages random number generator initialization/deinitialization.
Syntax
Show:
Summary
Declaration
from
random.hpp:54
class
Manager
:
private
NonCopyable
{
public
:
Manager
(
void
)
;
~
Manager
(
void
)
;
static
uint32_t
NonCryptoGetUint32
(
void
)
;
#if
!
OPENTHREAD_RADIO
static
Error
CryptoFillBuffer
(
uint8_t
*
aBuffer
,
uint16_t
aSize
)
{
return
otPlatCryptoRandomGet
(
aBuffer
,
aSize
)
;
}
#endif
private
:
class
NonCryptoPrng
{
public
:
void
Init
(
uint32_t
aSeed
)
;
uint32_t
GetNext
(
void
)
;
private
:
uint32_t
mState
;
}
;
static
uint16_t
sInitCount
;
static
NonCryptoPrng
sPrng
;
}
;
Fields
Field
ot::Random::Manager::sInitCount
ot::Random::Manager::sPrng
Methods
NonCryptoGetUint32()
Generates and returns a random value using a non-crypto Pseudo Random Number Generator.
CryptoFillBuffer()
Fills a given buffer with cryptographically secure random bytes.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out