Skip to content

Commit f9e90f5

Browse files
committed
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.
1 parent f122e9b commit f9e90f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/headers/tomcrypt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
#define SCRYPT "1.18.0"
3131

3232
/* max size of either a cipher/hash block or symmetric key [largest of the two] */
33-
#define MAXBLOCKSIZE 144
33+
#define MAXBLOCKSIZE 128
3434

3535
/* descriptor table size */
3636
#define TAB_SIZE 32

0 commit comments

Comments
 (0)