crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 26 May 2022 09:35:47 +0000 (11:35 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 May 2022 18:10:21 +0000 (11:10 -0700)
When CRYPTO_LIB_POLY1305 is unset, CRYPTO_LIB_POLY1305_RSIZE
is still set in the Kconfig, cluttering things.

Fix this by making CRYPTO_LIB_POLY1305_RSIZE depend on
CRYPTO_LIB_POLY1305.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crypto/Kconfig

index 379a66d..a80b8c4 100644 (file)
@@ -85,6 +85,7 @@ config CRYPTO_LIB_POLY1305_RSIZE
        default 11 if X86_64
        default 9 if ARM || ARM64
        default 1
+       depends on CRYPTO_LIB_POLY1305
 
 config CRYPTO_ARCH_HAVE_LIB_POLY1305
        tristate