diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-26 23:15:38 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-26 23:15:38 -0500 |
commit | eed9b3c7df021d3229a4f212548075084913cc1b (patch) | |
tree | 4e58919c6d12ee01f823f6afb6c257dcec068004 | |
parent | 35ea649d976b938f09f383bbc580872aaa5c61eb (diff) |
sha256_4way: perform 16m hashes, not 64k, per invocation
-rw-r--r-- | sha256_4way.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sha256_4way.c b/sha256_4way.c index ddb80f6..35ce818 100644 --- a/sha256_4way.c +++ b/sha256_4way.c @@ -125,9 +125,9 @@ unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata, } } - if ((nonce & 0xffff) == 0) + if ((nonce & 0xffffff) == 0) { - *nHashesDone = 0xffff+1; + *nHashesDone = 0xffffff+1; return -1; } } |