Searched refs:fe_sub (Results 1 – 3 of 3) sorted by relevance
| /freebsd/crypto/krb5/src/plugins/preauth/spake/ |
| H A D | edwards25519.c | 356 static void fe_sub(fe_loose *h, const fe *f, const fe *g) { in fe_sub() function 629 fe_sub(&v, &v3, &h->Z); // u = y^2-1 in x25519_ge_frombytes_vartime() 645 fe_sub(&check, &vxx, &u); in x25519_ge_frombytes_vartime() 700 fe_sub(&r->YminusX, &p->Y, &p->X); in x25519_ge_p3_to_cached() 739 fe_sub(&r->Z, &trZ, &trX); in ge_p2_dbl() 741 fe_sub(&r->X, &t0, &trZ); in ge_p2_dbl() 743 fe_sub(&r->T, &trT, &trZ); in ge_p2_dbl() 760 fe_sub(&r->Y, &p->Y, &p->X); in ge_madd() 765 fe_sub(&r->X, &trZ, &trY); in ge_madd() 769 fe_sub(&r->T, &trZ, &trT); in ge_madd() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | curve25519.c | 1066 static void fe_sub(fe h, const fe f, const fe g) in fe_sub() function 2011 fe_sub(u, u, h->Z); /* u = y^2-1 */ in ge_frombytes_vartime() 2021 fe_sub(check, vxx, u); /* vx^2-u */ in ge_frombytes_vartime() 2077 fe_sub(r->YminusX, p->Y, p->X); in ge_p3_to_cached() 2110 fe_sub(r->Z, r->Z, r->X); in ge_p2_dbl() 2111 fe_sub(r->X, t0, r->Y); in ge_p2_dbl() 2112 fe_sub(r->T, r->T, r->Z); in ge_p2_dbl() 2129 fe_sub(r->Y, p->Y, p->X); in ge_madd() 2134 fe_sub(r->X, r->Z, r->Y); in ge_madd() 2137 fe_sub(r->T, t0, r->T); in ge_madd() [all …]
|
| /freebsd/contrib/wireguard-tools/ |
| H A D | curve25519-fiat32.h | 303 static __always_inline void fe_sub(fe_loose *h, const fe *f, const fe *g) in fe_sub() function 822 fe_sub(&tmp0l, &x3, &z3); in curve25519_generic() 823 fe_sub(&tmp1l, &x2, &z2); in curve25519_generic() 831 fe_sub(&z2l, &z3, &z2); in curve25519_generic() 833 fe_sub(&tmp1l, &tmp1, &tmp0); in curve25519_generic()
|