mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
* cipher.h: Add constants for compression algorithms.
This commit is contained in:
parent
5d283fdd8b
commit
1db0d1e0a2
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-02 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* cipher.h: Add constants for compression algorithms.
|
||||||
|
|
||||||
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* cipher.h: Add constants for new SHAs.
|
* cipher.h: Add constants for new SHAs.
|
||||||
|
@ -63,6 +63,10 @@
|
|||||||
#define DIGEST_ALGO_SHA384 9
|
#define DIGEST_ALGO_SHA384 9
|
||||||
#define DIGEST_ALGO_SHA512 10
|
#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 \
|
#define is_RSA(a) ((a)==PUBKEY_ALGO_RSA || (a)==PUBKEY_ALGO_RSA_E \
|
||||||
|| (a)==PUBKEY_ALGO_RSA_S )
|
|| (a)==PUBKEY_ALGO_RSA_S )
|
||||||
#define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL || (a)==PUBKEY_ALGO_ELGAMAL_E)
|
#define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL || (a)==PUBKEY_ALGO_ELGAMAL_E)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user