ot::Random::Crypto::FillBuffer() function
Fills a given buffer with cryptographically secure random bytes.
Arguments
aBuffer
A pointer to a buffer to fill with the random bytes.
aSize
Size of buffer (number of bytes to fill).
Return value
kErrorNone Successfully filled buffer with random values.
ot::Random::Crypto::FillBuffer() is called by 6 functions and calls 1 function:
![]()
ot::Random::Crypto::FillBuffer()
ot::Random::Crypto::FillBuffer():
![]()
ot::Random::Crypto::FillBuffer()