From 9999e48639b3cecb08ffb37358bcba3b48161b29 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 08:50:17 +0000 Subject: [PATCH] add ax88772_rst --- kernel/arch/x86/crypto/twofish-x86_64-asm_64.S | 27 +++++++-------------------- 1 files changed, 7 insertions(+), 20 deletions(-) diff --git a/kernel/arch/x86/crypto/twofish-x86_64-asm_64.S b/kernel/arch/x86/crypto/twofish-x86_64-asm_64.S index a350c99..775af29 100644 --- a/kernel/arch/x86/crypto/twofish-x86_64-asm_64.S +++ b/kernel/arch/x86/crypto/twofish-x86_64-asm_64.S @@ -1,20 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /*************************************************************************** * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> * * * -* This program is free software; you can redistribute it and/or modify * -* it under the terms of the GNU General Public License as published by * -* the Free Software Foundation; either version 2 of the License, or * -* (at your option) any later version. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU General Public License for more details. * -* * -* You should have received a copy of the GNU General Public License * -* along with this program; if not, write to the * -* Free Software Foundation, Inc., * -* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ .file "twofish-x86_64-asm.S" @@ -215,7 +202,7 @@ xor %r8d, d ## D;\ ror $1, d ## D; -ENTRY(twofish_enc_blk) +SYM_FUNC_START(twofish_enc_blk) pushq R1 /* %rdi contains the ctx address */ @@ -265,10 +252,10 @@ popq R1 movl $1,%eax - ret -ENDPROC(twofish_enc_blk) + RET +SYM_FUNC_END(twofish_enc_blk) -ENTRY(twofish_dec_blk) +SYM_FUNC_START(twofish_dec_blk) pushq R1 /* %rdi contains the ctx address */ @@ -317,5 +304,5 @@ popq R1 movl $1,%eax - ret -ENDPROC(twofish_dec_blk) + RET +SYM_FUNC_END(twofish_dec_blk) -- Gitblit v1.6.2