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>
This commit is contained in:

committed by
Herbert Xu

parent
1c0ab408bb
commit
68289c6343
@@ -5,6 +5,9 @@
|
||||
* Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org>
|
||||
*/
|
||||
|
||||
#ifndef _CRYPTO_SHA256_BASE_H
|
||||
#define _CRYPTO_SHA256_BASE_H
|
||||
|
||||
#include <crypto/internal/hash.h>
|
||||
#include <crypto/sha.h>
|
||||
#include <linux/crypto.h>
|
||||
@@ -123,3 +126,5 @@ static inline int sha256_base_finish(struct shash_desc *desc, u8 *out)
|
||||
*sctx = (struct sha256_state){};
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* _CRYPTO_SHA256_BASE_H */
|
||||
|
Reference in New Issue
Block a user