Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7852691ybi; Thu, 6 Jun 2019 02:34:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvyykcHPBoF0Gb6WTd/VGPdV4nDWESMGtde/wLvUT4UnxbmuPp3K5IEybunUanq6WTt52i X-Received: by 2002:a17:902:e490:: with SMTP id cj16mr48599454plb.136.1559813653486; Thu, 06 Jun 2019 02:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559813653; cv=none; d=google.com; s=arc-20160816; b=PTJe72trAi9TEvytmi3UYYBTBvcyfEmcAGmrmldg0gkS1Qb3llzDb6kvtabHPGfh5Y KQRRe30VN1S2XL+KziOEFVPVcrTrV54z56rEw34cH20YBv5k5uXVZQgXF/ATKBhy7OoO tcofpapJ5vzow3jeAsjFKTE7p+21x5EsudbzRzLQzI8eqjg9Pkfc3SgFxco0sD9FtzKC zigDpaMh8uZE4+EChQ4CnDu5mvcWIjnYPUVL5TahxW2e58NupbZ9QyyE+V82ep6dVqhS fVSZd0oyb3vzu7Yy/HIOnyG8+tFhmeK1RZ1gFd4iwDFVJ7ZkJdtAAjp3B5WY3KCq/O+M JLtw== 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=oBRm8ndmiEaSCfFuqqJioaf299145fjt/CAJ81nxN+g=; b=GJv4lsFI5vmeoyn2kOxmAhzvHVQRVXwPElmdJ/6Ms8Nh5co6eoJFOgV0y49srBM59E x2+XLBq2ERNdx3/SUal4vvpF5NsDCpmQvq5PE15ZNMyr9g4d/eUHk3UgKsG9yGknf5sH g9wNzJRqFPkYmmyJGYozF97diFKF3i8Cckbz5bamdDSWbVdwyOpSWrcJtdteb8uxqGWM 6YS40cCNfDwfZNkYpsVb+WWWk3WAPQ/gUDL1rez0zznzyEQQ/4XQwUhn6f8Wc+mVazvD FXEfLxXOhNDwWoSa8yUYnPyLcSpaj4Akwf4ujFAEPGovvCi1TsALqf4xA/UIfzRcUQjh KfMg== 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 ay11si1346231plb.263.2019.06.06.02.33.53; Thu, 06 Jun 2019 02:34:13 -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 S1727841AbfFFJdp (ORCPT + 99 others); Thu, 6 Jun 2019 05:33:45 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:46910 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727539AbfFFJdp (ORCPT ); Thu, 6 Jun 2019 05:33:45 -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 1hYomC-00026V-Bz; Thu, 06 Jun 2019 17:33:40 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1hYom8-00075K-GE; Thu, 06 Jun 2019 17:33:36 +0800 Date: Thu, 6 Jun 2019 17:33:36 +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: <20190606093336.4q3ovwgs25qlwqhm@gondor.apana.org.au> References: <20190606063724.n77z7gaf32tmyxng@gondor.apana.org.au> <20190606064603.lvde6dproqi3vwcq@gondor.apana.org.au> <20190606065757.4agqd4poer4rexri@gondor.apana.org.au> <20190606071548.5dacz7dnpt2lyrtv@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 08:36:52AM +0000, Horia Geanta wrote: > > Yes, an internally kmalloc-ed buffer is used for storing the IV (both input and > output IV). > Once HW finishes the job, area is DMA unmapped and then output IV is copied into > req->iv. That sounds good to me. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt