| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /*************************************************************************** |
|---|
| 2 | 3 | * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> * |
|---|
| 3 | 4 | * * |
|---|
| 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. * |
|---|
| 18 | 5 | ***************************************************************************/ |
|---|
| 19 | 6 | |
|---|
| 20 | 7 | .file "twofish-x86_64-asm.S" |
|---|
| .. | .. |
|---|
| 215 | 202 | xor %r8d, d ## D;\ |
|---|
| 216 | 203 | ror $1, d ## D; |
|---|
| 217 | 204 | |
|---|
| 218 | | -ENTRY(twofish_enc_blk) |
|---|
| 205 | +SYM_FUNC_START(twofish_enc_blk) |
|---|
| 219 | 206 | pushq R1 |
|---|
| 220 | 207 | |
|---|
| 221 | 208 | /* %rdi contains the ctx address */ |
|---|
| .. | .. |
|---|
| 265 | 252 | |
|---|
| 266 | 253 | popq R1 |
|---|
| 267 | 254 | movl $1,%eax |
|---|
| 268 | | - ret |
|---|
| 269 | | -ENDPROC(twofish_enc_blk) |
|---|
| 255 | + RET |
|---|
| 256 | +SYM_FUNC_END(twofish_enc_blk) |
|---|
| 270 | 257 | |
|---|
| 271 | | -ENTRY(twofish_dec_blk) |
|---|
| 258 | +SYM_FUNC_START(twofish_dec_blk) |
|---|
| 272 | 259 | pushq R1 |
|---|
| 273 | 260 | |
|---|
| 274 | 261 | /* %rdi contains the ctx address */ |
|---|
| .. | .. |
|---|
| 317 | 304 | |
|---|
| 318 | 305 | popq R1 |
|---|
| 319 | 306 | movl $1,%eax |
|---|
| 320 | | - ret |
|---|
| 321 | | -ENDPROC(twofish_dec_blk) |
|---|
| 307 | + RET |
|---|
| 308 | +SYM_FUNC_END(twofish_dec_blk) |
|---|