diff options
author | Billy Brumley <bbrumley@gmail.com> | 2018-04-24 16:01:53 +0300 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-05-09 13:30:38 +0200 |
commit | a7b0b69c6e9fa172aeb1ac0ede5ef306315dd80c (patch) | |
tree | c7dbd34582c307c5f893d42d3d34ce43fc078516 /crypto/ec/ec2_smpl.c | |
parent | fe2d3975880e6a89702f18ec58881307bf862542 (diff) |
ECC: unify generic ec2 and ecp scalar multiplication, deprecate ec2_mult.c
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6070)
Diffstat (limited to 'crypto/ec/ec2_smpl.c')
-rw-r--r-- | crypto/ec/ec2_smpl.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/crypto/ec/ec2_smpl.c b/crypto/ec/ec2_smpl.c index 6bd5f9d841..b73805a21e 100644 --- a/crypto/ec/ec2_smpl.c +++ b/crypto/ec/ec2_smpl.c @@ -47,14 +47,9 @@ const EC_METHOD *EC_GF2m_simple_method(void) ec_GF2m_simple_cmp, ec_GF2m_simple_make_affine, ec_GF2m_simple_points_make_affine, - - /* - * the following three method functions are defined in ec2_mult.c - */ - ec_GF2m_simple_mul, - ec_GF2m_precompute_mult, - ec_GF2m_have_precompute_mult, - + 0 /* mul */, + 0 /* precompute_mul */, + 0 /* have_precompute_mul */, ec_GF2m_simple_field_mul, ec_GF2m_simple_field_sqr, ec_GF2m_simple_field_div, |