sc25519_from_shortsc.c 159 B

123456789
  1. #include "sc25519.h"
  2. void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x)
  3. {
  4. r->v[0] = x->v[0];
  5. r->v[1] = x->v[1];
  6. r->v[2] = 0;
  7. r->v[3] = 0;
  8. }