diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-27 04:31:32 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-27 04:31:32 -0500 |
commit | 339ddf4d757e17687d18d59e8ded57a71f186121 (patch) | |
tree | 8bdcd2f8bfee2b5ffdd8ee5c5cb2cd7fa93967b8 /sha256_4way.c | |
parent | ad3fda8aba5f3f1f4820a20a925c6387347876f9 (diff) |
Move sha256_generic into its own .o build output. Const-ify midstate param.
Diffstat (limited to 'sha256_4way.c')
-rw-r--r-- | sha256_4way.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha256_4way.c b/sha256_4way.c index f621136..f91bb0f 100644 --- a/sha256_4way.c +++ b/sha256_4way.c @@ -97,7 +97,7 @@ static const unsigned int pSHA256InitState[8] = {0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19}; -unsigned int ScanHash_4WaySSE2(unsigned char *pmidstate, unsigned char *pdata, +unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate, unsigned char *pdata, unsigned char *phash1, unsigned char *phash, unsigned long *nHashesDone) { unsigned int *nNonce_p = (unsigned int*)(pdata + 12); |