1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* cipher.h: Add constants for compression algorithms.

This commit is contained in:
David Shaw 2003-05-03 03:21:29 +00:00
parent f861b6488e
commit 7c3aa4aea3
2 changed files with 8 additions and 0 deletions

View file

@ -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)