@ -279,6 +279,21 @@ crypto_libbitcoin_crypto_a_SOURCES = \
crypto/sha512.cpp \
crypto/sha512.h
crypto_libbitcoin_crypto_a_SOURCES += \
cryptonight/slow-hash.c \
cryptonight/oaes_lib.c \
cryptonight/hash.c \
cryptonight/aesb.c \
cryptonight/keccak.c \
cryptonight/blake256.c \
cryptonight/groestl.c \
cryptonight/hash-extra-blake.c \
cryptonight/hash-extra-groestl.c \
cryptonight/hash-extra-skein.c \
cryptonight/hash-extra-jh.c \
cryptonight/skein.c \
cryptonight/jh.c
if USE_ASM
crypto_libbitcoin_crypto_a_SOURCES += crypto/sha256_sse4.cpp
endif
@ -107,7 +107,7 @@ test_test_litecoin_LDADD += $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_
$(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) $(EVENT_LIBS) $(EVENT_PTHREADS_LIBS)
test_test_litecoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
test_test_litecoin_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS)
test_test_litecoin_LDADD += $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS)
test_test_litecoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static
if ENABLE_ZMQ
@ -10,7 +10,10 @@
#include <utilstrencodings.h>
#include <crypto/common.h>
//#include <crypto/scrypt.h>
#include <cryptonight/hash-ops.h>
extern "C"
{
}
uint256 CBlockHeader::GetHash() const