1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-25 05:54:19 +00:00

scrypt_n_1_1_256_sp() fix.

This commit is contained in:
unknown 2014-02-17 09:33:19 +01:00
parent 6285c65630
commit f846f38713

View File

@ -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);