Commit 13b5dfef authored by Pieter Wuille's avatar Pieter Wuille

Move crypto implementations to src/crypto/

parent 1cc344ce
......@@ -75,8 +75,8 @@ BITCOIN_CORE_H = \
rpcserver.h \
script.h \
serialize.h \
sha2.h \
sha1.h \
crypto/sha2.h \
crypto/sha1.h \
sync.h \
threadsafety.h \
tinyformat.h \
......@@ -154,8 +154,8 @@ libbitcoin_common_a_SOURCES = \
protocol.cpp \
rpcprotocol.cpp \
script.cpp \
sha1.cpp \
sha2.cpp \
crypto/sha1.cpp \
crypto/sha2.cpp \
sync.cpp \
util.cpp \
version.cpp \
......
......@@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha1.h"
#include "crypto/sha1.h"
#include <string.h>
......
......@@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha2.h"
#include "crypto/sha2.h"
#include <string.h>
......
......@@ -6,7 +6,7 @@
#ifndef BITCOIN_HASH_H
#define BITCOIN_HASH_H
#include "sha2.h"
#include "crypto/sha2.h"
#include "serialize.h"
#include "uint256.h"
#include "version.h"
......
......@@ -4,7 +4,7 @@
#include "key.h"
#include "sha2.h"
#include "crypto/sha2.h"
#include <openssl/bn.h>
#include <openssl/ecdsa.h>
......
......@@ -9,8 +9,8 @@
#include "hash.h"
#include "key.h"
#include "keystore.h"
#include "sha1.h"
#include "sha2.h"
#include "crypto/sha1.h"
#include "crypto/sha2.h"
#include "sync.h"
#include "uint256.h"
#include "util.h"
......
......@@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha1.h"
#include "crypto/sha1.h"
#include "util.h"
#include <vector>
......
......@@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha2.h"
#include "crypto/sha2.h"
#include "util.h"
#include <vector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment