On Mon, Oct 07, 2019 at 06:46:09PM +0200, Ard Biesheuvel wrote: > diff --git a/crypto/Kconfig b/crypto/Kconfig > index b9b0e969a1ce..05e80d7d5e40 100644 > --- a/crypto/Kconfig > +++ b/crypto/Kconfig > @@ -302,6 +302,13 @@ config CRYPTO_GCM > Support for Galois/Counter Mode (GCM) and Galois Message > Authentication Code (GMAC). Required for IPSec. > > +config CRYPTO_LIB_CHACHA20POLY1305 > + tristate "ChaCha20Poly1305 AEAD support (8-byte nonce library version)" > + depends on CRYPTO_ARCH_HAVE_LIB_CHACHA || !CRYPTO_ARCH_HAVE_LIB_CHACHA > + depends on CRYPTO_ARCH_HAVE_LIB_POLY1305 || !CRYPTO_ARCH_HAVE_LIB_POLY1305 > + select CRYPTO_LIB_CHACHA > + select CRYPTO_LIB_POLY1305 > + > config CRYPTO_CHACHA20POLY1305 > tristate "ChaCha20-Poly1305 AEAD support" > select CRYPTO_CHACHA20 Nit: The first kconfig option calls it "ChaCha20Poly1305" while the second calls it "ChaCha20-Poly1305". - Eric