mirror of https://github.com/torvalds/linux.git
The ARCH_MAY_HAVE patch missed arm64, mips and s390. But it may
also lead to arch options being enabled but ineffective because
of modular/built-in conflicts.
As the primary user of all these options wireguard is selecting
the arch options anyway, make the same selections at the lib/crypto
option level and hide the arch options from the user.
Instead of selecting them centrally from lib/crypto, simply set
the default of each arch option as suggested by Eric Biggers.
Change the Crypto API generic algorithms to select the top-level
lib/crypto options instead of the generic one as otherwise there
is no way to enable the arch options (Eric Biggers). Introduce a
set of INTERNAL options to work around dependency cycles on the
CONFIG_CRYPTO symbol.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| aes-macros.S | ||
| aes-riscv64-glue.c | ||
| aes-riscv64-zvkned-zvbb-zvkg.S | ||
| aes-riscv64-zvkned-zvkb.S | ||
| aes-riscv64-zvkned.S | ||
| chacha-riscv64-glue.c | ||
| chacha-riscv64-zvkb.S | ||
| ghash-riscv64-glue.c | ||
| ghash-riscv64-zvkg.S | ||
| sha256-riscv64-glue.c | ||
| sha256-riscv64-zvknha_or_zvknhb-zvkb.S | ||
| sha512-riscv64-glue.c | ||
| sha512-riscv64-zvknhb-zvkb.S | ||
| sm3-riscv64-glue.c | ||
| sm3-riscv64-zvksh-zvkb.S | ||
| sm4-riscv64-glue.c | ||
| sm4-riscv64-zvksed-zvkb.S | ||