summaryrefslogtreecommitdiff
path: root/ext/ed25519-amd64-asm/sc25519_from_shortsc.c
blob: 3b8ff2fbdeeeaeb25851d57bdcecbad5035ff783 (plain)
1
2
3
4
5
6
7
8
9
#include "sc25519.h"

void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x)
{
  r->v[0] = x->v[0];
  r->v[1] = x->v[1];
  r->v[2] = 0;
  r->v[3] = 0;
}