|
Zephyr Project API
3.2.0
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/zephyr/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. |
| uint32_t sys_rand32_get | ( | void | ) |
#include <include/zephyr/random/rand32.h>
Return a 32-bit random value that should pass general randomness tests.
| void sys_rand_get | ( | void * | dst, |
| size_t | len | ||
| ) |
#include <include/zephyr/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. |