Lines Matching refs:fe25519_sub
87 fe25519_sub(&a, &r->y, &r->x); /* A = (Y1-X1)*(Y2-X2) */ in ge25519_mixadd2()
89 fe25519_sub(&t1, &q->y, &q->x); in ge25519_mixadd2()
93 fe25519_sub(&e, &b, &a); /* E = B-A */ in ge25519_mixadd2()
98 fe25519_sub(&f, &d, &c); /* F = D-C */ in ge25519_mixadd2()
110 fe25519_sub(&a, &p->y, &p->x); /* A = (Y1-X1)*(Y2-X2) */ in add_p1p1()
111 fe25519_sub(&t, &q->y, &q->x); in add_p1p1()
120 fe25519_sub(&r->x, &b, &a); /* E = B-A */ in add_p1p1()
121 fe25519_sub(&r->t, &d, &c); /* F = D-C */ in add_p1p1()
138 fe25519_sub(&r->x, &r->x, &a); in dbl_p1p1()
139 fe25519_sub(&r->x, &r->x, &b); in dbl_p1p1()
141 fe25519_sub(&r->t, &r->z, &c); in dbl_p1p1()
142 fe25519_sub(&r->y, &d, &b); in dbl_p1p1()
205 fe25519_sub(&num, &num, &r->z); /* x = y^2-1 */ in ge25519_unpackneg_vartime()