mbox series

[0/2] relax crypto Kconfig dependencies for fsverity/fscrypt

Message ID 20210416160642.85387-1-ardb@kernel.org (mailing list archive)
Headers show
Series relax crypto Kconfig dependencies for fsverity/fscrypt | expand

Message

Ard Biesheuvel April 16, 2021, 4:06 p.m. UTC
Relax 'select' dependencies to 'imply' for crypto algorithms that are
fulfilled only at runtime, and which may be implemented by other drivers
than the generic ones implemented in C. This permits, e.g., arm64 builds
to omit the generic CRYPTO_SHA256 and CRYPTO_AES drivers, both of which
are superseded by optimized scalar versions at the very least,

Cc: "Theodore Y. Ts'o" <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Eric Biggers <ebiggers@kernel.org>

Ard Biesheuvel (2):
  fscrypt: relax Kconfig dependencies for crypto API algorithms
  fsverity: relax build time dependency on CRYPTO_SHA256

 fs/crypto/Kconfig | 23 ++++++++++++++------
 fs/verity/Kconfig |  8 +++++--
 2 files changed, 22 insertions(+), 9 deletions(-)