From f846f387136d4145188dde15aaac3885c09e6beb Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Feb 2014 09:33:19 +0100 Subject: [PATCH] scrypt_n_1_1_256_sp() fix. --- scrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrypt.c b/scrypt.c index de8ba929..47201782 100644 --- a/scrypt.c +++ b/scrypt.c @@ -427,7 +427,7 @@ void scrypt_regenhash(struct work *work) if (use_nscrypt) { scratchbuf = (char *)alloca((1 << nfactor) * 128 + 512); - scrypt_1024_1_1_256_sp(data, scratchbuf, ohash, (1 << nfactor)); + scrypt_n_1_1_256_sp(data, scratchbuf, ohash, (1 << nfactor)); } else { scratchbuf = (char *)alloca(SCRATCHBUF_SIZE);