Mix up to max_bytes of file file into the PRNG seed pool.
Declared in <openssl/rand.h>
int
RAND_load_file(
char const* file,
long max_bytes);
Number of bytes read, or a negative value on error.
| Name | Description |
|---|---|
| file | Path of the seed file to read. |
| max_bytes | Maximum bytes to read, or -1 to read the whole file. |