1 /* This overwrites dist/src/libsodium/include/sodium/randombytes.h */ 2 3 #include <sys/cprng.h> 4 5 static inline void randombytes_buf(void * const buf,const size_t size)6randombytes_buf(void * const buf, const size_t size) 7 { 8 9 cprng_strong(kern_cprng, buf, size, 0); 10 } 11 12 static inline void randombytes_stir(void)13randombytes_stir(void) 14 { 15 } 16