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

@@ -75,6 +75,7 @@ BITCOIN_CORE_H = \
rpcserver.h \
script.h \
serialize.h \
sha2.h \
sync.h \
threadsafety.h \
tinyformat.h \
@@ -152,6 +153,7 @@ libbitcoin_common_a_SOURCES = \
protocol.cpp \
rpcprotocol.cpp \
script.cpp \
sha2.cpp \
sync.cpp \
util.cpp \
version.cpp \