diff options
author | Niels Möller <nisse@lysator.liu.se> | 2010-03-26 15:24:28 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2010-03-26 15:24:28 +0100 |
commit | aeea048dbc3b3d0d6384117307252ee541514f03 (patch) | |
tree | 42cebf0312e9dd98c49007b8047a02b0f0cbfc58 /nettle-internal.h | |
parent | d47df5094815d169cd28af0bb9e1fd7f1ff30181 (diff) | |
download | nettle-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.h | 4 |
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 |