Skip to content

Commit

Permalink
Move crypto implementations to src/crypto/
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Jun 21, 2014
1 parent 1cc344c commit 13b5dfe
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion src/sha1.cpp → src/crypto/sha1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/sha2.cpp → src/crypto/sha2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "key.h"

#include "sha2.h"
#include "crypto/sha2.h"

#include <openssl/bn.h>
#include <openssl/ecdsa.h>
Expand Down
4 changes: 2 additions & 2 deletions src/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/test/sha1_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/test/sha2_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 13b5dfe

Please sign in to comment.