OSDN Git Service

crypto: Kconfig - mark unused ciphers as obsolete
authorArd Biesheuvel <ardb@kernel.org>
Fri, 11 Sep 2020 14:11:03 +0000 (17:11 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Sep 2020 07:20:13 +0000 (17:20 +1000)
commit1674aea5f080c9f61424354f6870a548770eb07e
tree7293b54dfd212d5caff6ebfe45f7182aadb8ad1b
parentdbc756fcf7f3b843a3c96ac4d9522a86a757ae58
crypto: Kconfig - mark unused ciphers as obsolete

We have a few interesting pieces in our cipher museum, which are never
used internally, and were only ever provided as generic C implementations.

Unfortunately, we cannot simply remove this code, as we cannot be sure
that it is not being used via the AF_ALG socket API, however unlikely.

So let's mark the Anubis, Khazad, SEED and TEA algorithms as obsolete,
which means they can only be enabled in the build if the socket API is
enabled in the first place.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig