Replace non-threadsafe gmtime and setlocale
[novacoin.git] / src / scrypt.h
index 2d2112d..3c9e3bd 100644 (file)
@@ -7,7 +7,12 @@
 #include "util.h"
 #include "net.h"
 
-uint256 scrypt_hash(const void* input, size_t inputlen);
-uint256 scrypt_blockhash(const void* input);
+#define SCRYPT_BUFFER_SIZE (131072 + 63)
+
+uint256 scrypt_blockhash(const uint8_t* input);
+
+#ifdef USE_SSE2
+void scrypt_detect_sse2();
+#endif
 
 #endif // SCRYPT_MINE_H