Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef ASM_X86_SERPENT_AVX_H
0003 #define ASM_X86_SERPENT_AVX_H
0004 
0005 #include <crypto/b128ops.h>
0006 #include <crypto/serpent.h>
0007 #include <linux/types.h>
0008 
0009 struct crypto_skcipher;
0010 
0011 #define SERPENT_PARALLEL_BLOCKS 8
0012 
0013 asmlinkage void serpent_ecb_enc_8way_avx(const void *ctx, u8 *dst,
0014                      const u8 *src);
0015 asmlinkage void serpent_ecb_dec_8way_avx(const void *ctx, u8 *dst,
0016                      const u8 *src);
0017 
0018 asmlinkage void serpent_cbc_dec_8way_avx(const void *ctx, u8 *dst,
0019                      const u8 *src);
0020 
0021 #endif