mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
a04ea6f7ff
The Camellia, Serpent and Twofish related header files only contain declarations that are shared between different implementations of the respective algorithms residing under arch/x86/crypto, and none of their contents should be used elsewhere. So move the header files into the same location, and use local #includes instead. Acked-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
22 lines
518 B
C
22 lines
518 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef ASM_X86_SERPENT_AVX_H
|
|
#define ASM_X86_SERPENT_AVX_H
|
|
|
|
#include <crypto/b128ops.h>
|
|
#include <crypto/serpent.h>
|
|
#include <linux/types.h>
|
|
|
|
struct crypto_skcipher;
|
|
|
|
#define SERPENT_PARALLEL_BLOCKS 8
|
|
|
|
asmlinkage void serpent_ecb_enc_8way_avx(const void *ctx, u8 *dst,
|
|
const u8 *src);
|
|
asmlinkage void serpent_ecb_dec_8way_avx(const void *ctx, u8 *dst,
|
|
const u8 *src);
|
|
|
|
asmlinkage void serpent_cbc_dec_8way_avx(const void *ctx, u8 *dst,
|
|
const u8 *src);
|
|
|
|
#endif
|