Lines Matching refs:fe_add
229 static void fe_add(fe h, const fe f, const fe g) { in fe_add() function
997 fe_add(v, v, h->Z); /* v = dy^2+1 */ in x25519_ge_frombytes_vartime()
1013 fe_add(check, vxx, u); /* vx^2+u */ in x25519_ge_frombytes_vartime()
1066 fe_add(r->YplusX, p->Y, p->X); in x25519_ge_p3_to_cached()
1101 fe_add(r->Y, p->X, p->Y); in ge_p2_dbl()
1103 fe_add(r->Y, r->Z, r->X); in ge_p2_dbl()
1120 fe_add(r->X, p->Y, p->X); in ge_madd()
1125 fe_add(t0, p->Z, p->Z); in ge_madd()
1127 fe_add(r->Y, r->Z, r->Y); in ge_madd()
1128 fe_add(r->Z, t0, r->T); in ge_madd()
1136 fe_add(r->X, p->Y, p->X); in ge_msub()
1141 fe_add(t0, p->Z, p->Z); in ge_msub()
1143 fe_add(r->Y, r->Z, r->Y); in ge_msub()
1145 fe_add(r->T, t0, r->T); in ge_msub()
1152 fe_add(r->X, p->Y, p->X); in x25519_ge_add()
1158 fe_add(t0, r->X, r->X); in x25519_ge_add()
1160 fe_add(r->Y, r->Z, r->Y); in x25519_ge_add()
1161 fe_add(r->Z, t0, r->T); in x25519_ge_add()
1169 fe_add(r->X, p->Y, p->X); in x25519_ge_sub()
1175 fe_add(t0, r->X, r->X); in x25519_ge_sub()
1177 fe_add(r->Y, r->Z, r->Y); in x25519_ge_sub()
1179 fe_add(r->T, t0, r->T); in x25519_ge_sub()
1212 fe_add(out->yplusx, y, x); in x25519_ge_scalarmult_small_precomp()
4824 fe_add(x2, x2, z2); in x25519_scalar_mult_generic()
4825 fe_add(z2, x3, z3); in x25519_scalar_mult_generic()
4830 fe_add(x3, z3, z2); in x25519_scalar_mult_generic()
4837 fe_add(tmp0, tmp0, z3); in x25519_scalar_mult_generic()
4931 fe_add(zplusy, A.Z, A.Y); in X25519_public_from_private()