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>
This commit is contained in:
Eric Biggers 2020-12-23 00:09:57 -08:00 committed by Herbert Xu
parent 7d87131fad
commit 8786841bc2
2 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,8 @@
* Keep this in sync with the corresponding BLAKE2b header.
*/
#ifndef BLAKE2S_INTERNAL_H
#define BLAKE2S_INTERNAL_H
#ifndef _CRYPTO_INTERNAL_BLAKE2S_H
#define _CRYPTO_INTERNAL_BLAKE2S_H
#include <crypto/blake2s.h>
#include <crypto/internal/hash.h>
@ -116,4 +116,4 @@ static inline int crypto_blake2s_final(struct shash_desc *desc, u8 *out,
return 0;
}
#endif /* BLAKE2S_INTERNAL_H */
#endif /* _CRYPTO_INTERNAL_BLAKE2S_H */