diff options
Diffstat (limited to 'src/util_rt.h')
-rw-r--r-- | src/util_rt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util_rt.h b/src/util_rt.h index 2531f80..9878064 100644 --- a/src/util_rt.h +++ b/src/util_rt.h @@ -72,3 +72,6 @@ void prne_free_stdin_base64_rf_ctx (prne_stdin_base64_rf_ctx_t *ctx); prne_pack_ret_t prne_stdin_base64_rf (void *ctx, const size_t req, uint8_t *out, size_t *out_len); bool prne_set_pipe_size (const int fd, const int size); + +// getrandom polyfill +ssize_t prne_geturandom (void *buf, const size_t len); |