Re: [PATCH] crypto: lib/chachapoly - Drop dependency on CRYPTO_ALGAPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 27, 2025 at 01:59:42PM +0100, Arnd Bergmann wrote:
>
> I think importantly, dropping the 'select CRYPTO_ALGAPI'
> means that the 'depends on CRYPTO' here can also be dropped:
> CRYPTO_LIB_CHACHA20POLY1305 needs nothing else from the
> crypto subsystem. Moreover, CONFIG_WIREGUARD can now drop the
> 'select CRYPTO' because it seems to only need this in
> order to 'select CRYPTO_LIB_CHACHA20POLY1305'.

Yes you can drop it from CHACHA20POLY1305, but you must keep
the 'select CRYPTO' on the individual CHACHA and POLY1305 LIB
options as otherwise the arch options cannot be selected at
all since they're all under CRYPTO.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux