summaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:30:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:41:39 +0200
commitf45345b7723f09c94a829d90689d052c864f5b86 (patch)
treea697ef14c4903691878a7abb401def97bf505cba /src/crypto
parentglobal: satisfy bitshift pedantry (diff)
downloadwireguard-monolithic-historical-f45345b7723f09c94a829d90689d052c864f5b86.tar.xz
wireguard-monolithic-historical-f45345b7723f09c94a829d90689d052c864f5b86.zip
global: use _WG prefix for include guards
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/blake2s.h6
-rw-r--r--src/crypto/chacha20poly1305.h6
-rw-r--r--src/crypto/curve25519.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/crypto/blake2s.h b/src/crypto/blake2s.h
index e8d2908..0b1d680 100644
--- a/src/crypto/blake2s.h
+++ b/src/crypto/blake2s.h
@@ -1,7 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-#ifndef BLAKE2S_H
-#define BLAKE2S_H
+#ifndef _WG_BLAKE2S_H
+#define _WG_BLAKE2S_H
#include <linux/types.h>
@@ -35,4 +35,4 @@ void blake2s_fpu_init(void);
bool blake2s_selftest(void);
#endif
-#endif
+#endif /* _WG_BLAKE2S_H */
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index 89701e4..c8885e0 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -1,7 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-#ifndef CHACHA20POLY1305_H
-#define CHACHA20POLY1305_H
+#ifndef _WG_CHACHA20POLY1305_H
+#define _WG_CHACHA20POLY1305_H
#include <linux/types.h>
@@ -85,4 +85,4 @@ static inline void chacha20poly1305_deinit_simd(bool was_on)
bool chacha20poly1305_selftest(void);
#endif
-#endif
+#endif /* _WG_CHACHA20POLY1305_H */
diff --git a/src/crypto/curve25519.h b/src/crypto/curve25519.h
index 16be496..800cefa 100644
--- a/src/crypto/curve25519.h
+++ b/src/crypto/curve25519.h
@@ -1,7 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-#ifndef CURVE25519_H
-#define CURVE25519_H
+#ifndef _WG_CURVE25519_H
+#define _WG_CURVE25519_H
#include <linux/types.h>
@@ -19,4 +19,4 @@ void curve25519_fpu_init(void);
bool curve25519_selftest(void);
#endif
-#endif
+#endif /* _WG_CURVE25519_H */