Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3117023pxa; Tue, 18 Aug 2020 07:06:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb1OtFsTRecGz3B0o84nx+Wesd5/8wfxJtNHymfc2ejHSGI0hpWVOKeBK2PKTf++KxA/y+ X-Received: by 2002:a17:906:5596:: with SMTP id y22mr20136039ejp.471.1597759562867; Tue, 18 Aug 2020 07:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597759562; cv=none; d=google.com; s=arc-20160816; b=pTviCMc8dkrp8nnaaDwnciQ/d7oE+NGI8jXNmHAJZ0Wm0glNabWt4PVysyfth78awE YAq7ezRA6Mlkw1JKGhOxAxBiQcPvZlTrO57NHO9CaUI6eP9iZUjdskYfKQTifptw5Z6h hRshXWrsOKcvaaSrtDogNk07gPrqFjCArD1IBVIcZlMLbsZSfb1lYpzwZhrOFAajnFTo WXUYPQE8HVEjBcCEzqrHLwEKpruxP8mBX8vmDhlbX6w4h4PYINq4Z0C252IHQI1hdKLl nYzMQPXsigY1UfThoHtVDaHQLDWbXcPEAJgi+43EWecq/wkSCa/dcKbuoicORuoCky3I X+3Q== 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=LLF47xcJlgHGSLDKCiyKFbvhX1knQDIsOhwSaKastIU=; b=VGHi/K8uotjcVsAgjjlKSYMUtyaTziohUbd9mtPzsL26oTW/MO5KeUo349AG5VolKp J2/E5hWsq+3yEqyGO3TJuup77Yeabywyn59py1Wk5HjOQN+qPUzoYJdvWyWtfu3dZI4S ppfR5nkHRz+DN8E7oKIrPpvo7N7QJ2cePHllbBB97onxn8hM/tkZceqEw0/5UCWcu7A9 L00kSRMYGv58+cXUfXrQ8unRs8JHW94kNCQxxsugBNrQviFJ961hgtZ6lEYVegrfOQ3Y 07FXheuf5vSfgLUdq4Ei/RfORIqyAmH8YIkgVWhVXTzt4gZ743KkvSXSL6yOGq1akV7l mnbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si12975372ejj.713.2020.08.18.07.05.36; Tue, 18 Aug 2020 07:06:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgHROFg (ORCPT + 99 others); Tue, 18 Aug 2020 10:05:36 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42824 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbgHROFf (ORCPT ); Tue, 18 Aug 2020 10:05:35 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1k82F2-0006ut-AZ; Wed, 19 Aug 2020 00:05:33 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Wed, 19 Aug 2020 00:05:32 +1000 Date: Wed, 19 Aug 2020 00:05:32 +1000 From: Herbert Xu To: Ben Greear Cc: Ard Biesheuvel , Linux Crypto Mailing List , Eric Biggers Subject: Re: [PATCH 0/5] crypto: Implement cmac based on cbc skcipher Message-ID: <20200818140532.GA25807@gondor.apana.org.au> References: <20200802090616.1328-1-ardb@kernel.org> <20200818082410.GA24497@gondor.apana.org.au> <20200818135128.GA25652@gondor.apana.org.au> <2aad9569-877e-4398-88ef-e40d9bbf7656@candelatech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2aad9569-877e-4398-88ef-e40d9bbf7656@candelatech.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Aug 18, 2020 at 06:56:12AM -0700, Ben Greear wrote: > > Herbert, thanks for working on this. If I apply the patches you posted, > that is expected to provide wifi aes decryption speedup similar to what > the original patch I sent does? Or, are additional patches needed? It depends on whether the wifi code uses the async ahash interface, if not it probably won't make much of an impact at all. I just checked and if the code you're using is net/mac80211/aes_cmac.c then it's using shash so it won't really benefit from this. However, there's no reason why mac80211 can't be converted over to async as we did for IPsec. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt