mkp224o/ed25519/amd64-51-30k/fe25519_setint.c

11 lines
149 B
C
Raw Normal View History

#include "fe25519.h"
void fe25519_setint(fe25519 *r, unsigned int v)
{
r->v[0] = v;
r->v[1] = 0;
r->v[2] = 0;
r->v[3] = 0;
r->v[4] = 0;
}