.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental |
---|
3 | 4 | * SSE3 instruction set extensions introduced in Intel Core Microarchitecture |
---|
.. | .. |
---|
21 | 22 | * |
---|
22 | 23 | * Converted to AT&T syntax and adapted for inclusion in the Linux kernel: |
---|
23 | 24 | * 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. |
---|
29 | 25 | */ |
---|
30 | 26 | |
---|
31 | 27 | #include <linux/linkage.h> |
---|
.. | .. |
---|
71 | 67 | * param: function's name |
---|
72 | 68 | */ |
---|
73 | 69 | .macro SHA1_VECTOR_ASM name |
---|
74 | | - ENTRY(\name) |
---|
| 70 | + SYM_FUNC_START(\name) |
---|
75 | 71 | |
---|
76 | 72 | push %rbx |
---|
77 | 73 | push %r12 |
---|
.. | .. |
---|
103 | 99 | pop %rbp |
---|
104 | 100 | pop %r12 |
---|
105 | 101 | pop %rbx |
---|
106 | | - ret |
---|
| 102 | + RET |
---|
107 | 103 | |
---|
108 | | - ENDPROC(\name) |
---|
| 104 | + SYM_FUNC_END(\name) |
---|
109 | 105 | .endm |
---|
110 | 106 | |
---|
111 | 107 | /* |
---|
.. | .. |
---|
471 | 467 | */ |
---|
472 | 468 | SHA1_VECTOR_ASM sha1_transform_ssse3 |
---|
473 | 469 | |
---|
474 | | -#ifdef CONFIG_AS_AVX |
---|
475 | | - |
---|
476 | 470 | .macro W_PRECALC_AVX |
---|
477 | 471 | |
---|
478 | 472 | .purgem W_PRECALC_00_15 |
---|
.. | .. |
---|
557 | 551 | * const u8 *data, int blocks); |
---|
558 | 552 | */ |
---|
559 | 553 | SHA1_VECTOR_ASM sha1_transform_avx |
---|
560 | | - |
---|
561 | | -#endif |
---|