From 4244bfff940bd71671d13964cdd2fc1bab2cbba5 Mon Sep 17 00:00:00 2001 From: samvicky Date: Sun, 8 Apr 2018 00:33:57 +0530 Subject: [PATCH] Update slow-hash.c --- src/crypto/slow-hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index 975908d..44c3ec7 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -53,8 +53,8 @@ void cn_slow_hash_f(void * a, const void * b, size_t c, void * d){ #define restrict #endif -#define MEMORY (1 << 21) /* 2 MiB */ -#define ITER (1 << 20) +#define MEMORY (1 << 22) /* 4 MiB */ +#define ITER (1 << 21) #define AES_BLOCK_SIZE 16 #define AES_KEY_SIZE 32 /*16*/ #define INIT_SIZE_BLK 8