diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-11-05 02:34:36 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-11-05 02:34:36 +0100 |
commit | f4324e51ddab9ed6671f9645afe33d16f9039d12 (patch) | |
tree | 2e9072aecb66e87b268efc6d9a49359c495af748 /crypto/ecdsa | |
parent | Add support for memory leak checking in fips_algvs. (diff) | |
download | openssl-f4324e51ddab9ed6671f9645afe33d16f9039d12.tar.xz openssl-f4324e51ddab9ed6671f9645afe33d16f9039d12.zip |
Add single call public key sign and verify functions.
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r-- | crypto/ecdsa/ecdsa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ecdsa/ecdsa.h b/crypto/ecdsa/ecdsa.h index c3275b0839..cd6d19ccde 100644 --- a/crypto/ecdsa/ecdsa.h +++ b/crypto/ecdsa/ecdsa.h @@ -236,6 +236,11 @@ ECDSA_SIG * FIPS_ecdsa_sign_ctx(EC_KEY *key, EVP_MD_CTX *ctx); int FIPS_ecdsa_verify_digest(EC_KEY *key, const unsigned char *dig, int dlen, ECDSA_SIG *s); int FIPS_ecdsa_verify_ctx(EC_KEY *key, EVP_MD_CTX *ctx, ECDSA_SIG *s); +int FIPS_ecdsa_verify(EC_KEY *key, const unsigned char *msg, size_t msglen, + const EVP_MD *mhash, ECDSA_SIG *s); +ECDSA_SIG * FIPS_ecdsa_sign(EC_KEY *key, + const unsigned char *msg, size_t msglen, + const EVP_MD *mhash); #endif |