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:
parent
6285c65630
commit
f846f38713
2
scrypt.c
2
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user