| 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 | #include <linux/cfi_types.h> |
| 10 | |
| 11 | .file "camellia-x86_64-asm_64.S" |
| 12 | .text |
| 13 | |
| 14 | .extern camellia_sp10011110; |
| 15 | .extern camellia_sp22000222; |
| 16 | .extern camellia_sp03303033; |
| 17 | .extern camellia_sp00444404; |
| 18 | .extern camellia_sp02220222; |
| 19 | .extern camellia_sp30333033; |
| 20 | .extern camellia_sp44044404; |
| 21 | .extern camellia_sp11101110; |
| 22 | |
| 23 | #define sp10011110 camellia_sp10011110 |
| 24 | #define sp22000222 camellia_sp22000222 |
| 25 | #define sp03303033 camellia_sp03303033 |
| 26 | #define sp00444404 camellia_sp00444404 |
| 27 | #define sp02220222 camellia_sp02220222 |
| 28 | #define sp30333033 camellia_sp30333033 |
| 29 | #define sp44044404 camellia_sp44044404 |
| 30 | #define sp11101110 camellia_sp11101110 |
| 31 | |
| 32 | #define CAMELLIA_TABLE_BYTE_LEN 272 |
| 33 | |
| 34 | /* struct camellia_ctx: */ |
| 35 | #define key_table |
|---|