[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220919060342.26400-1-lukas.bulwahn@gmail.com>
Date: Mon, 19 Sep 2022 08:03:42 +0200
From: Lukas Bulwahn <lukas.bulwahn@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Lukas Bulwahn <lukas.bulwahn@...il.com>
Subject: [PATCH] crypto: add rsize config to .config only if lib_poly1305 is set
The config CRYPTO_LIB_POLY1305_RSIZE should only be part of a kernel
build configuration (.config file) when config CRYPTO_LIB_POLY1305 is set.
Add a suitable dependency for CONFIG_CRYPTO_LIB_POLY1305_RSIZE.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@...il.com>
---
lib/crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index 7e9683e9f5c6..71b90952e496 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -84,6 +84,7 @@ config CRYPTO_LIB_DES
config CRYPTO_LIB_POLY1305_RSIZE
int
+ depends on CRYPTO_LIB_POLY1305
default 2 if MIPS
default 11 if X86_64
default 9 if ARM || ARM64
--
2.17.1
Powered by blists - more mailing lists