Browse Source

Header define style cleanups

0.10
Pieter Wuille 10 years ago
parent
commit
9d8604f36a
  1. 6
      src/crypto/hmac_sha256.h
  2. 6
      src/crypto/hmac_sha512.h
  3. 6
      src/crypto/sha256.h
  4. 6
      src/crypto/sha512.h

6
src/crypto/hmac_sha256.h

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HMAC_SHA256_H
#define BITCOIN_HMAC_SHA256_H
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
#define BITCOIN_CRYPTO_HMAC_SHA256_H
#include "crypto/sha256.h"
@ -29,4 +29,4 @@ public: @@ -29,4 +29,4 @@ public:
void Finalize(unsigned char hash[OUTPUT_SIZE]);
};
#endif // BITCOIN_SHA256_H
#endif // BITCOIN_CRYPTO_HMAC_SHA256_H

6
src/crypto/hmac_sha512.h

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HMAC_SHA512_H
#define BITCOIN_HMAC_SHA512_H
#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
#define BITCOIN_CRYPTO_HMAC_SHA512_H
#include "crypto/sha512.h"
@ -29,4 +29,4 @@ public: @@ -29,4 +29,4 @@ public:
void Finalize(unsigned char hash[OUTPUT_SIZE]);
};
#endif // BITCOIN_HMAC_SHA512_H
#endif // BITCOIN_CRYPTO_HMAC_SHA512_H

6
src/crypto/sha256.h

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SHA256_H
#define BITCOIN_SHA256_H
#ifndef BITCOIN_CRYPTO_SHA256_H
#define BITCOIN_CRYPTO_SHA256_H
#include <stdint.h>
#include <stdlib.h>
@ -25,4 +25,4 @@ public: @@ -25,4 +25,4 @@ public:
CSHA256& Reset();
};
#endif // BITCOIN_SHA256_H
#endif // BITCOIN_CRYPTO_SHA256_H

6
src/crypto/sha512.h

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SHA512_H
#define BITCOIN_SHA512_H
#ifndef BITCOIN_CRYPTO_SHA512_H
#define BITCOIN_CRYPTO_SHA512_H
#include <stdint.h>
#include <stdlib.h>
@ -25,4 +25,4 @@ public: @@ -25,4 +25,4 @@ public:
CSHA512& Reset();
};
#endif // BITCOIN_SHA512_H
#endif // BITCOIN_CRYPTO_SHA512_H

Loading…
Cancel
Save