scrypt.h 381 B

12345678910111213141516171819
  1. #ifndef SCRYPT_H
  2. #define SCRYPT_H
  3. #include <stdint.h>
  4. #include "miner.h"
  5. #ifdef USE_SCRYPT
  6. extern void test_scrypt(void);
  7. extern void scrypt_hash_data(void *digest, const void *data);
  8. extern void scrypt_regenhash(struct work *work);
  9. #else /* USE_SCRYPT */
  10. static inline void scrypt_regenhash(__maybe_unused struct work *work)
  11. {
  12. }
  13. #endif /* USE_SCRYPT */
  14. #endif /* SCRYPT_H */