some tweaks
[mkp224o.git] / ed25519 / ed25519-donna / ed25519-randombytes-custom.h
blob1e28aca9d0129e02f0ab443ba58a08deef4f7201
1 /*
2 a custom randombytes must implement:
4 void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len);
6 ed25519_randombytes_unsafe is used by the batch verification function
7 to create random scalars
8 */
9 #include <sodium/randombytes.h>
11 void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len)
13 randombytes(p,len);