summaryrefslogtreecommitdiff
path: root/nettle-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2010-03-26 15:24:28 +0100
committerNiels Möller <nisse@lysator.liu.se>2010-03-26 15:24:28 +0100
commitaeea048dbc3b3d0d6384117307252ee541514f03 (patch)
tree42cebf0312e9dd98c49007b8047a02b0f0cbfc58 /nettle-internal.h
parentd47df5094815d169cd28af0bb9e1fd7f1ff30181 (diff)
downloadnettle-aeea048dbc3b3d0d6384117307252ee541514f03.tar.gz
(NETTLE_MAX_HASH_BLOCK_SIZE)
(NETTLE_MAX_HASH_DIGEST_SIZE): Increased, to take sha512 into account. Rev: nettle/nettle-internal.h:1.2
Diffstat (limited to 'nettle-internal.h')
-rw-r--r--nettle-internal.h4
1 files 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