Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Random Function APIs. More...
Functions | |
uint32_t | sys_rand32_get (void) |
Return a 32-bit random value that should pass general randomness tests. More... | |
void | sys_rand_get (void *dst, size_t len) |
Fill the destination buffer with random data values that should pass general randomness tests. More... | |
int | sys_csrand_get (void *dst, size_t len) |
Fill the destination buffer with cryptographically secure random data values. More... | |
Random Function APIs.
int sys_csrand_get | ( | void * | dst, |
size_t | len | ||
) |
#include <include/random/rand32.h>
Fill the destination buffer with cryptographically secure random data values.
[out] | dst | destination buffer to fill. |
len | size of the destination buffer. |
#include <include/random/rand32.h>
Return a 32-bit random value that should pass general randomness tests.
#include <include/random/rand32.h>
Fill the destination buffer with random data values that should pass general randomness tests.
[out] | dst | destination buffer to fill with random data. |
len | size of the destination buffer. |