Browse Source

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.
Steffen Jaeckel 7 years ago
parent
commit
f9e90f5b1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/headers/tomcrypt.h

+ 1 - 1
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