Access to the system random number generator. More...
#include "internal.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <fcntl.h>#include <errno.h>Go to the source code of this file.
Functions | |
| void | noise_rand_bytes (void *bytes, size_t size) |
| Gets cryptographically-strong random bytes from the operating system. More... | |
Access to the system random number generator.
This module provides access to the system random number generator for obtaining random data to generate ephemeral keys during a session and static keys for permanent storage.
This module will require modification when porting to new systems.
Definition in file rand_os.c.
| void noise_rand_bytes | ( | void * | bytes, |
| size_t | size | ||
| ) |
1.8.6