From aeea048dbc3b3d0d6384117307252ee541514f03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Fri, 26 Mar 2010 15:24:28 +0100
Subject: [PATCH] (NETTLE_MAX_HASH_BLOCK_SIZE) (NETTLE_MAX_HASH_DIGEST_SIZE):
 Increased, to take sha512 into account.

Rev: nettle/nettle-internal.h:1.2
---
 nettle-internal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nettle-internal.h b/nettle-internal.h
index df49f10a..c5b1b532 100644
--- a/nettle-internal.h
+++ b/nettle-internal.h
@@ -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
 
-- 
GitLab