diff options
author | David Shaw <dshaw@jabberwocky.com> | 2002-08-07 21:48:45 +0200 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2002-08-07 21:48:45 +0200 |
commit | bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74 (patch) | |
tree | ebe0ebf5180dea2b524269fcee83c274667410ad /include/cipher.h | |
parent | * md.c (md_algo_present): New function to check if a given algo is in use (diff) | |
download | gnupg2-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.tar.xz gnupg2-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.zip |
* cipher.h: Add md_algo_present().
Diffstat (limited to 'include/cipher.h')
-rw-r--r-- | include/cipher.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h index 7ad3772ba..992532df6 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -123,6 +123,7 @@ void md_final(MD_HANDLE a); byte *md_read( MD_HANDLE a, int algo ); int md_digest( MD_HANDLE a, int algo, byte *buffer, int buflen ); int md_get_algo( MD_HANDLE a ); +int md_algo_present( MD_HANDLE a, int algo ); int md_digest_length( int algo ); const byte *md_asn_oid( int algo, size_t *asnlen, size_t *mdlen ); void md_start_debug( MD_HANDLE a, const char *suffix ); |