From f9e90f5b1c9b8925c6ab947d9b362901d0ea02f0 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 5 Dec 2017 17:46:08 +0100 Subject: [PATCH] revert the change of MAXBLOCKSIZE Currently this only plays a role in HMAC which still uses dynamic allocation depending on the real blocksize defined by the hash algorithm. --- src/headers/tomcrypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/tomcrypt.h b/src/headers/tomcrypt.h index 9ed7750..efd00e8 100644 --- a/src/headers/tomcrypt.h +++ b/src/headers/tomcrypt.h @@ -30,7 +30,7 @@ extern "C" { #define SCRYPT "1.18.0" /* max size of either a cipher/hash block or symmetric key [largest of the two] */ -#define MAXBLOCKSIZE 144 +#define MAXBLOCKSIZE 128 /* descriptor table size */ #define TAB_SIZE 32