1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* |
3 | * Camellia Cipher Algorithm (x86_64) |
4 | * |
5 | * Copyright (C) 2012 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> |
6 | */ |
7 | |
8 | #include <linux/linkage.h> |
9 | |
10 | .file "camellia-x86_64-asm_64.S" |
11 | .text |
12 | |
13 | .extern camellia_sp10011110; |
14 | .extern camellia_sp22000222; |
15 | .extern camellia_sp03303033; |
16 | .extern camellia_sp00444404; |
17 | .extern camellia_sp02220222; |
18 | .extern camellia_sp30333033; |
19 | .extern camellia_sp44044404; |
20 | .extern camellia_sp11101110; |
21 | |
22 | #define sp10011110 camellia_sp10011110 |
23 | #define sp22000222 camellia_sp22000222 |
24 | #define sp03303033 camellia_sp03303033 |
25 | #define sp00444404 camellia_sp00444404 |
26 | #define sp02220222 camellia_sp02220222 |
27 | #define sp30333033 camellia_sp30333033 |
28 | #define sp44044404 camellia_sp44044404 |
29 | #define sp11101110 camellia_sp11101110 |
30 | |
31 | #define CAMELLIA_TABLE_BYTE_LEN 272 |
32 | |
33 | /* struct camellia_ctx: */ |
34 | #define key_table |
---|