summaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-01-07 21:47:46 +0100
committerWerner Koch <wk@gnupg.org>1998-01-07 21:47:46 +0100
commit762d3d7197f622296ea5360a73c46c88dcd26308 (patch)
treecfd34485dc436ef861b4f625d20388f3776c232e /include/cipher.h
parentpatch release 0.1.1 (diff)
downloadgnupg2-762d3d7197f622296ea5360a73c46c88dcd26308.tar.xz
gnupg2-762d3d7197f622296ea5360a73c46c88dcd26308.zip
patchlevel 2
Diffstat (limited to 'include/cipher.h')
-rw-r--r--include/cipher.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/cipher.h b/include/cipher.h
index ed553dcb2..fd7886c90 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -88,7 +88,13 @@ int cipher_debug_mode;
#define is_valid_pubkey_algo(a) ( (a) == PUBKEY_ALGO_ELGAMAL )
#endif
-
+/*-- misc.c --*/
+int string_to_cipher_algo( const char *string );
+int string_to_pubkey_algo( const char *string );
+int string_to_digest_algo( const char *string );
+int check_cipher_algo( int algo );
+int check_pubkey_algo( int algo );
+int check_digest_algo( int algo );
/*-- md.c --*/
int md_okay( int algo );