Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/ec/
H A Decp_smpl.c580 if (!group->meth->field_mul(group, x, point->X, Z_2, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
589 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
600 if (!group->meth->field_mul(group, y, point->Y, Z_3, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
616 int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, in ossl_ec_GFp_simple_add() local
631 field_mul = group->meth->field_mul; in ossl_ec_GFp_simple_add()
669 if (!field_mul(group, n1, a->X, n0, ctx)) in ossl_ec_GFp_simple_add()
673 if (!field_mul(group, n0, n0, b->Z, ctx)) in ossl_ec_GFp_simple_add()
675 if (!field_mul(group, n2, a->Y, n0, ctx)) in ossl_ec_GFp_simple_add()
691 if (!field_mul(group, n3, b->X, n0, ctx)) in ossl_ec_GFp_simple_add()
695 if (!field_mul(group, n0, n0, a->Z, ctx)) in ossl_ec_GFp_simple_add()
[all …]
H A Dec2_smpl.c453 if (!group->meth->field_mul(group, y2, y2, s, ctx)) in ossl_ec_GF2m_simple_add()
513 int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, in ossl_ec_GF2m_simple_is_on_curve() local
523 field_mul = group->meth->field_mul; in ossl_ec_GF2m_simple_is_on_curve()
552 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
556 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
742 || !group->meth->field_mul(group, s->X, p->X, s->Z, ctx)) in ec_GF2m_simple_ladder_pre()
759 || !group->meth->field_mul(group, r->Z, r->Z, r->Y, ctx) in ec_GF2m_simple_ladder_pre()
760 || !group->meth->field_mul(group, r->X, r->X, r->Y, ctx)) in ec_GF2m_simple_ladder_pre()
779 if (!group->meth->field_mul(group, r->Y, r->Z, s->X, ctx) in ec_GF2m_simple_ladder_step()
780 || !group->meth->field_mul(group, s->X, r->X, s->Z, ctx) in ec_GF2m_simple_ladder_step()
[all …]
H A Decp_oct.c60 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
85 if (!group->meth->field_mul(group, tmp2, group->a, x, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
H A Dec2_oct.c99 if (!group->meth->field_mul(group, y, x, z, ctx)) in ossl_ec_GF2m_simple_set_compressed_coordinates()
H A Dec_local.h147 int (*field_mul) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a, member
/freebsd/crypto/openssl/test/
H A Dec_internal_test.c30 if (group->meth->field_inv == NULL || group->meth->field_mul == NULL) in group_field_tests()
48 || !TEST_true(group->meth->field_mul(group, c, a, b, ctx)) in group_field_tests()
/freebsd/crypto/openssl/
H A DCHANGES.md11853 An internal 'field_div' method (similar to 'field_mul' and