1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|---|
2 | /* |
3 | * Blowfish Cipher Algorithm (x86_64) |
4 | * |
5 | * Copyright (C) 2011 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> |
6 | */ |
7 | |
8 | #include <linux/linkage.h> |
9 | |
10 | .file "blowfish-x86_64-asm.S" |
11 | .text |
12 | |
13 | /* structure of crypto context */ |
14 | #define p 0 |
15 | #define s0 ((16 + 2) * 4) |
16 | #define s1 ((16 + 2 + (1 * 256)) * 4) |
17 | #define s2 ((16 + 2 + (2 * 256)) * 4) |
18 | #define s3 ((16 + 2 + (3 * 256)) * 4) |
19 | |
20 | /* register macros */ |
21 | #define CTX |