add sign/verify methods
authorDr. Stephen Henson <steve@openssl.org>
Tue, 27 Oct 2015 19:23:29 +0000 (19:23 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 9 Dec 2015 22:09:19 +0000 (22:09 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ec/ec_kmeth.c

index 767e51f..172aadd 100644 (file)
@@ -65,7 +65,10 @@ static const EC_KEY_METHOD openssl_ec_key_method = {
     0,
     0,0,0,0,0,0,
     ossl_ec_key_gen,
-    ossl_ecdh_compute_key
+    ossl_ecdh_compute_key,
+    ossl_ecdsa_sign_setup,
+    ossl_ecdsa_sign_sig,
+    ossl_ecdsa_verify_sig
 };
 
 const EC_KEY_METHOD *default_ec_key_meth = &openssl_ec_key_method;