diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-11-05 01:34:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-11-05 01:34:36 +0000 |
commit | f4324e51ddab9ed6671f9645afe33d16f9039d12 (patch) | |
tree | 2e9072aecb66e87b268efc6d9a49359c495af748 /crypto/dsa | |
parent | 69569dd1684ec67ccf8f0a7007872ebbb7a724d5 (diff) | |
download | openssl-f4324e51ddab9ed6671f9645afe33d16f9039d12.tar.gz |
Add single call public key sign and verify functions.
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 86766dacb4..408ee11b72 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -215,6 +215,11 @@ DSA_SIG * FIPS_dsa_sign_ctx(DSA *dsa, EVP_MD_CTX *ctx); int FIPS_dsa_verify_digest(DSA *dsa, const unsigned char *dig, int dlen, DSA_SIG *s); int FIPS_dsa_verify_ctx(DSA *dsa, EVP_MD_CTX *ctx, DSA_SIG *s); +int FIPS_dsa_verify(DSA *dsa, const unsigned char *msg, size_t msglen, + const EVP_MD *mhash, DSA_SIG *s); +DSA_SIG * FIPS_dsa_sign(DSA *dsa, const unsigned char *msg, size_t msglen, + const EVP_MD *mhash); + #endif DSA * DSA_new(void); |