Home
last modified time | relevance | path

Searched refs:field_mul (Results 1 – 6 of 6) sorted by relevance

/external/openssl/crypto/ec/
Decp_smpl.c614 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 …]
Dec2_mult.c96 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 …]
Dec2_smpl.c503 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()
Decp_oct.c107 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()
Dec2_oct.c142 if (!group->meth->field_mul(group, y, x, z, ctx)) goto err; in ec_GF2m_simple_set_compressed_coordinates()
Dec_lcl.h172 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *); member