hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/crypto/sha1_ssse3_asm.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental
34 * SSE3 instruction set extensions introduced in Intel Core Microarchitecture
....@@ -21,11 +22,6 @@
2122 *
2223 * Converted to AT&T syntax and adapted for inclusion in the Linux kernel:
2324 * Author: Mathias Krause <minipli@googlemail.com>
24
- *
25
- * This program is free software; you can redistribute it and/or modify
26
- * it under the terms of the GNU General Public License as published by
27
- * the Free Software Foundation; either version 2 of the License, or
28
- * (at your option) any later version.
2925 */
3026
3127 #include <linux/linkage.h>
....@@ -71,7 +67,7 @@
7167 * param: function's name
7268 */
7369 .macro SHA1_VECTOR_ASM name
74
- ENTRY(\name)
70
+ SYM_FUNC_START(\name)
7571
7672 push %rbx
7773 push %r12
....@@ -103,9 +99,9 @@
10399 pop %rbp
104100 pop %r12
105101 pop %rbx
106
- ret
102
+ RET
107103
108
- ENDPROC(\name)
104
+ SYM_FUNC_END(\name)
109105 .endm
110106
111107 /*
....@@ -471,8 +467,6 @@
471467 */
472468 SHA1_VECTOR_ASM sha1_transform_ssse3
473469
474
-#ifdef CONFIG_AS_AVX
475
-
476470 .macro W_PRECALC_AVX
477471
478472 .purgem W_PRECALC_00_15
....@@ -557,5 +551,3 @@
557551 * const u8 *data, int blocks);
558552 */
559553 SHA1_VECTOR_ASM sha1_transform_avx
560
-
561
-#endif