aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-03 03:21:29 +0000
committerDavid Shaw <[email protected]>2003-05-03 03:21:29 +0000
commit7c3aa4aea3bb2317216c700a4d13300657641f08 (patch)
tree57844123d73abb88b7d77968c0ad0be90ce2a22f /include/cipher.h
parent* tdbio.c (create_version_record): Only create new trustdbs with (diff)
downloadgnupg-7c3aa4aea3bb2317216c700a4d13300657641f08.tar.gz
gnupg-7c3aa4aea3bb2317216c700a4d13300657641f08.zip
* cipher.h: Add constants for compression algorithms.
Diffstat (limited to '')
-rw-r--r--include/cipher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h
index 2e093c6a5..e7b0c2dc1 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -63,6 +63,10 @@
#define DIGEST_ALGO_SHA384 9
#define DIGEST_ALGO_SHA512 10
+#define COMPRESS_ALGO_NONE 0
+#define COMPRESS_ALGO_ZIP 1
+#define COMPRESS_ALGO_ZLIB 2
+
#define is_RSA(a) ((a)==PUBKEY_ALGO_RSA || (a)==PUBKEY_ALGO_RSA_E \
|| (a)==PUBKEY_ALGO_RSA_S )
#define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL || (a)==PUBKEY_ALGO_ELGAMAL_E)