Hush them headers

This commit is contained in:
Duke Leto
2020-12-04 09:49:56 -05:00
parent 136c73a273
commit 8a5130713d
35 changed files with 105 additions and 105 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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