fe25519_add.c 246 B

12345678910
  1. #include "fe25519.h"
  2. void fe25519_add(fe25519 *r, const fe25519 *x, const fe25519 *y)
  3. {
  4. r->v[0] = x->v[0] + y->v[0];
  5. r->v[1] = x->v[1] + y->v[1];
  6. r->v[2] = x->v[2] + y->v[2];
  7. r->v[3] = x->v[3] + y->v[3];
  8. r->v[4] = x->v[4] + y->v[4];
  9. }