Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3319268ybl; Mon, 19 Aug 2019 16:37:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKsNuKMCKllJDZ2mkViNnG7CqiECynzWT2KCAtQTCqLPft8xO+L2I+E52KoBVTv4k5+buK X-Received: by 2002:a17:90a:ba8e:: with SMTP id t14mr24107205pjr.116.1566257823441; Mon, 19 Aug 2019 16:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566257823; cv=none; d=google.com; s=arc-20160816; b=HfzS4JnHw/uHvrJrPy2EEWITwRkbhntTohDXV1zEH9TOl4AMVdlF83OpKu6w5YDDBx 3s2/A5fcplEOKGkrI95bjwGSSfJLJoAO/oORPexNbR2z2m6vSziX/CxU1UyjT61fBzBP 4Rs8GQ5I3C8ENqtCRjQdX3vN3xbqVbmx7wSBGUe9ZaP+et3ZNLe37MeJIpyC3YdN1PBQ cHlNv9opZDhe7OMnkWlfLlXkD71Xalqz/4PII6grmKZfALDRV2pPA5ODnXO6kjsV60oy al3PzPAL27Ex0XXR9KbGunSbIycQrjPIlj+JIUm2y+1cTmFCaHZev38dq2lQKrUj9ufF 6OPg== 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=UZ+4CRIYMgh6p8snSiuuFx0NKhbxgfb/AkLnbU162QU=; b=dF+JY27SUVr769AnR/hXmTP0ZoNlMNdS5VIuFRz93m66YHNds3h70zin3Ijym/zvBd Gj13SpiRN18Pft9VC59cm33fz8vmWwUNy9YaRLx5YqzRPI/sP6qzRRQbs9OmD2WoCjTw 27Pq2bjSkIN//ZGUwz/sJmg+xM+YRiHGqm2FTAL38iYOjukGpyoaqi2FMRyATiUQjllm 5rzUswkUa7uBfaX27+w4A2lcJSO1jMQmxrxpuBzfu8lhkCW574ueY2Zsvuk1R66A9aP5 Hb6gCK5dZgO3/I/N/5Q3H4TC5JQfWHy7JxdmvOcjils9yFP2fWJJk7RbptZZFSEJR55d SyqA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si10631267pgw.444.2019.08.19.16.36.40; Mon, 19 Aug 2019 16:37:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728741AbfHSXfw (ORCPT + 99 others); Mon, 19 Aug 2019 19:35:52 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:57882 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728734AbfHSXfv (ORCPT ); Mon, 19 Aug 2019 19:35:51 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6] helo=gondolin.hengli.com.au) by fornost.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hzrBd-0002PV-AY; Tue, 20 Aug 2019 09:35:41 +1000 Received: from herbert by gondolin.hengli.com.au with local (Exim 4.80) (envelope-from ) id 1hzrBa-0002OH-P6; Tue, 20 Aug 2019 09:35:38 +1000 Date: Tue, 20 Aug 2019 09:35:38 +1000 From: Herbert Xu To: Ard Biesheuvel Cc: "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Eric Biggers , device-mapper development , linux-fscrypt@vger.kernel.org, Gilad Ben-Yossef , Milan Broz Subject: Re: [PATCH v12 1/4] crypto: essiv - create wrapper template for ESSIV generation Message-ID: <20190819233538.GB9089@gondor.apana.org.au> References: <20190815192858.28125-1-ard.biesheuvel@linaro.org> <20190815192858.28125-2-ard.biesheuvel@linaro.org> <20190819063218.GA31821@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 05:14:25PM +0300, Ard Biesheuvel wrote: > > OK, but it should be the cra_driver_name not the cra_name. Otherwise, > allocating essiv(cbc(aes),sha256-generic) may end up using a different > implementation of sha256, which would be bad. I agree. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt