Move crypto implementations to src/crypto/

This commit is contained in:
Pieter Wuille 2014-04-28 12:20:15 +02:00
parent 1cc344ce42
commit 13b5dfef64
10 changed files with 12 additions and 12 deletions

View File

@ -75,8 +75,8 @@ BITCOIN_CORE_H = \
rpcserver.h \ rpcserver.h \
script.h \ script.h \
serialize.h \ serialize.h \
sha2.h \ crypto/sha2.h \
sha1.h \ crypto/sha1.h \
sync.h \ sync.h \
threadsafety.h \ threadsafety.h \
tinyformat.h \ tinyformat.h \
@ -154,8 +154,8 @@ libbitcoin_common_a_SOURCES = \
protocol.cpp \ protocol.cpp \
rpcprotocol.cpp \ rpcprotocol.cpp \
script.cpp \ script.cpp \
sha1.cpp \ crypto/sha1.cpp \
sha2.cpp \ crypto/sha2.cpp \
sync.cpp \ sync.cpp \
util.cpp \ util.cpp \
version.cpp \ version.cpp \

View File

@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha1.h" #include "crypto/sha1.h"
#include <string.h> #include <string.h>

View File

@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha2.h" #include "crypto/sha2.h"
#include <string.h> #include <string.h>

View File

@ -6,7 +6,7 @@
#ifndef BITCOIN_HASH_H #ifndef BITCOIN_HASH_H
#define BITCOIN_HASH_H #define BITCOIN_HASH_H
#include "sha2.h" #include "crypto/sha2.h"
#include "serialize.h" #include "serialize.h"
#include "uint256.h" #include "uint256.h"
#include "version.h" #include "version.h"

View File

@ -4,7 +4,7 @@
#include "key.h" #include "key.h"
#include "sha2.h" #include "crypto/sha2.h"
#include <openssl/bn.h> #include <openssl/bn.h>
#include <openssl/ecdsa.h> #include <openssl/ecdsa.h>

View File

@ -9,8 +9,8 @@
#include "hash.h" #include "hash.h"
#include "key.h" #include "key.h"
#include "keystore.h" #include "keystore.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "sha2.h" #include "crypto/sha2.h"
#include "sync.h" #include "sync.h"
#include "uint256.h" #include "uint256.h"
#include "util.h" #include "util.h"

View File

@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha1.h" #include "crypto/sha1.h"
#include "util.h" #include "util.h"
#include <vector> #include <vector>

View File

@ -2,7 +2,7 @@
// Distributed under the MIT/X11 software license, see the accompanying // Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sha2.h" #include "crypto/sha2.h"
#include "util.h" #include "util.h"
#include <vector> #include <vector>