Skip to content

Commit 8bdc2a1

Browse files
zx2c4torvalds
authored andcommitted
crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE
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>
1 parent e68b823 commit 8bdc2a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ config CRYPTO_LIB_POLY1305_RSIZE
8585
default 11 if X86_64
8686
default 9 if ARM || ARM64
8787
default 1
88+
depends on CRYPTO_LIB_POLY1305
8889

8990
config CRYPTO_ARCH_HAVE_LIB_POLY1305
9091
tristate

0 commit comments

Comments
 (0)