diff options
author | Patrick Steuer <patrick.steuer@de.ibm.com> | 2019-07-11 10:23:49 +0200 |
---|---|---|
committer | Patrick Steuer <patrick.steuer@de.ibm.com> | 2019-08-15 16:27:38 +0200 |
commit | 9bf682f62bd819d2fbceb95eeabd61dd4532240f (patch) | |
tree | 9fe1f02acf6bd7c821842c9d4f155b8a39899f2a /crypto/ec/ecp_nistp256.c | |
parent | 1461e66706f24da657d7322706d1165ae515533f (diff) |
Enable curve-spefific ECDSA implementations via EC_METHOD
which are already enabled for ECDH.
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9348)
Diffstat (limited to 'crypto/ec/ecp_nistp256.c')
-rw-r--r-- | crypto/ec/ecp_nistp256.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c index 624ee1621f..3cc5a833a4 100644 --- a/crypto/ec/ecp_nistp256.c +++ b/crypto/ec/ecp_nistp256.c @@ -1823,6 +1823,9 @@ const EC_METHOD *EC_GFp_nistp256_method(void) 0, /* keycopy */ 0, /* keyfinish */ ecdh_simple_compute_key, + ecdsa_simple_sign_setup, + ecdsa_simple_sign_sig, + ecdsa_simple_verify_sig, 0, /* field_inverse_mod_ord */ 0, /* blind_coordinates */ 0, /* ladder_pre */ |