mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
add amd64-{51-30k,64-24k} from SUPERCOP, now use autoconf
This commit is contained in:
7
ed25519/amd64-51-30k/sc25519_from64bytes.c
Normal file
7
ed25519/amd64-51-30k/sc25519_from64bytes.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "sc25519.h"
|
||||
|
||||
void sc25519_from64bytes(sc25519 *r, const unsigned char x[64])
|
||||
{
|
||||
/* assuming little-endian representation of unsigned long long */
|
||||
sc25519_barrett(r, (unsigned long long *)x);
|
||||
}
|
||||
Reference in New Issue
Block a user