| 12345678910111213141516171819 |
- #ifndef SCRYPT_H
- #define SCRYPT_H
- #include <stdint.h>
- #include "miner.h"
- #ifdef USE_SCRYPT
- extern void test_scrypt(void);
- extern void scrypt_hash_data(void *digest, const void *data);
- extern void scrypt_regenhash(struct work *work);
- #else /* USE_SCRYPT */
- static inline void scrypt_regenhash(__maybe_unused struct work *work)
- {
- }
- #endif /* USE_SCRYPT */
- #endif /* SCRYPT_H */
|