2 #ifndef randombytes_sysrandom_H
3 #define randombytes_sysrandom_H
6 * THREAD SAFETY: randombytes_sysrandom() functions are thread-safe,
7 * provided that you called sodium_init() once before using any
8 * other libsodium function.
21 extern struct randombytes_implementation randombytes_sysrandom_implementation
;
24 const char *randombytes_sysrandom_implementation_name(void);
27 uint32_t randombytes_sysrandom(void);
30 void randombytes_sysrandom_stir(void);
33 uint32_t randombytes_sysrandom_uniform(const uint32_t upper_bound
);
36 void randombytes_sysrandom_buf(void * const buf
, const size_t size
);
39 int randombytes_sysrandom_close(void);