aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog4
-rw-r--r--include/cipher.h3
2 files changed, 7 insertions, 0 deletions
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 <[email protected]>
+
+ * cipher.h: Add constants for new SHAs.
+
2002-11-13 David Shaw <[email protected]>
* 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 )