Write a seed file containing entropy from the CSPRNG for later RAND_load_file() use.
Declared in <openssl/rand.h>
int
RAND_write_file(char const* file);
Number of bytes written, or -1 on failure.
| Name | Description |
|---|---|
| file | Path of the seed file to create or overwrite. |