summaryrefslogtreecommitdiffhomepage
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
commit323636085e1a6c063818a697b30e074578db258e (patch)
tree6b77529769ae29e1deb5523edd3bddc7f03583e5 /src/crypto
parent452dc76c606d47dc248f846f1202d708a7245f5e (diff)
global: use _WG prefix for include guards
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.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 */