Searched refs:field_mul (Results 1 – 6 of 6) sorted by relevance
/external/openssl/crypto/ec/ |
D | ecp_smpl.c | 614 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 622 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 630 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 645 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_add() local 659 field_mul = group->meth->field_mul; in ec_GFp_simple_add() 696 if (!field_mul(group, n1, &a->X, n0, ctx)) goto end; in ec_GFp_simple_add() 699 if (!field_mul(group, n0, n0, &b->Z, ctx)) goto end; in ec_GFp_simple_add() 700 if (!field_mul(group, n2, &a->Y, n0, ctx)) goto end; in ec_GFp_simple_add() 715 if (!field_mul(group, n3, &b->X, n0, ctx)) goto end; in ec_GFp_simple_add() 718 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 | 503 if (!group->meth->field_mul(group, y2, y2, s, ctx)) goto err; in ec_GF2m_simple_add() 555 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GF2m_simple_is_on_curve() local 561 field_mul = group->meth->field_mul; in ec_GF2m_simple_is_on_curve() 585 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; in ec_GF2m_simple_is_on_curve() 587 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
|