forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/x86/crypto/twofish-x86_64-asm_64.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-x86_64-asm.S"
....@@ -215,7 +202,7 @@
215202 xor %r8d, d ## D;\
216203 ror $1, d ## D;
217204
218
-ENTRY(twofish_enc_blk)
205
+SYM_FUNC_START(twofish_enc_blk)
219206 pushq R1
220207
221208 /* %rdi contains the ctx address */
....@@ -265,10 +252,10 @@
265252
266253 popq R1
267254 movl $1,%eax
268
- ret
269
-ENDPROC(twofish_enc_blk)
255
+ RET
256
+SYM_FUNC_END(twofish_enc_blk)
270257
271
-ENTRY(twofish_dec_blk)
258
+SYM_FUNC_START(twofish_dec_blk)
272259 pushq R1
273260
274261 /* %rdi contains the ctx address */
....@@ -317,5 +304,5 @@
317304
318305 popq R1
319306 movl $1,%eax
320
- ret
321
-ENDPROC(twofish_dec_blk)
307
+ RET
308
+SYM_FUNC_END(twofish_dec_blk)