[svn] gcry - r1154 - trunk/src
svn author wk
cvs at cvs.gnupg.org
Fri Apr 28 15:38:41 CEST 2006
Author: wk
Date: 2006-04-28 15:38:40 +0200 (Fri, 28 Apr 2006)
New Revision: 1154
Modified:
trunk/src/ChangeLog
trunk/src/gcrypt.h
Log:
Changed value of GCRY_MD_SHA224 from 306 to 11.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2006-04-22 16:09:23 UTC (rev 1153)
+++ trunk/src/ChangeLog 2006-04-28 13:38:40 UTC (rev 1154)
@@ -1,16 +1,27 @@
+2006-04-28 Werner Koch <wk at g10code.com>
+
+ * gcrypt.h (GCRY_MD_SHA224): Change value from 306 to 11 to match
+ the use in OpenPGP. There has been no release yet, so we can
+ safely do it.
+
2006-04-22 Moritz Schulte <moritz at g10code.com>
- * gcrypt.h (enum gcry_ctl_cmds): New commands:
- GCRYCTL_SET_RANDOM_DAEMON_SOCKET, GCRYCTL_USE_RANDOM_DAEMON. *
- global.c (gcry_control): Handle new commands, calling
+ * gcrypt.h (gcry_ctl_cmds): New commands:
+ GCRYCTL_SET_RANDOM_DAEMON_SOCKET, GCRYCTL_USE_RANDOM_DAEMON.
+ * global.c (gcry_control): Handle new commands, calling
_gcry_set_random_daemon_socket() and _gcry_use_random_daemon().
+2006-04-18 Werner Koch <wk at g10code.com>
+
+ * gcrypt.h (GCRY_PK_USAGE_CERT, GCRY_PK_USAGE_AUTH)
+ (GCRY_PK_USAGE_UNKN): New.
+
2006-04-01 Moritz Schulte <moritz at g10code.com>
* gcrypt.h (gcry_ac_eme_pkcs_v1_5): Removed members: key, handle;
added member: key_size.
- * secmem.c (MB_FLAG_ACTIVE): write braces around MB_FLAG_ACTIVE
+ * secmem.c (MB_FLAG_ACTIVE): Write braces around MB_FLAG_ACTIVE
definition.
2006-03-15 Werner Koch <wk at g10code.com>
Modified: trunk/src/gcrypt.h
===================================================================
--- trunk/src/gcrypt.h 2006-04-22 16:09:23 UTC (rev 1153)
+++ trunk/src/gcrypt.h 2006-04-28 13:38:40 UTC (rev 1154)
@@ -873,8 +873,11 @@
};
/* Flags describing usage capabilities of a PK algorithm. */
-#define GCRY_PK_USAGE_SIGN 1
-#define GCRY_PK_USAGE_ENCR 2
+#define GCRY_PK_USAGE_SIGN 1 /* Good for signatures. */
+#define GCRY_PK_USAGE_ENCR 2 /* Good for encryption. */
+#define GCRY_PK_USAGE_CERT 4 /* Good to certify other keys. */
+#define GCRY_PK_USAGE_AUTH 8 /* Good for authentication. */
+#define GCRY_PK_USAGE_UNKN 128 /* Unknown usage flag. */
/* Encrypt the DATA using the public key PKEY and store the result as
a newly created S-expression at RESULT. */
@@ -961,12 +964,12 @@
GCRY_MD_SHA256 = 8,
GCRY_MD_SHA384 = 9,
GCRY_MD_SHA512 = 10,
+ GCRY_MD_SHA224 = 11,
GCRY_MD_MD4 = 301,
GCRY_MD_CRC32 = 302,
GCRY_MD_CRC32_RFC1510 = 303,
GCRY_MD_CRC24_RFC2440 = 304,
- GCRY_MD_WHIRLPOOL = 305,
- GCRY_MD_SHA224 = 306
+ GCRY_MD_WHIRLPOOL = 305
};
/* Flags used with the open function. */
More information about the Gnupg-commits
mailing list