mkp224o/ed25519/amd64-64-24k/randombytes.h
2017-09-27 15:41:59 +03:00

9 lines
166 B
C

#include <sodium/randombytes.h>
static inline int randombytes_wrap(unsigned char *b,size_t l)
{
randombytes(b,l);
return 0;
}
#define randombytes randombytes_wrap