hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/include/crypto/sm3_base.h
....@@ -1,21 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sm3_base.h - core logic for SM3 implementations
34 *
45 * Copyright (C) 2017 ARM Limited or its affiliates.
56 * Written by Gilad Ben-Yossef <gilad@benyossef.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
187 */
8
+
9
+#ifndef _CRYPTO_SM3_BASE_H
10
+#define _CRYPTO_SM3_BASE_H
1911
2012 #include <crypto/internal/hash.h>
2113 #include <crypto/sm3.h>
....@@ -115,3 +107,5 @@
115107 *sctx = (struct sm3_state){};
116108 return 0;
117109 }
110
+
111
+#endif /* _CRYPTO_SM3_BASE_H */