hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm64/crypto/sm3-ce-core.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sm3-ce-core.S - SM3 secure hash using ARMv8.2 Crypto Extensions
34 *
45 * Copyright (C) 2018 Linaro Ltd <ard.biesheuvel@linaro.org>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/linkage.h>
....@@ -76,7 +73,7 @@
7673 * int blocks)
7774 */
7875 .text
79
-ENTRY(sm3_ce_transform)
76
+SYM_FUNC_START(sm3_ce_transform)
8077 /* load state */
8178 ld1 {v8.4s-v9.4s}, [x0]
8279 rev64 v8.4s, v8.4s
....@@ -134,7 +131,7 @@
134131 ext v9.16b, v9.16b, v9.16b, #8
135132 st1 {v8.4s-v9.4s}, [x0]
136133 ret
137
-ENDPROC(sm3_ce_transform)
134
+SYM_FUNC_END(sm3_ce_transform)
138135
139136 .section ".rodata", "a"
140137 .align 3