pub unsafe extern "C" fn otPlatCryptoRandomGet(
    aBuffer: *mut u8,
    aSize: u16
) -> otError
Expand description

Fills a given buffer with cryptographically secure random bytes.

@param[out] aBuffer A pointer to a buffer to fill with the random bytes. @param[in] aSize Size of buffer (number of bytes to fill).

@retval OT_ERROR_NONE Successfully filled buffer with random values. @retval OT_ERROR_FAILED Operation failed.