1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-04 12:03:41 +02:00

move some of the headers that should be included in the library to "include/eoskeygen" folder.

This commit is contained in:
Henrik Hautakoski 2020-03-19 08:11:58 +01:00
parent 6bf611f7d0
commit 8035e3233c
23 changed files with 35 additions and 33 deletions

View file

@ -88,6 +88,8 @@ include_directories(${PROJECT_BINARY_DIR})
# Include OpenSSL headers # Include OpenSSL headers
include_directories( ${OPENSSL_INCLUDE_DIR} ) include_directories( ${OPENSSL_INCLUDE_DIR} )
include_directories( include )
add_executable( ${PROGRAM_EXE} ${PROGRAM_SOURCE} ) add_executable( ${PROGRAM_EXE} ${PROGRAM_SOURCE} )
target_link_libraries( ${PROGRAM_EXE} target_link_libraries( ${PROGRAM_EXE}

View file

@ -25,7 +25,7 @@
#define EOSIOKEYGEN_CRYPTO_WIF_H #define EOSIOKEYGEN_CRYPTO_WIF_H
#include <string> #include <string>
#include "types.h" #include <eoskeygen/crypto/types.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -27,7 +27,7 @@
#include <cstddef> #include <cstddef>
#include <cstring> #include <cstring>
#include <array> #include <array>
#include "hash.h" #include <eoskeygen/crypto/hash.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -24,7 +24,7 @@
#ifndef EOSIOKEYGEN_CRYPTO_EC_H #ifndef EOSIOKEYGEN_CRYPTO_EC_H
#define EOSIOKEYGEN_CRYPTO_EC_H #define EOSIOKEYGEN_CRYPTO_EC_H
#include "types.h" #include <eoskeygen/crypto/types.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -25,7 +25,7 @@
#define EOSIOKEYGEN_CRYPTO_HASH_H #define EOSIOKEYGEN_CRYPTO_HASH_H
#include <cstddef> #include <cstddef>
#include "types.h" #include <eoskeygen/crypto/types.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -24,8 +24,8 @@
#ifndef EOSIOKEYGEN_KEY_SEARCH_H #ifndef EOSIOKEYGEN_KEY_SEARCH_H
#define EOSIOKEYGEN_KEY_SEARCH_H #define EOSIOKEYGEN_KEY_SEARCH_H
#include "core/dictionary.h" #include <eoskeygen/core/dictionary.h>
#include "core/string.h" #include <eoskeygen/core/string.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -22,7 +22,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <chrono> #include <chrono>
#include "crypto/ec.h" #include <eoskeygen/crypto/ec.h>
#include "benchmark.h" #include "benchmark.h"
using std::chrono::steady_clock; using std::chrono::steady_clock;

View file

@ -3,9 +3,9 @@
#include <cstdio> #include <cstdio>
#include <iterator> #include <iterator>
#include <algorithm> #include <algorithm>
#include <eoskeygen/core/string.h>
#include <eoskeygen/core/dictionary.h>
#include "file.h" #include "file.h"
#include "string.h"
#include "dictionary.h"
namespace eoskeygen { namespace eoskeygen {

View file

@ -24,7 +24,7 @@
#ifndef EOSIOKEYGEN_CORE_FILE_H #ifndef EOSIOKEYGEN_CORE_FILE_H
#define EOSIOKEYGEN_CORE_FILE_H #define EOSIOKEYGEN_CORE_FILE_H
#include "string.h" #include <eoskeygen/core/string.h>
#include <vector> #include <vector>
namespace eoskeygen { namespace eoskeygen {

View file

@ -24,8 +24,8 @@
#include <cstddef> #include <cstddef>
#include <cctype> #include <cctype>
#include <algorithm> #include <algorithm>
#include "../crypto/base58.h" #include <eoskeygen/crypto/base58.h>
#include "string.h" #include <eoskeygen/core/string.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -23,9 +23,9 @@
*/ */
#include <iostream> #include <iostream>
#include <string.h> #include <string.h>
#include "base58.h" #include <eoskeygen/crypto/base58.h>
#include "checksum.h" #include <eoskeygen/crypto/checksum.h>
#include "WIF.h" #include <eoskeygen/crypto/WIF.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -27,7 +27,7 @@
#include <algorithm> #include <algorithm>
#include <cstddef> #include <cstddef>
#include <cassert> #include <cassert>
#include "base58.h" #include <eoskeygen/crypto/base58.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -24,7 +24,7 @@
#include <openssl/ec.h> #include <openssl/ec.h>
#include <openssl/bn.h> #include <openssl/bn.h>
#include <openssl/hmac.h> #include <openssl/hmac.h>
#include "../ec.h" #include <eoskeygen/crypto/ec.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -23,7 +23,7 @@
*/ */
#include <openssl/sha.h> #include <openssl/sha.h>
#include <openssl/ripemd.h> #include <openssl/ripemd.h>
#include "../hash.h" #include <eoskeygen/crypto/hash.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -22,9 +22,9 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <string> #include <string>
#include "crypto/ec.h" #include <eoskeygen/crypto/ec.h>
#include <eoskeygen/key_search.h>
#include "key_search_helpers.h" #include "key_search_helpers.h"
#include "key_search.h"
namespace eoskeygen { namespace eoskeygen {

View file

@ -22,8 +22,8 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <iostream> #include <iostream>
#include "core/dictionary.h" #include <eoskeygen/core/dictionary.h>
#include "crypto/WIF.h" #include <eoskeygen/crypto/WIF.h>
#include "console.h" #include "console.h"
#include "key_search_helpers.h" #include "key_search_helpers.h"

View file

@ -24,8 +24,8 @@
#ifndef EOSIOKEYGEN_KEY_SEARCH_HELPERS_H #ifndef EOSIOKEYGEN_KEY_SEARCH_HELPERS_H
#define EOSIOKEYGEN_KEY_SEARCH_HELPERS_H #define EOSIOKEYGEN_KEY_SEARCH_HELPERS_H
#include "core/string.h" #include <eoskeygen/core/string.h>
#include "crypto/types.h" #include <eoskeygen/crypto/types.h>
namespace eoskeygen { namespace eoskeygen {

View file

@ -25,9 +25,9 @@
#include <thread> #include <thread>
#include <mutex> #include <mutex>
#include <vector> #include <vector>
#include "crypto/ec.h" #include <eoskeygen/crypto/ec.h>
#include <eoskeygen/key_search.h>
#include "key_search_helpers.h" #include "key_search_helpers.h"
#include "key_search.h"
namespace eoskeygen { namespace eoskeygen {

View file

@ -26,16 +26,16 @@
#endif /* HAVE_THREADS */ #endif /* HAVE_THREADS */
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include "config.h" #include <eoskeygen/core/dictionary.h>
#include <eoskeygen/core/string.h>
#include <eoskeygen/crypto/base58.h>
#include <eoskeygen/crypto/ec.h>
#include <eoskeygen/crypto/WIF.h>
#include <eoskeygen/key_search.h>
#include "core/file.h" #include "core/file.h"
#include "core/dictionary.h"
#include "core/string.h"
#include "crypto/base58.h"
#include "crypto/ec.h"
#include "crypto/WIF.h"
#include "console.h" #include "console.h"
#include "key_search.h"
#include "benchmark.h" #include "benchmark.h"
#include "config.h"
// Command line options. // Command line options.
bool option_l33t = false; bool option_l33t = false;