summaryrefslogtreecommitdiff
path: root/include/crypto/blake2s.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 11:09:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 00:41:38 +0300
commit8786841bc2020f7f2513a6c74e64912f07b9c0dc (patch)
tree9c563ac1b854715fb0efb4e6ce16aeec23318cfe /include/crypto/blake2s.h
parent7d87131fadd53a0401b5c078dd64e58c3ea6994c (diff)
downloadlinux-8786841bc2020f7f2513a6c74e64912f07b9c0dc.tar.xz
crypto: blake2s - adjust include guard naming
Use the full path in the include guards for the BLAKE2s headers to avoid ambiguity and to match the convention for most files in include/crypto/. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/blake2s.h')
-rw-r--r--include/crypto/blake2s.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h
index f1c8330a61a9..3f06183c2d80 100644
--- a/include/crypto/blake2s.h
+++ b/include/crypto/blake2s.h
@@ -3,8 +3,8 @@
* Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
-#ifndef BLAKE2S_H
-#define BLAKE2S_H
+#ifndef _CRYPTO_BLAKE2S_H
+#define _CRYPTO_BLAKE2S_H
#include <linux/types.h>
#include <linux/kernel.h>
@@ -105,4 +105,4 @@ static inline void blake2s(u8 *out, const u8 *in, const u8 *key,
void blake2s256_hmac(u8 *out, const u8 *in, const u8 *key, const size_t inlen,
const size_t keylen);
-#endif /* BLAKE2S_H */
+#endif /* _CRYPTO_BLAKE2S_H */