/external/openssl/crypto/ec/ |
D | ecp_smpl.c | 615 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 623 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 631 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 646 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_add() local 660 field_mul = group->meth->field_mul; in ec_GFp_simple_add() 697 if (!field_mul(group, n1, &a->X, n0, ctx)) goto end; in ec_GFp_simple_add() 700 if (!field_mul(group, n0, n0, &b->Z, ctx)) goto end; in ec_GFp_simple_add() 701 if (!field_mul(group, n2, &a->Y, n0, ctx)) goto end; in ec_GFp_simple_add() 716 if (!field_mul(group, n3, &b->X, n0, ctx)) goto end; in ec_GFp_simple_add() 719 if (!field_mul(group, n0, n0, &a->Z, ctx)) goto end; in ec_GFp_simple_add() [all …]
|
D | ec2_mult.c | 96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble() 99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble() 128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err; in gf2m_Madd() 129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err; in gf2m_Madd() 130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err; in gf2m_Madd() 133 if (!group->meth->field_mul(group, x1, z1, t1, ctx)) goto err; in gf2m_Madd() 181 if (!group->meth->field_mul(group, t3, z1, z2, ctx)) goto err; in gf2m_Mxy() 183 if (!group->meth->field_mul(group, z1, z1, x, ctx)) goto err; in gf2m_Mxy() 185 if (!group->meth->field_mul(group, z2, z2, x, ctx)) goto err; in gf2m_Mxy() 186 if (!group->meth->field_mul(group, x1, z2, x1, ctx)) goto err; in gf2m_Mxy() [all …]
|
D | ec2_smpl.c | 504 if (!group->meth->field_mul(group, y2, y2, s, ctx)) goto err; in ec_GF2m_simple_add() 556 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GF2m_simple_is_on_curve() local 562 field_mul = group->meth->field_mul; in ec_GF2m_simple_is_on_curve() 586 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; in ec_GF2m_simple_is_on_curve() 588 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; in ec_GF2m_simple_is_on_curve()
|
D | ecp_oct.c | 107 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates() 132 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates()
|
D | ec2_oct.c | 142 if (!group->meth->field_mul(group, y, x, z, ctx)) goto err; in ec_GF2m_simple_set_compressed_coordinates()
|
D | ec_lcl.h | 172 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *); member
|
/external/chromium_org/third_party/boringssl/src/crypto/ec/ |
D | simple.c | 580 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) in ec_GFp_simple_point_get_affine_coordinates() 587 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) in ec_GFp_simple_point_get_affine_coordinates() 596 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) in ec_GFp_simple_point_get_affine_coordinates() 612 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, in ec_GFp_simple_add() local 627 field_mul = group->meth->field_mul; in ec_GFp_simple_add() 664 if (!field_mul(group, n1, &a->X, n0, ctx)) in ec_GFp_simple_add() 668 if (!field_mul(group, n0, n0, &b->Z, ctx)) in ec_GFp_simple_add() 670 if (!field_mul(group, n2, &a->Y, n0, ctx)) in ec_GFp_simple_add() 686 if (!field_mul(group, n3, &b->X, n0, ctx)) in ec_GFp_simple_add() 690 if (!field_mul(group, n0, n0, &a->Z, ctx)) in ec_GFp_simple_add() [all …]
|
D | oct.c | 374 !group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) { in ec_GFp_simple_set_compressed_coordinates() 399 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
|
D | internal.h | 176 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, member
|