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.c579 if (!group->meth->field_mul(group, x, point->X, Z_2, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
588 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
599 if (!group->meth->field_mul(group, y, point->Y, Z_3, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates()
615 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, in ossl_ec_GFp_simple_add() local
630 field_mul = group->meth->field_mul; in ossl_ec_GFp_simple_add()
668 if (!field_mul(group, n1, a->X, n0, ctx)) in ossl_ec_GFp_simple_add()
672 if (!field_mul(group, n0, n0, b->Z, ctx)) in ossl_ec_GFp_simple_add()
674 if (!field_mul(group, n2, a->Y, n0, ctx)) in ossl_ec_GFp_simple_add()
690 if (!field_mul(group, n3, b->X, n0, ctx)) in ossl_ec_GFp_simple_add()
694 if (!field_mul(group, n0, n0, a->Z, ctx)) in ossl_ec_GFp_simple_add()
[all …]
H A Dec2_smpl.c451 if (!group->meth->field_mul(group, y2, y2, s, ctx)) in ossl_ec_GF2m_simple_add()
511 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, in ossl_ec_GF2m_simple_is_on_curve() local
521 field_mul = group->meth->field_mul; in ossl_ec_GF2m_simple_is_on_curve()
550 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
554 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
739 || !group->meth->field_mul(group, s->X, p->X, s->Z, ctx)) in ec_GF2m_simple_ladder_pre()
756 || !group->meth->field_mul(group, r->Z, r->Z, r->Y, ctx) in ec_GF2m_simple_ladder_pre()
757 || !group->meth->field_mul(group, r->X, r->X, r->Y, ctx)) in ec_GF2m_simple_ladder_pre()
775 if (!group->meth->field_mul(group, r->Y, r->Z, s->X, ctx) in ec_GF2m_simple_ladder_step()
776 || !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.c31 if (group->meth->field_inv == NULL || group->meth->field_mul == NULL) in group_field_tests()
47 || !TEST_true(group->meth->field_mul(group, c, a, b, ctx)) in group_field_tests()
/freebsd/crypto/openssl/
H A DCHANGES.md13651 An internal 'field_div' method (similar to 'field_mul' and