From a93eb3abb538be4709a09173f31256e7a026860f Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 4 Feb 2003 19:04:24 +0000 Subject: [PATCH] * cipher.h: Add constants for new SHAs. --- include/ChangeLog | 4 ++++ include/cipher.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 2689ba8a9..f043ddc5c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-02-04 David Shaw + + * cipher.h: Add constants for new SHAs. + 2002-11-13 David Shaw * util.h [__CYGWIN32__]: Don't need the registry prototypes. From diff --git a/include/cipher.h b/include/cipher.h index 5a8982244..2e093c6a5 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -59,6 +59,9 @@ #define DIGEST_ALGO_SHA1 2 #define DIGEST_ALGO_RMD160 3 #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 \ || (a)==PUBKEY_ALGO_RSA_S )