Received: by 10.223.164.202 with SMTP id h10csp669934wrb; Fri, 10 Nov 2017 12:41:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMZv+5Ayscu7NJOTO6Qmn8mReyXnSmR7lA6ssioDUefKCb5TvwjnHGu10ggmGdxwDfh6Kwk+ X-Received: by 10.98.107.133 with SMTP id g127mr1622024pfc.228.1510346512231; Fri, 10 Nov 2017 12:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510346512; cv=none; d=google.com; s=arc-20160816; b=OMvScLRWWl+Cb0SEZTveCVAgoVjhUZslglwCfZAhOCOvNBHS4xK1yc+AjQgfAe9S2n nSwKMviaFZKEmmbtNNMoAgepJ8v/QdCYbHMDFIwjIq6s+1D8I3e8HIMj0VhmUQdFnNug AibAhr6/B0cbzkBwE0POZbioWPz2bKlGPRoISjtEQmu6eVLJPbgVxrbSMGL7OlDDpAtW RvwgnT02aY3DnwY9AGBx7s6zv+GLeJFK4Raa3Kl15T+OdHMbKJs/NYHvAsfSiIK2jdDJ 9VbVeVJEnH9k2ZfkQnSlGxWv0C6W8nxUdjsmT5de8OfYICrvjTmcRnR1HCuNaKDJIIoX icYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=XnRN+xgvROGQrCJHddMMHYtLpuGMvBFEwdAYjlCZub4=; b=HIYkDzIDmVBlbI9hNdAWQ+s+WmPADda/8OveK0eP2uY2P2l0B8bjPVrFarMt+Lkuis BR0JXSEcsDXqy8kUodhXMNUwCyvQGrK0rG8gmb/leC4SsfbPgkeCsItYztPEgpZKOY44 BqXAbc9kBTrYaQ65OUuKJ5QynfrDYxzhb4eiesfRS3LOwO8hoF9y6n2JGzdzRZ4PBtu8 8GQhXisNhfFyK7RKibJgFAGWG/syHqRXZr7MDBav1eQQ1OcoHgsxLlXcp36AuMnwiavV YdAj5AIt8FDQisOjNKu5qakTF9e1upvUrtsICcJ1Imv2ENB6VdK9QF1zDHshkpuEAM8R 9ALQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r30si9251798pgu.500.2017.11.10.12.41.41; Fri, 10 Nov 2017 12:41:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754011AbdKJUk7 (ORCPT + 82 others); Fri, 10 Nov 2017 15:40:59 -0500 Received: from imap1.codethink.co.uk ([176.9.8.82]:56828 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753686AbdKJUk5 (ORCPT ); Fri, 10 Nov 2017 15:40:57 -0500 Received: from [167.98.27.226] (helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1eDG6h-0006Eo-Sd; Fri, 10 Nov 2017 20:40:56 +0000 Message-ID: <1510346453.2465.60.camel@codethink.co.uk> Subject: Re: [PATCH 4.4 34/46] crypto: xts - Add ECB dependency From: Ben Hutchings To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Milan Broz , Herbert Xu , Sasha Levin Date: Fri, 10 Nov 2017 20:40:53 +0000 In-Reply-To: <20171019134847.472741842@linuxfoundation.org> References: <20171019134845.293630834@linuxfoundation.org> <20171019134847.472741842@linuxfoundation.org> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-10-19 at 15:49 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me > know. > > ------------------ > > From: Milan Broz > > > [ Upstream commit 12cb3a1c4184f891d965d1f39f8cfcc9ef617647 ] > > Since the >    commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40 >    crypto: xts - Convert to skcipher That commit went into 4.10, and not any stable branches. So this fix doesn't appear to be appropriate for the older branches it was applied to. Ben. > the XTS mode is based on ECB, so the mode must select > ECB otherwise it can fail to initialize. > > Signed-off-by: Milan Broz > Signed-off-by: Herbert Xu > Signed-off-by: Sasha Levin > Signed-off-by: Greg Kroah-Hartman > --- >  crypto/Kconfig |    1 + >  1 file changed, 1 insertion(+) > > --- a/crypto/Kconfig > +++ b/crypto/Kconfig > @@ -343,6 +343,7 @@ config CRYPTO_XTS >   select CRYPTO_BLKCIPHER >   select CRYPTO_MANAGER >   select CRYPTO_GF128MUL > + select CRYPTO_ECB >   help >     XTS: IEEE1619/D16 narrow block cipher use with aes-xts- > plain, >     key size 256, 384 or 512 bits. This implementation > currently > > > -- Ben Hutchings Software Developer, Codethink Ltd. From 1581695334131526385@xxx Thu Oct 19 14:10:16 +0000 2017 X-GM-THRID: 1581694204798842048 X-Gmail-Labels: Inbox,Category Forums