浏览代码

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 年之前
父节点
当前提交
f9e90f5b1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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