mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* cipher.h: Add constants for new SHAs.
This commit is contained in:
parent
441c927b19
commit
defeb83a8d
@ -1,3 +1,7 @@
|
|||||||
|
2003-02-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* cipher.h: Add constants for new SHAs.
|
||||||
|
|
||||||
2002-11-06 David Shaw <dshaw@jabberwocky.com>
|
2002-11-06 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* util.h: Add wipememory2() macro (same as wipememory, but can
|
* util.h: Add wipememory2() macro (same as wipememory, but can
|
||||||
|
@ -59,6 +59,9 @@
|
|||||||
#define DIGEST_ALGO_SHA1 2
|
#define DIGEST_ALGO_SHA1 2
|
||||||
#define DIGEST_ALGO_RMD160 3
|
#define DIGEST_ALGO_RMD160 3
|
||||||
#define DIGEST_ALGO_TIGER 6
|
#define DIGEST_ALGO_TIGER 6
|
||||||
|
#define DIGEST_ALGO_SHA256 8
|
||||||
|
#define DIGEST_ALGO_SHA384 9
|
||||||
|
#define DIGEST_ALGO_SHA512 10
|
||||||
|
|
||||||
#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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user