crypto: morus - Mark MORUS SIMD glue as x86-specific

Commit 56e8e57fc3 ("crypto: morus - Add common SIMD glue code for
MORUS") accidetally consiedered the glue code to be usable by different
architectures, but it seems to be only usable on x86.

This patch moves it under arch/x86/crypto and adds 'depends on X86' to
the Kconfig options and also removes the prompt to hide these internal
options from the user.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Ondrej Mosnacek <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Ondrej Mosnacek 2018-05-21 21:41:51 +02:00 • committed by Herbert Xu
commit 2808f17319
5 changed files with 11 additions and 8 deletions

View file

@ -341,7 +341,8 @@ config CRYPTO_MORUS640
Support for the MORUS-640 dedicated AEAD algorithm.
config CRYPTO_MORUS640_GLUE
tristate "MORUS-640 AEAD algorithm (glue for SIMD optimizations)"
tristate
depends on X86
select CRYPTO_AEAD
select CRYPTO_CRYPTD
help
@ -363,7 +364,8 @@ config CRYPTO_MORUS1280
Support for the MORUS-1280 dedicated AEAD algorithm.
config CRYPTO_MORUS1280_GLUE
tristate "MORUS-1280 AEAD algorithm (glue for SIMD optimizations)"
tristate
depends on X86
select CRYPTO_AEAD
select CRYPTO_CRYPTD
help