Skip to content

Commit 9d8604f

Browse files
committed
Header define style cleanups
1 parent a53fd41 commit 9d8604f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/crypto/hmac_sha256.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_HMAC_SHA256_H
6-
#define BITCOIN_HMAC_SHA256_H
5+
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H
6+
#define BITCOIN_CRYPTO_HMAC_SHA256_H
77

88
#include "crypto/sha256.h"
99

@@ -29,4 +29,4 @@ class CHMAC_SHA256
2929
void Finalize(unsigned char hash[OUTPUT_SIZE]);
3030
};
3131

32-
#endif // BITCOIN_SHA256_H
32+
#endif // BITCOIN_CRYPTO_HMAC_SHA256_H

src/crypto/hmac_sha512.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_HMAC_SHA512_H
6-
#define BITCOIN_HMAC_SHA512_H
5+
#ifndef BITCOIN_CRYPTO_HMAC_SHA512_H
6+
#define BITCOIN_CRYPTO_HMAC_SHA512_H
77

88
#include "crypto/sha512.h"
99

@@ -29,4 +29,4 @@ class CHMAC_SHA512
2929
void Finalize(unsigned char hash[OUTPUT_SIZE]);
3030
};
3131

32-
#endif // BITCOIN_HMAC_SHA512_H
32+
#endif // BITCOIN_CRYPTO_HMAC_SHA512_H

src/crypto/sha256.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_SHA256_H
6-
#define BITCOIN_SHA256_H
5+
#ifndef BITCOIN_CRYPTO_SHA256_H
6+
#define BITCOIN_CRYPTO_SHA256_H
77

88
#include <stdint.h>
99
#include <stdlib.h>
@@ -25,4 +25,4 @@ class CSHA256
2525
CSHA256& Reset();
2626
};
2727

28-
#endif // BITCOIN_SHA256_H
28+
#endif // BITCOIN_CRYPTO_SHA256_H

src/crypto/sha512.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_SHA512_H
6-
#define BITCOIN_SHA512_H
5+
#ifndef BITCOIN_CRYPTO_SHA512_H
6+
#define BITCOIN_CRYPTO_SHA512_H
77

88
#include <stdint.h>
99
#include <stdlib.h>
@@ -25,4 +25,4 @@ class CSHA512
2525
CSHA512& Reset();
2626
};
2727

28-
#endif // BITCOIN_SHA512_H
28+
#endif // BITCOIN_CRYPTO_SHA512_H

0 commit comments

Comments
 (0)