From: Eric Biggers <ebigg...@google.com>

Since CRYPTO_CTR no longer selects CRYPTO_SEQIV, it should be selected
by INET_ESP and INET6_ESP -- similar to CRYPTO_ECHAINIV.

Fixes: f23efcbcc523 ("crypto: ctr - no longer needs CRYPTO_SEQIV")
Cc: Corentin Labbe <cla...@baylibre.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Herbert Xu <herb...@gondor.apana.org.au>
Cc: Steffen Klassert <steffen.klass...@secunet.com>
Signed-off-by: Eric Biggers <ebigg...@google.com>
---
 net/ipv4/Kconfig | 1 +
 net/ipv6/Kconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig
index 23ba5045e3d3..d393e8132aa1 100644
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -361,6 +361,7 @@ config INET_ESP
        select CRYPTO_SHA1
        select CRYPTO_DES
        select CRYPTO_ECHAINIV
+       select CRYPTO_SEQIV
        ---help---
          Support for IPsec ESP.
 
diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig
index 4f03aece2980..f2f4563c8dbf 100644
--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -70,6 +70,7 @@ config INET6_ESP
        select CRYPTO_SHA1
        select CRYPTO_DES
        select CRYPTO_ECHAINIV
+       select CRYPTO_SEQIV
        ---help---
          Support for IPsec ESP.
 
-- 
2.27.0.278.ge193c7cf3a9-goog

Reply via email to