Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: add header include guards

Add header include guards in case they are included multiple times.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Masahiro Yamada and committed by
Herbert Xu
68289c63 1c0ab408

+25
+5
include/crypto/sha1_base.h
··· 5 5 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> 6 6 */ 7 7 8 + #ifndef _CRYPTO_SHA1_BASE_H 9 + #define _CRYPTO_SHA1_BASE_H 10 + 8 11 #include <crypto/internal/hash.h> 9 12 #include <crypto/sha.h> 10 13 #include <linux/crypto.h> ··· 104 101 *sctx = (struct sha1_state){}; 105 102 return 0; 106 103 } 104 + 105 + #endif /* _CRYPTO_SHA1_BASE_H */
+5
include/crypto/sha256_base.h
··· 5 5 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> 6 6 */ 7 7 8 + #ifndef _CRYPTO_SHA256_BASE_H 9 + #define _CRYPTO_SHA256_BASE_H 10 + 8 11 #include <crypto/internal/hash.h> 9 12 #include <crypto/sha.h> 10 13 #include <linux/crypto.h> ··· 126 123 *sctx = (struct sha256_state){}; 127 124 return 0; 128 125 } 126 + 127 + #endif /* _CRYPTO_SHA256_BASE_H */
+5
include/crypto/sha512_base.h
··· 5 5 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> 6 6 */ 7 7 8 + #ifndef _CRYPTO_SHA512_BASE_H 9 + #define _CRYPTO_SHA512_BASE_H 10 + 8 11 #include <crypto/internal/hash.h> 9 12 #include <crypto/sha.h> 10 13 #include <linux/crypto.h> ··· 129 126 *sctx = (struct sha512_state){}; 130 127 return 0; 131 128 } 129 + 130 + #endif /* _CRYPTO_SHA512_BASE_H */
+5
include/crypto/sm3_base.h
··· 6 6 * Written by Gilad Ben-Yossef <gilad@benyossef.com> 7 7 */ 8 8 9 + #ifndef _CRYPTO_SM3_BASE_H 10 + #define _CRYPTO_SM3_BASE_H 11 + 9 12 #include <crypto/internal/hash.h> 10 13 #include <crypto/sm3.h> 11 14 #include <linux/crypto.h> ··· 107 104 *sctx = (struct sm3_state){}; 108 105 return 0; 109 106 } 107 + 108 + #endif /* _CRYPTO_SM3_BASE_H */
+5
include/uapi/linux/cryptouser.h
··· 19 19 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 20 20 */ 21 21 22 + #ifndef _UAPI_LINUX_CRYPTOUSER_H 23 + #define _UAPI_LINUX_CRYPTOUSER_H 24 + 22 25 #include <linux/types.h> 23 26 24 27 /* Netlink configuration messages. */ ··· 201 198 202 199 #define CRYPTO_REPORT_MAXSIZE (sizeof(struct crypto_user_alg) + \ 203 200 sizeof(struct crypto_report_blkcipher)) 201 + 202 + #endif /* _UAPI_LINUX_CRYPTOUSER_H */