public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: add rsize config to .config only if lib_poly1305 is set
@ 2022-09-19  6:03 Lukas Bulwahn
  2022-09-19 15:10 ` kernel test robot
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Bulwahn @ 2022-09-19  6:03 UTC (permalink / raw)
  To: Herbert Xu, David S . Miller, linux-crypto
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

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@gmail.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-22  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19  6:03 [PATCH] crypto: add rsize config to .config only if lib_poly1305 is set Lukas Bulwahn
2022-09-19 15:10 ` kernel test robot
2022-09-22  9:20   ` Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox