mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-15 14:32:46 +00:00
properly add files
This commit is contained in:
parent
76325bdaa6
commit
3ea7ec8a8c
32 changed files with 8858 additions and 0 deletions
14
ed25519/ed25519-donna/ed25519-randombytes-custom.h
Normal file
14
ed25519/ed25519-donna/ed25519-randombytes-custom.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
a custom randombytes must implement:
|
||||
|
||||
void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len);
|
||||
|
||||
ed25519_randombytes_unsafe is used by the batch verification function
|
||||
to create random scalars
|
||||
*/
|
||||
#include <sodium/randombytes.h>
|
||||
|
||||
void ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len)
|
||||
{
|
||||
randombytes(p,len);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue