diff options
author | Art Forz <artforz@dumbo.lan> | 2011-09-20 12:20:26 +0200 |
---|---|---|
committer | Art Forz <artforz@dumbo.lan> | 2011-09-20 12:20:26 +0200 |
commit | ac92e27c8e016bddd5e4c49e43ecd6244defeaf5 (patch) | |
tree | 3bf2ea7772d42cdc031b05be464aad11481230a2 /miner.h | |
parent | 602e31b96c9b94ed8e4acaa010622cb1aad2bd5e (diff) |
add scrypt function
Diffstat (limited to 'miner.h')
-rw-r--r-- | miner.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -173,6 +173,9 @@ extern int scanhash_sse2_64(int, const unsigned char *pmidstate, unsigned char * unsigned char *phash1, unsigned char *phash, const unsigned char *ptarget, uint32_t max_nonce, unsigned long *nHashesDone); +extern int scanhash_scrypt(int, unsigned char *pdata, unsigned char *scratchbuf, + const unsigned char *ptarget, + uint32_t max_nonce, unsigned long *nHashesDone); extern int timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y); |