Searched refs:field_sqr (Results 1 – 6 of 6) sorted by relevance
/external/openssl/crypto/ec/ |
D | ecp_smpl.c | 604 if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 646 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_add() local 660 field_sqr = group->meth->field_sqr; in ec_GFp_simple_add() 695 if (!field_sqr(group, n0, &b->Z, ctx)) goto end; in ec_GFp_simple_add() 714 if (!field_sqr(group, n0, &a->Z, ctx)) goto end; in ec_GFp_simple_add() 774 if (!field_sqr(group, n0, n6, ctx)) goto end; in ec_GFp_simple_add() 775 if (!field_sqr(group, n4, n5, ctx)) goto end; in ec_GFp_simple_add() 810 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_dbl() local 824 field_sqr = group->meth->field_sqr; in ec_GFp_simple_dbl() 849 if (!field_sqr(group, n0, &a->X, ctx)) goto err; in ec_GFp_simple_dbl() [all …]
|
D | ec2_mult.c | 94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble() 95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble() 97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble() 98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble() 132 if (!group->meth->field_sqr(group, z1, z1, ctx)) goto err; in gf2m_Madd() 190 if (!group->meth->field_sqr(group, t4, x, ctx)) goto err; in gf2m_Mxy() 251 if (!group->meth->field_sqr(group, z2, x1, ctx)) goto err; /* z2 = x1^2 = x^2 */ in ec_GF2m_montgomery_point_multiply() 252 if (!group->meth->field_sqr(group, x2, z2, ctx)) goto err; in ec_GF2m_montgomery_point_multiply()
|
D | ec2_smpl.c | 481 if (!group->meth->field_sqr(group, x2, s, ctx)) goto err; in ec_GF2m_simple_add() 497 if (!group->meth->field_sqr(group, x2, s, ctx)) goto err; in ec_GF2m_simple_add() 556 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GF2m_simple_is_on_curve() local 562 field_sqr = group->meth->field_sqr; in ec_GF2m_simple_is_on_curve() 589 if (!field_sqr(group, y2, &point->Y, ctx)) goto err; in ec_GF2m_simple_is_on_curve()
|
D | ec2_oct.c | 124 if (!group->meth->field_sqr(group, tmp, x, ctx)) goto err; in ec_GF2m_simple_set_compressed_coordinates()
|
D | ecp_oct.c | 106 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates()
|
D | ec_lcl.h | 173 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); member
|