]> git.baikalelectronics.ru Git - kernel.git/commit
fscrypt: relax Kconfig dependencies for crypto API algorithms
authorArd Biesheuvel <ardb@kernel.org>
Wed, 21 Apr 2021 07:55:10 +0000 (09:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Apr 2021 07:31:32 +0000 (17:31 +1000)
commit4e9681389e726249497d9caee6c7c75b211a5ed5
treeaf6feab9cc9029f26030280670f982d508ea593b
parentfab0abc30b3f4e07077feed93e39594405c4fd34
fscrypt: relax Kconfig dependencies for crypto API algorithms

Even if FS encryption has strict functional dependencies on various
crypto algorithms and chaining modes. those dependencies could potentially
be satisified by other implementations than the generic ones, and no link
time dependency exists on the 'depends on' claused defined by
CONFIG_FS_ENCRYPTION_ALGS.

So let's relax these clauses to 'imply', so that the default behavior
is still to pull in those generic algorithms, but in a way that permits
them to be disabled again in Kconfig.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
fs/crypto/Kconfig