diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-05-26 11:35:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-05-27 11:10:21 -0700 |
commit | 8bdc2a190105e862dfe7a4033f2fd385b7e58ae8 (patch) | |
tree | 1a9a74c3dbd6ecc758dca2bc88fa16548b761402 /lib/crypto | |
parent | e68b823ab0ba03323805e54743d16200ba0224d4 (diff) | |
download | linux-stable-8bdc2a190105e862dfe7a4033f2fd385b7e58ae8.tar.gz linux-stable-8bdc2a190105e862dfe7a4033f2fd385b7e58ae8.tar.bz2 linux-stable-8bdc2a190105e862dfe7a4033f2fd385b7e58ae8.zip |
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>
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 379a66d7f504..a80b8c4dc2cf 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -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 |