Lines Matching refs:fe_sub
168 static void fe_sub(fe_loose *h, const fe *f, const fe *g) { in fe_sub() function
429 fe_sub(&v, &v3, &h->Z); // u = y^2-1 in x25519_ge_frombytes_vartime()
445 fe_sub(&check, &vxx, &u); in x25519_ge_frombytes_vartime()
480 fe_sub(&r->YminusX, &p->Y, &p->X); in x25519_ge_p3_to_cached()
512 fe_sub(&r->Z, &trZ, &trX); in ge_p2_dbl()
514 fe_sub(&r->X, &t0, &trZ); in ge_p2_dbl()
516 fe_sub(&r->T, &trT, &trZ); in ge_p2_dbl()
531 fe_sub(&r->Y, &p->Y, &p->X); in ge_madd()
536 fe_sub(&r->X, &trZ, &trY); in ge_madd()
540 fe_sub(&r->T, &trZ, &trT); in ge_madd()
548 fe_sub(&r->Y, &p->Y, &p->X); in ge_msub()
553 fe_sub(&r->X, &trZ, &trY); in ge_msub()
556 fe_sub(&r->Z, &trZ, &trT); in ge_msub()
565 fe_sub(&r->Y, &p->Y, &p->X); in x25519_ge_add()
571 fe_sub(&r->X, &trZ, &trY); in x25519_ge_add()
575 fe_sub(&r->T, &trZ, &trT); in x25519_ge_add()
583 fe_sub(&r->Y, &p->Y, &p->X); in x25519_ge_sub()
589 fe_sub(&r->X, &trZ, &trY); in x25519_ge_sub()
592 fe_sub(&r->Z, &trZ, &trT); in x25519_ge_sub()
1280 fe_sub(&tmp0l, &x3, &z3); in x25519_scalar_mult_generic()
1281 fe_sub(&tmp1l, &x2, &z2); in x25519_scalar_mult_generic()
1289 fe_sub(&z2l, &z3, &z2); in x25519_scalar_mult_generic()
1291 fe_sub(&tmp1l, &tmp1, &tmp0); in x25519_scalar_mult_generic()