1 | /* SPDX-License-Identifier: GPL-2.0 */ |
---|---|
2 | #ifndef ASM_X86_SERPENT_AVX_H |
3 | #define ASM_X86_SERPENT_AVX_H |
4 | |
5 | #include <crypto/b128ops.h> |
6 | #include <crypto/serpent.h> |
7 | #include <linux/types.h> |
8 | |
9 | struct crypto_skcipher; |
10 | |
11 | #define SERPENT_PARALLEL_BLOCKS 8 |
12 | |
13 | asmlinkage void serpent_ecb_enc_8way_avx(const void *ctx, u8 *dst, |
14 | const u8 *src); |
15 | asmlinkage void serpent_ecb_dec_8way_avx(const void *ctx, u8 *dst, |
16 | const u8 *src); |
17 | |
18 | asmlinkage void serpent_cbc_dec_8way_avx(const void *ctx, u8 *dst, |
19 | const u8 *src); |
20 | |
21 | #endif |
22 |