mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-15 06:22:46 +00:00
amd64-{51-30k,64-24k} impls should work now
This commit is contained in:
parent
59f318aa64
commit
966cf38205
16 changed files with 135 additions and 66 deletions
|
@ -1,3 +1,8 @@
|
|||
#include <sodium/randombytes.h>
|
||||
#define randombytes(b,n) \
|
||||
(randombytes(b,n), 0)
|
||||
|
||||
static inline int randombytes_wrap(unsigned char *b,size_t l)
|
||||
{
|
||||
randombytes(b,l);
|
||||
return 0;
|
||||
}
|
||||
#define randombytes randombytes_wrap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue