1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASM_X86_SERPENT_AVX_H
3 #define ASM_X86_SERPENT_AVX_H
5 #include <crypto/b128ops.h>
6 #include <crypto/serpent.h>
7 #include <linux/types.h>
9 struct crypto_skcipher
;
11 #define SERPENT_PARALLEL_BLOCKS 8
13 asmlinkage
void serpent_ecb_enc_8way_avx(const void *ctx
, u8
*dst
,
15 asmlinkage
void serpent_ecb_dec_8way_avx(const void *ctx
, u8
*dst
,
18 asmlinkage
void serpent_cbc_dec_8way_avx(const void *ctx
, u8
*dst
,