mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-31 20:02:14 +00:00
add amd64-{51-30k,64-24k} from SUPERCOP, now use autoconf
This commit is contained in:
parent
ad9c6592ed
commit
81cebae449
162 changed files with 79451 additions and 277 deletions
8
ed25519/amd64-64-24k/sc25519_to32bytes.c
Normal file
8
ed25519/amd64-64-24k/sc25519_to32bytes.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include "sc25519.h"
|
||||
|
||||
void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
|
||||
{
|
||||
/* assuming little-endian */
|
||||
int i;
|
||||
for(i=0;i<32;i++) r[i] = i[(unsigned char *)x->v];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue