|
|
@ -37,19 +37,20 @@ extern bool hex2bin(unsigned char *p, const char *hexstr, size_t len); |
|
|
|
|
|
|
|
|
|
|
|
extern unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate, |
|
|
|
extern unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate, |
|
|
|
unsigned char *pdata, unsigned char *phash1, unsigned char *phash, |
|
|
|
unsigned char *pdata, unsigned char *phash1, unsigned char *phash, |
|
|
|
unsigned long *nHashesDone); |
|
|
|
uint32_t max_nonce, unsigned long *nHashesDone); |
|
|
|
|
|
|
|
|
|
|
|
extern bool scanhash_via(unsigned char *data_inout, unsigned long *hashes_done); |
|
|
|
extern bool scanhash_via(unsigned char *data_inout, |
|
|
|
|
|
|
|
uint32_t max_nonce, unsigned long *hashes_done); |
|
|
|
|
|
|
|
|
|
|
|
extern bool scanhash_c(const unsigned char *midstate, unsigned char *data, |
|
|
|
extern bool scanhash_c(const unsigned char *midstate, unsigned char *data, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned long *hashes_done); |
|
|
|
uint32_t max_nonce, unsigned long *hashes_done); |
|
|
|
extern bool scanhash_cryptopp(const unsigned char *midstate,unsigned char *data, |
|
|
|
extern bool scanhash_cryptopp(const unsigned char *midstate,unsigned char *data, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned long *hashes_done); |
|
|
|
uint32_t max_nonce, unsigned long *hashes_done); |
|
|
|
extern bool scanhash_asm32(const unsigned char *midstate,unsigned char *data, |
|
|
|
extern bool scanhash_asm32(const unsigned char *midstate,unsigned char *data, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned char *hash1, unsigned char *hash, |
|
|
|
unsigned long *hashes_done); |
|
|
|
uint32_t max_nonce, unsigned long *hashes_done); |
|
|
|
|
|
|
|
|
|
|
|
extern int |
|
|
|
extern int |
|
|
|
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y); |
|
|
|
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y); |
|
|
|