Home
last modified time | relevance | path

Searched refs:z1z1 (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/crypto/
Dp224.cc436 FieldElement z1z1, z2z2, u1, u2, s1, s2, h, i, j, r, v; in AddJacobian() local
442 Square(&z1z1, a.z); in AddJacobian()
451 Mul(&u2, b.x, z1z1); in AddJacobian()
458 Mul(&s2, a.z, z1z1); in AddJacobian()
496 Add(&z1z1, z1z1, z2z2); in AddJacobian()
500 Subtract(&out->z, z2z2, z1z1); in AddJacobian()
506 z1z1[k] = v[k] << 1; in AddJacobian()
508 Add(&z1z1, j, z1z1); in AddJacobian()
509 Reduce(&z1z1); in AddJacobian()
511 Subtract(&out->x, out->x, z1z1); in AddJacobian()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_montgomery.c233 EC_FELEM z1z1; in ec_GFp_mont_add() local
234 ec_GFp_mont_felem_sqr(group, &z1z1, &a->Z); in ec_GFp_mont_add()
248 ec_felem_sub(group, &two_z1z2, &two_z1z2, &z1z1); in ec_GFp_mont_add()
258 ec_GFp_mont_felem_mul(group, &u2, &b->X, &z1z1); in ec_GFp_mont_add()
271 ec_GFp_mont_felem_mul(group, &z1z1z1, &a->Z, &z1z1); in ec_GFp_mont_add()
/external/boringssl/src/third_party/fiat/
Dp256.c270 fe z1z1; fe_sqr(z1z1, z1); in point_add() local
283 fe_sub(two_z1z2, two_z1z2, z1z1); in point_add()
301 fe u2; fe_mul(u2, x2, z1z1); in point_add()
312 fe z1z1z1; fe_mul(z1z1z1, z1, z1z1); in point_add()