Add a built-in SHA256/SHA512 implementation.

This also moves the HMAC-SHA512 implementation to sha2.cpp.
This commit is contained in:
Pieter Wuille
2014-04-20 17:36:25 +02:00
parent 540ce6aa10
commit 977cdadea8
8 changed files with 536 additions and 76 deletions

View File

@@ -33,6 +33,7 @@ BITCOIN_TESTS =\
test/compress_tests.cpp \
test/DoS_tests.cpp \
test/getarg_tests.cpp \
test/hash_tests.cpp \
test/key_tests.cpp \
test/main_tests.cpp \
test/miner_tests.cpp \
@@ -44,6 +45,7 @@ BITCOIN_TESTS =\
test/script_P2SH_tests.cpp \
test/script_tests.cpp \
test/serialize_tests.cpp \
test/sha2_tests.cpp \
test/sigopcount_tests.cpp \
test/test_bitcoin.cpp \
test/transaction_tests.cpp \