Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp708681ybe; Wed, 4 Sep 2019 06:39:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDr+A82sstdeIJMGqV6JNOu09GJRrIoXTx7jpBEbENL3xBea6KlsrZjpenjLOdlYzQ2Dos X-Received: by 2002:a17:90a:9486:: with SMTP id s6mr5268008pjo.0.1567604354586; Wed, 04 Sep 2019 06:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567604354; cv=none; d=google.com; s=arc-20160816; b=oGmOgxjR+dXPKrVXO09aFzBRqHDRxBj12mc+arvvObTjZDqiQ/xtCcCau/aFoEdLj7 Oc+PxIA+UOY1zd03jp0kP6bDQltSgt8MPfHpmFGdi0jnz9nn32JhUZOTaMjDpFYGFRej gNPcbCZxXYEgRc+IhbOAnLszoWoWZgtlscWrZewVFaCBPf9yDefQmg3QQC9rH9yIylM4 B8elxu2EFuHpX0HLi9lRSadwpO3leWkHtT4uIWfheqPnleMYvR4ddl5LRE0WlEtxy618 7/lp3vSkKhpevc2pbTahM2WPz8nsfMC2ImmVoiGiObBsfrt8+jfvmSzc6rS7WGAXqQOL 5bbA== 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=9uLvjL+TrjQQbtlcOJhWGVBhDPY0mcuJNgI7QytPQA4=; b=eYFXKArJi2iwsfBVzB3JuXvSE7sBPeFRWsVr/xHnOHmj94f2cyiJvK6pano6uurWqn veXRZz/9Q+TZmSlIWsCo5Lxrkzarh1Ste5q+35hGXcYR42Y6DN9OEKbMZ/FBEcvH/+FU P0pfThbuiG4+Tyh2uiivLNrXKR1L9j+cMd27L3OtkwvFFNNxXd9bBCh+diJX3eYUCvY1 S3oH/vuZTBj6vukGCRpez4sDSaD9kEFI6XFofDuS8g2pY0+BeEbuE/CajdojKbaBYlLt 07OZA/Gz3I/3MPOFpZp5edwFmBrpgySgaMe3O5EoxZm6yOO0SbTcAn2vzlHr7qe+S4sr 85sg== 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 s4si20588354pfe.173.2019.09.04.06.38.52; Wed, 04 Sep 2019 06:39:14 -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 S1726495AbfIDNin (ORCPT + 99 others); Wed, 4 Sep 2019 09:38:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41984 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730145AbfIDNim (ORCPT ); Wed, 4 Sep 2019 09:38:42 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4F31E109EFC7; Wed, 4 Sep 2019 13:38:42 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4753860166; Wed, 4 Sep 2019 13:38:37 +0000 (UTC) Date: Wed, 4 Sep 2019 09:38:36 -0400 From: Mike Snitzer To: Milan Broz Cc: Ard Biesheuvel , linux-crypto@vger.kernel.org, Herbert Xu , Eric Biggers , linux-fscrypt@vger.kernel.org, Gilad Ben-Yossef , dm-devel@redhat.com Subject: Re: [PATCH v13 6/6] md: dm-crypt: omit parsing of the encapsulated cipher Message-ID: <20190904133836.GA17836@redhat.com> References: <20190819141738.1231-1-ard.biesheuvel@linaro.org> <20190819141738.1231-7-ard.biesheuvel@linaro.org> <20190903185827.GD13472@redhat.com> <403192f0-d1c4-0c60-5af1-7dee8516d629@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <403192f0-d1c4-0c60-5af1-7dee8516d629@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.65]); Wed, 04 Sep 2019 13:38:42 +0000 (UTC) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Sep 04 2019 at 7:01am -0400, Milan Broz wrote: > On 03/09/2019 20:58, Mike Snitzer wrote: > > 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... > > The function should be exactly the same, dependencies on needed modules are set. > > In cryptsetup we always report dm target + kernel version, > so we know that since version 5.4 it uses crypto API for ESSIV. > I think version bump here is really not so important. > > Just my two cents :) Yes, that's fine.. I staged it for 5.4 yesterday without the version bump. Thanks, Mike