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:
10
ed25519/amd64-51-30k/fe25519_add.c
Normal file
10
ed25519/amd64-51-30k/fe25519_add.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "fe25519.h"
|
||||
|
||||
void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y)
|
||||
{
|
||||
r->v[0] = x->v[0] + y->v[0];
|
||||
r->v[1] = x->v[1] + y->v[1];
|
||||
r->v[2] = x->v[2] + y->v[2];
|
||||
r->v[3] = x->v[3] + y->v[3];
|
||||
r->v[4] = x->v[4] + y->v[4];
|
||||
}
|
||||
Reference in New Issue
Block a user