From: Niels Möller Date: Fri, 26 Mar 2010 14:24:28 +0000 (+0100) Subject: (NETTLE_MAX_HASH_BLOCK_SIZE) X-Git-Tag: camellia_32bit_20100720~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aeea048dbc3b3d0d6384117307252ee541514f03;p=thirdparty%2Fnettle.git (NETTLE_MAX_HASH_BLOCK_SIZE) (NETTLE_MAX_HASH_DIGEST_SIZE): Increased, to take sha512 into account. Rev: nettle/nettle-internal.h:1.2 --- 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