[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250418033236.GB38960@quark.localdomain>
Date: Thu, 17 Apr 2025 20:32:36 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: linux-crypto@...r.kernel.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
loongarch@...ts.linux.dev, linux-mips@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-riscv@...ts.infradead.org,
linux-s390@...r.kernel.org, sparclinux@...r.kernel.org,
x86@...nel.org, Jason@...c4.com, ardb@...nel.org
Subject: Re: [PATCH 01/15] crypto: arm - remove CRYPTO dependency of library
functions
On Fri, Apr 18, 2025 at 11:12:33AM +0800, Herbert Xu wrote:
> Eric Biggers <ebiggers@...nel.org> wrote:
> >
> > config CRYPTO_CURVE25519_NEON
> > tristate
> > - depends on KERNEL_MODE_NEON
> > + depends on CRYPTO && KERNEL_MODE_NEON
>
> Rather than adding CRYPTO to each symbol, how about grouping all
> the CRYPTO symbols together under one if statement?
I don't think that would be better. The 'if' would be up to 400 lines long, and
it would be easy for people to miss the context when editing the file.
- Eric
Powered by blists - more mailing lists