Home
last modified time | relevance | path

Searched refs:fe_sub (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/third_party/fiat/
Dp256.c73 #define fe_sub fiat_p256_sub macro
219 fe_sub(ftmp, x_in, delta); in point_double()
231 fe_sub(x_out, x_out, tmptmp); in point_double()
237 fe_sub(z_out, z_out, delta); in point_double()
240 fe_sub(y_out, fourbeta, x_out); in point_double()
245 fe_sub(y_out, y_out, gamma); in point_double()
283 fe_sub(two_z1z2, two_z1z2, z1z1); in point_add()
284 fe_sub(two_z1z2, two_z1z2, z2z2); in point_add()
304 fe h; fe_sub(h, u2, u1); in point_add()
319 fe_sub(r, s2, s1); in point_add()
[all …]
Dcurve25519.c212 static void fe_sub(fe_loose *h, const fe *f, const fe *g) { in fe_sub() function
522 fe_sub(&v, &v3, &h->Z); // u = y^2-1 in x25519_ge_frombytes_vartime()
538 fe_sub(&check, &vxx, &u); in x25519_ge_frombytes_vartime()
593 fe_sub(&r->YminusX, &p->Y, &p->X); in x25519_ge_p3_to_cached()
632 fe_sub(&r->Z, &trZ, &trX); in ge_p2_dbl()
634 fe_sub(&r->X, &t0, &trZ); in ge_p2_dbl()
636 fe_sub(&r->T, &trT, &trZ); in ge_p2_dbl()
651 fe_sub(&r->Y, &p->Y, &p->X); in ge_madd()
656 fe_sub(&r->X, &trZ, &trY); in ge_madd()
660 fe_sub(&r->T, &trZ, &trT); in ge_madd()
[all …]