From patchwork Mon Jan 4 20:43:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Egerer X-Patchwork-Id: 7951171 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2FCEF9F6CD for ; Mon, 4 Jan 2016 20:43:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 662A120361 for ; Mon, 4 Jan 2016 20:43:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63C0E2034F for ; Mon, 4 Jan 2016 20:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752531AbcADUn0 (ORCPT ); Mon, 4 Jan 2016 15:43:26 -0500 Received: from mout.gmx.net ([212.227.17.21]:63374 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbcADUnZ (ORCPT ); Mon, 4 Jan 2016 15:43:25 -0500 Received: from [192.168.178.113] ([87.157.35.201]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lngv5-1ZjrUr4AEp-00hs8X; Mon, 04 Jan 2016 21:43:23 +0100 Subject: Re: [PATCH] crypto: Make CRYPTO_CBC select CRYPTO_ECHAINIV To: Stephan Mueller References: <568AC07B.8020605@gmx.de> <4445865.9O5pIU29W2@myon.chronox.de> Cc: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au From: Thomas Egerer X-Enigmail-Draft-Status: N1110 Message-ID: <568AD989.8060802@gmx.de> Date: Mon, 4 Jan 2016 21:43:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <4445865.9O5pIU29W2@myon.chronox.de> X-Provags-ID: V03:K0:cIcYGCXdHqZF/8uU7aw4ovXJNzvR1lITPYfB4UhrnPiCe1B2LuD NJpvwZpZvsphGhuS+Ad89/EXDTHkw8O3USAvbF+dkbDknfyzjp7MaxjnJ4uDwCXiulRrwNN Rx7xWb3LuOTR55eqbR6R7/4lJFhxQecjztJPCR3kRr1YhV4/1v2/OC5HkSLmTj3iWoPTyO2 tuv5w7elZahOimqQjLR0Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:1BN5FDisu1Q=:kvq++nnGnQunmDop1HPSbc xTzzNeBR5vQ3t1nJWQx12WRv6mh93auA7OHYn1ZH+Nt5hr5H4MMN9Jz1/PNJkvTZ03muJ5W/0 EJU3n4dROVitsqYgzW6Qy3boPJ4/IoZQ61HkoRfzzi/2FLW9aKT1ezKjN6jB1x6jqQ2hUC72k xwipD3PMBxn5LKpvchAc6mpvKmhFRDutSx4vaPdj1w/dhHG0f+1HYgdSLY9bqKT5dfLj3Zn1j l4v0tAUrxipXU5fg1W4bc8S/2vVynprvy8/ISFLpjNR1iZS9LuRfYtQAvSeZI83XISysj235U VgPWpBVoCwep5x5JIU06Texh7SEXrfziqT3KkbEJdWep5RBJT0qbbyagRFPQLxupgIZJCSJq9 TP8IQ5+7yLGpxBX0i0bOZUF1WLPAhwRvUdCSngBJyuPGJypIHZ18MQpGoKOhSRopu0WJvYkbN E+0dVf5IQm8stmz0b9nbIWMe6MSPdHOnCcGLFol6zKBgJ1E9uiVSccsv8N0EMbquCv5TGvj1q aY5N0FmPwisr3POTEstkU3yt4fsmfJzjj7BSQVE+wIlUvE4zBvLONVMZ7HXLYTp1LwlaEo0Fx bJNEfN83cTJTqFYSqw+H982wgB2XJPd7ULtEmJvWLvRW+p0+k+Y66sAP2v94567BZY/n34N40 JC/rJnfJ5EREroA6T6uSIhMmtzWqYTB6wWKEcj4t2tABFuzKXaMdHrB1MtN1aWZkCIW6VVrpX WIqWbYUfgf50OWtlnRydDGdEP9psL4XKvIWs/lZpx+qhAtgYXa018JJ9SUhN/rdsXSVqspsbI 6z+mn4G Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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