Skip to content

Commit

Permalink
crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
zx2c4 authored and torvalds committed May 27, 2022
1 parent e68b823 commit 8bdc2a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bdc2a1

Please sign in to comment.