Home
last modified time | relevance | path

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

/openbsd/lib/libcrypto/curve25519/
H A Dcurve25519.c1126 fe_add(t0, p->Z, p->Z); in ge_madd()
1129 fe_add(r->Z, t0, r->T); in ge_madd()
1142 fe_add(t0, p->Z, p->Z); in ge_msub()
1146 fe_add(r->T, t0, r->T); in ge_msub()
1159 fe_add(t0, r->X, r->X); in x25519_ge_add()
1162 fe_add(r->Z, t0, r->T); in x25519_ge_add()
1176 fe_add(t0, r->X, r->X); in x25519_ge_sub()
1180 fe_add(r->T, t0, r->T); in x25519_ge_sub()
4847 fe_add(x2, x2, z2); in x25519_scalar_mult_generic()
4848 fe_add(z2, x3, z3); in x25519_scalar_mult_generic()
[all …]
/openbsd/sys/crypto/
H A Dcurve25519.c294 static __always_inline void fe_add(fe_loose *h, const fe *f, const fe *g) in fe_add() function
854 fe_add(&x2l, &x2, &z2); in curve25519()
855 fe_add(&z2l, &x3, &z3); in curve25519()
860 fe_add(&x3l, &z3, &z2); in curve25519()
867 fe_add(&tmp0l, &tmp0, &z3); in curve25519()