linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Egerer <hakke_007@gmx.de>
To: Stephan Mueller <smueller@chronox.de>
Cc: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au
Subject: Re: [PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV
Date: Mon, 4 Jan 2016 21:43:53 +0100	[thread overview]
Message-ID: <568AD989.8060802@gmx.de> (raw)
In-Reply-To: <4445865.9O5pIU29W2@myon.chronox.de>

Similar to CTR mode selecting CRYPTO_SEQIV, CBC mode requires echainiv
and has to select CRYPTO_ECHAINIV in order to work properly. This solves
the issues caused by a misconfiguration as described in [1].

[1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html

Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
---
crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 7240821..893d93f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -284,6 +284,7 @@ comment "Block modes"
config CRYPTO_CBC
tristate "CBC support"
select CRYPTO_BLKCIPHER
+ select CRYPTO_ECHAINIV
select CRYPTO_MANAGER
help
CBC: Cipher Block Chaining mode
-- 
2.6.4

  reply	other threads:[~2016-01-04 20:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 18:56 [PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV Thomas Egerer
2016-01-04 20:09 ` Stephan Mueller
2016-01-04 20:43   ` Thomas Egerer [this message]
2016-01-08  9:48     ` Herbert Xu
2016-01-10 20:16       ` Thomas Egerer
2016-01-11  3:33         ` Herbert Xu
2016-01-11 10:36           ` Thomas Egerer
2016-01-11 10:38             ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568AD989.8060802@gmx.de \
    --to=hakke_007@gmx.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=smueller@chronox.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).