ot::Crypto::MbedTls::CryptoSecurePrng() method
Fills a given buffer with cryptographically secure random bytes.
Arguments
aContext
A pointer to arbitrary context.
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::Crypto::MbedTls::CryptoSecurePrng() calls 2 functions:
![]()
ot::Crypto::MbedTls::CryptoSecurePrng()
ot::Crypto::MbedTls::CryptoSecurePrng() writes 4 variables:
![]()
ot::Crypto::MbedTls::CryptoSecurePrng()