Hush them headers
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_COMMON_H
|
||||
#define BITCOIN_CRYPTO_COMMON_H
|
||||
#ifndef HUSH_CRYPTO_COMMON_H
|
||||
#define HUSH_CRYPTO_COMMON_H
|
||||
|
||||
#if defined(HAVE_CONFIG_H)
|
||||
#include "bitcoin-config.h"
|
||||
@@ -145,4 +145,4 @@ int inline init_and_check_sodium()
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif // BITCOIN_CRYPTO_COMMON_H
|
||||
#endif // HUSH_CRYPTO_COMMON_H
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_EQUIHASH_H
|
||||
#define BITCOIN_EQUIHASH_H
|
||||
#ifndef HUSH_EQUIHASH_H
|
||||
#define HUSH_EQUIHASH_H
|
||||
|
||||
#include "crypto/sha256.h"
|
||||
#include "utilstrencodings.h"
|
||||
@@ -311,4 +311,4 @@ inline bool EhOptimisedSolveUncancellable(unsigned int n, unsigned int k, const
|
||||
throw std::invalid_argument("Unsupported Equihash parameters"); \
|
||||
}
|
||||
|
||||
#endif // BITCOIN_EQUIHASH_H
|
||||
#endif // HUSH_EQUIHASH_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#define BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#ifndef HUSH_CRYPTO_HMAC_SHA256_H
|
||||
#define HUSH_CRYPTO_HMAC_SHA256_H
|
||||
|
||||
#include "crypto/sha256.h"
|
||||
|
||||
@@ -29,4 +29,4 @@ public:
|
||||
void Finalize(unsigned char hash[OUTPUT_SIZE]);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_HMAC_SHA256_H
|
||||
#endif // HUSH_CRYPTO_HMAC_SHA256_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#define BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#ifndef HUSH_CRYPTO_HMAC_SHA512_H
|
||||
#define HUSH_CRYPTO_HMAC_SHA512_H
|
||||
|
||||
#include "crypto/sha512.h"
|
||||
|
||||
@@ -29,4 +29,4 @@ public:
|
||||
void Finalize(unsigned char hash[OUTPUT_SIZE]);
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_HMAC_SHA512_H
|
||||
#endif // HUSH_CRYPTO_HMAC_SHA512_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#define BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#ifndef HUSH_CRYPTO_RIPEMD160_H
|
||||
#define HUSH_CRYPTO_RIPEMD160_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CRIPEMD160& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_RIPEMD160_H
|
||||
#endif // HUSH_CRYPTO_RIPEMD160_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA1_H
|
||||
#define BITCOIN_CRYPTO_SHA1_H
|
||||
#ifndef HUSH_CRYPTO_SHA1_H
|
||||
#define HUSH_CRYPTO_SHA1_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CSHA1& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA1_H
|
||||
#endif // HUSH_CRYPTO_SHA1_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA256_H
|
||||
#define BITCOIN_CRYPTO_SHA256_H
|
||||
#ifndef HUSH_CRYPTO_SHA256_H
|
||||
#define HUSH_CRYPTO_SHA256_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -34,4 +34,4 @@ public:
|
||||
*/
|
||||
std::string SHA256AutoDetect();
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA256_H
|
||||
#endif // HUSH_CRYPTO_SHA256_H
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef BITCOIN_CRYPTO_SHA512_H
|
||||
#define BITCOIN_CRYPTO_SHA512_H
|
||||
#ifndef HUSH_CRYPTO_SHA512_H
|
||||
#define HUSH_CRYPTO_SHA512_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
CSHA512& Reset();
|
||||
};
|
||||
|
||||
#endif // BITCOIN_CRYPTO_SHA512_H
|
||||
#endif // HUSH_CRYPTO_SHA512_H
|
||||
|
||||
Reference in New Issue
Block a user