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)
commita04ea6f7ffa27d5825b56cb1591ad0992910992c
treeb997499b35f3584dbad9b5cb36a132b4ca9bbd05
parent64ca771cd6bf48bd01f630ad1440ab151d1d19d5
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]