2021-04-21 08:06:50

by Ard Biesheuvel

[permalink] [raw]
Subject: [PATCH v2 0/2] relax crypto Kconfig dependencies for fsverity/fscrypt

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,

Changes since v1:
- use Eric's suggested comment text in patch #1
- add Eric's ack to partch #2

Cc: "Theodore Y. Ts'o" <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Cc: Eric Biggers <[email protected]>

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

fs/crypto/Kconfig | 30 ++++++++++++++------
fs/verity/Kconfig | 8 ++++--
2 files changed, 28 insertions(+), 10 deletions(-)

--
2.30.2


2021-04-22 07:49:06

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] relax crypto Kconfig dependencies for fsverity/fscrypt

Ard Biesheuvel <[email protected]> wrote:
> 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,
>
> Changes since v1:
> - use Eric's suggested comment text in patch #1
> - add Eric's ack to partch #2
>
> Cc: "Theodore Y. Ts'o" <[email protected]>
> Cc: Jaegeuk Kim <[email protected]>
> Cc: Eric Biggers <[email protected]>
>
> Ard Biesheuvel (2):
> fscrypt: relax Kconfig dependencies for crypto API algorithms
> fsverity: relax build time dependency on CRYPTO_SHA256
>
> fs/crypto/Kconfig | 30 ++++++++++++++------
> fs/verity/Kconfig | 8 ++++--
> 2 files changed, 28 insertions(+), 10 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt