forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/x86/crypto/twofish-i586-asm_32.S
....@@ -1,20 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /***************************************************************************
23 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
34 * *
4
-* This program is free software; you can redistribute it and/or modify *
5
-* it under the terms of the GNU General Public License as published by *
6
-* the Free Software Foundation; either version 2 of the License, or *
7
-* (at your option) any later version. *
8
-* *
9
-* This program is distributed in the hope that it will be useful, *
10
-* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
-* GNU General Public License for more details. *
13
-* *
14
-* You should have received a copy of the GNU General Public License *
15
-* along with this program; if not, write to the *
16
-* Free Software Foundation, Inc., *
17
-* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
185 ***************************************************************************/
196
207 .file "twofish-i586-asm.S"
....@@ -220,7 +207,7 @@
220207 xor %esi, d ## D;\
221208 ror $1, d ## D;
222209
223
-ENTRY(twofish_enc_blk)
210
+SYM_FUNC_START(twofish_enc_blk)
224211 push %ebp /* save registers according to calling convention*/
225212 push %ebx
226213 push %esi
....@@ -273,10 +260,10 @@
273260 pop %ebx
274261 pop %ebp
275262 mov $1, %eax
276
- ret
277
-ENDPROC(twofish_enc_blk)
263
+ RET
264
+SYM_FUNC_END(twofish_enc_blk)
278265
279
-ENTRY(twofish_dec_blk)
266
+SYM_FUNC_START(twofish_dec_blk)
280267 push %ebp /* save registers according to calling convention*/
281268 push %ebx
282269 push %esi
....@@ -330,5 +317,5 @@
330317 pop %ebx
331318 pop %ebp
332319 mov $1, %eax
333
- ret
334
-ENDPROC(twofish_dec_blk)
320
+ RET
321
+SYM_FUNC_END(twofish_dec_blk)