Searched refs:z2z2 (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/crypto/ |
D | p224.cc | 436 FieldElement z1z1, z2z2, u1, u2, s1, s2, h, i, j, r, v; in AddJacobian() local 445 Square(&z2z2, b.z); in AddJacobian() 448 Mul(&u1, a.x, z2z2); in AddJacobian() 454 Mul(&s1, b.z, z2z2); in AddJacobian() 496 Add(&z1z1, z1z1, z2z2); in AddJacobian() 497 Add(&z2z2, a.z, b.z); in AddJacobian() 498 Reduce(&z2z2); in AddJacobian() 499 Square(&z2z2, z2z2); in AddJacobian() 500 Subtract(&out->z, z2z2, z1z1); in AddJacobian()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_montgomery.c | 237 EC_FELEM z2z2; in ec_GFp_mont_add() local 238 ec_GFp_mont_felem_sqr(group, &z2z2, &b->Z); in ec_GFp_mont_add() 242 ec_GFp_mont_felem_mul(group, &u1, &a->X, &z2z2); in ec_GFp_mont_add() 249 ec_felem_sub(group, &two_z1z2, &two_z1z2, &z2z2); in ec_GFp_mont_add() 253 ec_GFp_mont_felem_mul(group, &s1, &b->Z, &z2z2); in ec_GFp_mont_add()
|
/external/boringssl/src/third_party/fiat/ |
D | p256.c | 275 fe z2z2; fe_sqr(z2z2, z2); in point_add() local 278 fe_mul(u1, x1, z2z2); in point_add() 284 fe_sub(two_z1z2, two_z1z2, z2z2); in point_add() 287 fe_mul(s1, z2, z2z2); in point_add()
|