Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2378467ybe; Tue, 3 Sep 2019 11:58:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3bSS//TNuclK2Fnrjur7pyvAnkqnY8L/yLwkGPUXHt0t43sYAIHkKKgSoDXqNTQG0IaiE X-Received: by 2002:a17:90a:3aa3:: with SMTP id b32mr814683pjc.75.1567537128742; Tue, 03 Sep 2019 11:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567537128; cv=none; d=google.com; s=arc-20160816; b=TxM84RfmU1wvz7xSl5CQHQf5Iq1qDGavs2tIvirqUL55mN86N/ZSQ5MUV1MxGflqmA cGcqeqqZzZr06/XJxz6PKY2mMJF+nTCuF0pJQVZwQdmz/JbMn75FxRvUcti+EdskY3hs JDRm8c5hnDstgBKYlcA6brY52BDpgxIBU9stzBpiAy+4F4utYDI/aaZDVqFt8rxtTbVs 8SvrPBujq/XC8woyJQXnWsaEKtkyEGJ2EYOgDCpTmt67/MTITi+hzFKwkUz9duuZHj4m sIFK2kjSY2pBpe98w2tZ9Ay8sfIAiU2KUpz/CS1N2KVZBYIcKAu7w/tzFK0wl+ZNPK68 U+eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1/gmi+jxzcJ/6zaBTDcps44KK/lfLpcnJE/SuEge67s=; b=Ty61Q9o6avkwquVAj4Fad3A23JAX8rOVK8sniaG1ye0rxp2peqA1UEu7j8qKL2EqWn 8zD5pyH4S+rX8dI6UwVg0AxbnyZG9PYFE9YUj/zeEHO5DRlofW3Gl0Y6l/mssDaSxgZ5 i59C5VJ623nVAvk4rjV4y+VSlhPciZuJrf84fAyiQpMbhra5vq9th16TeC5fEhFpx+rC wtk7/jBLVZc4AQWdo57Mck7r04t8PI/zM2FFyTgi666BavHHOdmrMEbTHRrleFewX/c2 D2SZZ17HDtwyRnaN101i3qXqFCbmBjOM+IOzX/n0mAn9s+UtsHmGhMAJLHtrbqhVcrra l5mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x126si15668950pgx.356.2019.09.03.11.58.34; Tue, 03 Sep 2019 11:58:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726009AbfICS6d (ORCPT + 99 others); Tue, 3 Sep 2019 14:58:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60640 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbfICS6d (ORCPT ); Tue, 3 Sep 2019 14:58:33 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D34562A09B3; Tue, 3 Sep 2019 18:58:32 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EEE6B1001B02; Tue, 3 Sep 2019 18:58:28 +0000 (UTC) Date: Tue, 3 Sep 2019 14:58:28 -0400 From: Mike Snitzer To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, Herbert Xu , Eric Biggers , linux-fscrypt@vger.kernel.org, Gilad Ben-Yossef , dm-devel@redhat.com, Milan Broz Subject: Re: [PATCH v13 6/6] md: dm-crypt: omit parsing of the encapsulated cipher Message-ID: <20190903185827.GD13472@redhat.com> References: <20190819141738.1231-1-ard.biesheuvel@linaro.org> <20190819141738.1231-7-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190819141738.1231-7-ard.biesheuvel@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 03 Sep 2019 18:58:33 +0000 (UTC) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Aug 19 2019 at 10:17am -0400, Ard Biesheuvel wrote: > Only the ESSIV IV generation mode used to use cc->cipher so it could > instantiate the bare cipher used to encrypt the IV. However, this is > now taken care of by the ESSIV template, and so no users of cc->cipher > remain. So remove it altogether. > > Signed-off-by: Ard Biesheuvel Acked-by: Mike Snitzer Might be wise to bump the dm-crypt target's version number (from {1, 19, 0} to {1, 20, 0}) at the end of this patch too though... But again, Herbert please feel free to pull this into your 5.4 branch. Thanks, Mike