diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-02 14:21:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-02 14:21:33 +0000 |
commit | a5b196a22c62d9d1d113bff6d8fc8c17d5f5734a (patch) | |
tree | f0b5bab467444ea1ef7504a1041e2bd04cc4b4b5 /crypto/dsa/dsa.h | |
parent | b6104f9ad8a704cf75f32faed4b47bed216dd58d (diff) | |
download | openssl-a5b196a22c62d9d1d113bff6d8fc8c17d5f5734a.tar.gz |
Add sign/verify digest API to handle an explicit digest instead of finalising
a context.
Diffstat (limited to 'crypto/dsa/dsa.h')
-rw-r--r-- | crypto/dsa/dsa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 06a7b1431d..b68fbce169 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -209,7 +209,10 @@ int DSA_set_method(DSA *dsa, const DSA_METHOD *); #ifdef OPENSSL_FIPS DSA * FIPS_dsa_new(void); void FIPS_dsa_free (DSA *r); +DSA_SIG * FIPS_dsa_sign_digest(DSA *dsa, const unsigned char *dig, int dlen); 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); #endif |