Lines Matching refs:fe25519_sub
82 #define fe25519_sub crypto_sign_ed25519_ref_fe25519_sub
116 static void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y);
291 fe25519_sub(r, r, &t);
301 static void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y)
1674 fe25519_sub(&a, &r->y, &r->x); /* A = (Y1-X1)*(Y2-X2) */
1676 fe25519_sub(&t1, &q->y, &q->x);
1680 fe25519_sub(&e, &b, &a); /* E = B-A */
1685 fe25519_sub(&f, &d, &c); /* F = D-C */
1697 fe25519_sub(&a, &p->y, &p->x); /* A = (Y1-X1)*(Y2-X2) */
1698 fe25519_sub(&t, &q->y, &q->x);
1707 fe25519_sub(&r->x, &b, &a); /* E = B-A */
1708 fe25519_sub(&r->t, &d, &c); /* F = D-C */
1725 fe25519_sub(&r->x, &r->x, &a);
1726 fe25519_sub(&r->x, &r->x, &b);
1728 fe25519_sub(&r->t, &r->z, &c);
1729 fe25519_sub(&r->y, &d, &b);
1792 fe25519_sub(&num, &num, &r->z); /* x = y^2-1 */