KCAPI_RNG_GENERATE(3) | Programming Interface | KCAPI_RNG_GENERATE(3) |
kcapi_rng_generate - generate a random number
ssize_t kcapi_rng_generate(struct kcapi_handle * handle, uint8_t * buffer, size_t len);
handle
buffer
len
return size of random number generated upon success; -EIO - data cannot be obtained
Stephan Mueller <smueller@chronox.de>
February 2022 | libkcapi Manual 1.4.0 |