TRNG¶
TRNG API Reference¶
Functions¶
-
OSStatus
BkRandomNumberRead
(void *inBuffer, int inByteCount)¶ Fill in a memory buffer with random data.
- Return
kNoErr : on success.
kGeneralErr : if an error occurred with any step
- Parameters
inBuffer
: : Point to a valid memory buffer, this function will fill in this memory with random numbers after executedinByteCount
: : Length of the memory buffer (bytes)