Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7734743ybi; Thu, 6 Jun 2019 00:16:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2BfEZW7D2mFAlY+JbYBN5/03DPjXmEO/PELF04OAMve9RQSLgFdQXmp/m5BMogp6p5qVM X-Received: by 2002:a63:d504:: with SMTP id c4mr2019833pgg.20.1559805377333; Thu, 06 Jun 2019 00:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559805377; cv=none; d=google.com; s=arc-20160816; b=vAEXiGyeRtKnJx9SZiLWZKsh65Oat/P++E4HXB4r2s2kQkE04IqvheT4eLAyTvsJDr uPxgMiD1bzaINXQLOGFrOpWHCllZnUiLa2GagPVly1YoKXy1EqEOdDce88eENGGjNKv6 DFMSeV6BPlS1AojwUfJxbrU1iOH9iMgRvU6vGf3HbzK2zvgpC8avnwzwqsxmS9pQq3yv DQxXNxl+ioGJF4xLo7FBqb/5v+GaUOZJtKXsjS2+4HDpp0waUAITAel5nUGZYbwtFcfy QMg8y/YFOz4cyq8u5BeQ+u7vlkTAht3Fene4iweWy7uZ/Ga1p/3azgPWrNeqL9SKH1fZ qq+A== 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=nZqOKPNg0cQAQvGr8XOF+254vV+DK2DycLr9mhL5Vxc=; b=l4TCjeTNiyOdPoS5oyy4+9wfKanhDlnKNwHX3lUb0/AsbD+Na9xRKsS/8ygbdAFuo0 G6+DpLvav270sDwz5MNZcTM9eIk1lux118iNDtxNtg40WNXkUSJDFf9rP8CZuHC3jUtT /UTsEVnVeBYwytLRCFUjTVj7qHx/9wuTW/pELBSOLQmYeitcZLyHLd8MYPsF2nQ38T4p kd47E1II+j/czCE8xt8cK5Z232wFI501u39HMo5uANpYMp6m6LeTBW1iXJEnGziOX2ax e+jZBLUXK2QEwXuuVvFsxT0G+3HVuRvMRxLHhLUYuPcHNtabRk/q1E2QPSQusRir0QSi i+7Q== 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 l1si1180119pjq.82.2019.06.06.00.16.00; Thu, 06 Jun 2019 00:16:17 -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 S1725784AbfFFHP5 (ORCPT + 99 others); Thu, 6 Jun 2019 03:15:57 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:40344 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbfFFHP5 (ORCPT ); Thu, 6 Jun 2019 03:15:57 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hYmcq-0007Nm-Dd; Thu, 06 Jun 2019 15:15:52 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1hYmcm-0006rO-E9; Thu, 06 Jun 2019 15:15:48 +0800 Date: Thu, 6 Jun 2019 15:15:48 +0800 From: Herbert Xu To: Horia Geanta Cc: Ard Biesheuvel , Iuliana Prodan , Eric Biggers , "David S. Miller" , Sascha Hauer , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Linux Kernel Mailing List , dl-linux-imx Subject: Re: [PATCH] crypto: gcm - fix cacheline sharing Message-ID: <20190606071548.5dacz7dnpt2lyrtv@gondor.apana.org.au> References: <20190530142734.qlhgzeal22zxfhk5@gondor.apana.org.au> <20190606063724.n77z7gaf32tmyxng@gondor.apana.org.au> <20190606064603.lvde6dproqi3vwcq@gondor.apana.org.au> <20190606065757.4agqd4poer4rexri@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jun 06, 2019 at 07:10:06AM +0000, Horia Geanta wrote: > > Not really. > I am in favor of using the HW to update the IV, which would work for all > skcipher algorithms. > I have the fix ready, will send it in a couple of days. OK that would be interesting to see. But I presume you are still going to do a copy after the DMA unmap since you can't do DMA to req->iv? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt