Simple functions for gathering random data. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | eurephia_randstring (eurephiaCTX *ctx, void *rndstr, size_t len) |
Simple functions for gathering random data.
Definition in file randstr.h.
| int eurephia_randstring | ( | eurephiaCTX * | ctx, | |
| void * | rndstr, | |||
| size_t | len | |||
| ) |
Generate some random data and return a string. This function makes use of OpenSSL's RAND_pseudo_bytes() function.
| ctx | eurephiaCTX | |
| rndstr | Return buffer of the random data | |
| len | Size of the return buffer |
< Alias for LOG_FATAL
< Operation failed and cannot continue. Log level always < 2
< Alias for LOG_FATAL
< Operation failed and cannot continue. Log level always < 2
Definition at line 54 of file randstr.c.
Here is the caller graph for this function:
1.7.1