]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86 - use local headers for x86 specific shared declarations
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Jan 2021 16:48:09 +0000 (17:48 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:30 +0000 (17:10 +1100)
commitccc5900a723af9e2cf91df531f32308446caa090
treeb997499b35f3584dbad9b5cb36a132b4ca9bbd05
parent77effc600b0f23b3cc9da6f092d44e53f5f26b6a
crypto: x86 - use local headers for x86 specific shared declarations

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>
16 files changed:
arch/x86/crypto/camellia.h [new file with mode: 0644]
arch/x86/crypto/camellia_aesni_avx2_glue.c
arch/x86/crypto/camellia_aesni_avx_glue.c
arch/x86/crypto/camellia_glue.c
arch/x86/crypto/serpent-avx.h [new file with mode: 0644]
arch/x86/crypto/serpent-sse2.h [new file with mode: 0644]
arch/x86/crypto/serpent_avx2_glue.c
arch/x86/crypto/serpent_avx_glue.c
arch/x86/crypto/serpent_sse2_glue.c
arch/x86/crypto/twofish.h [new file with mode: 0644]
arch/x86/crypto/twofish_avx_glue.c
arch/x86/crypto/twofish_glue_3way.c
arch/x86/include/asm/crypto/camellia.h [deleted file]
arch/x86/include/asm/crypto/serpent-avx.h [deleted file]
arch/x86/include/asm/crypto/serpent-sse2.h [deleted file]
arch/x86/include/asm/crypto/twofish.h [deleted file]