]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(NETTLE_MAX_HASH_BLOCK_SIZE)
authorNiels Möller <nisse@lysator.liu.se>
Fri, 26 Mar 2010 14:24:28 +0000 (15:24 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 26 Mar 2010 14:24:28 +0000 (15:24 +0100)
(NETTLE_MAX_HASH_DIGEST_SIZE): Increased, to take sha512 into
account.

Rev: nettle/nettle-internal.h:1.2

nettle-internal.h

index df49f10a8ad7966acb50dff0e7758e7730cdc9b5..c5b1b532b252db69b60f4a39876850337b59dbb0 100644 (file)
@@ -45,8 +45,8 @@ do { if (size > (sizeof(name) / sizeof(name[0]))) abort(); } while (0)
 
 /* Arbitrary limits which apply to systems that don't have alloca */
 #define NETTLE_MAX_BIGNUM_BITS 10000
-#define NETTLE_MAX_HASH_BLOCK_SIZE 64
-#define NETTLE_MAX_HASH_DIGEST_SIZE 32
+#define NETTLE_MAX_HASH_BLOCK_SIZE 128
+#define NETTLE_MAX_HASH_DIGEST_SIZE 64
 #define NETTLE_MAX_SEXP_ASSOC 17
 #define NETTLE_MAX_CIPHER_BLOCK_SIZE 32