mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
334 B
14 lines
334 B
12 years ago
|
#ifndef SCRYPT_H
|
||
|
#define SCRYPT_H
|
||
|
|
||
|
#ifdef USE_SCRYPT
|
||
|
extern bool scrypt_test(unsigned char *pdata, const unsigned char *ptarget, uint32_t nonce);
|
||
|
#else /* USE_SCRYPT */
|
||
|
static inline bool scrypt_test(unsigned char *pdata, const unsigned char *ptarget, uint32_t nonce)
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
#endif /* USE_SCRYPT */
|
||
|
|
||
|
#endif /* SCRYPT_H */
|