Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1031364pxa; Thu, 20 Aug 2020 00:07:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvwLrjF7UMNJLwLq6z00YAxI1Ceu9m36/G3byKZXkO4U/zjiPCmOsRlbJBVLB7aRAKzXzT X-Received: by 2002:aa7:ca0c:: with SMTP id y12mr1539188eds.251.1597907235503; Thu, 20 Aug 2020 00:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597907235; cv=none; d=google.com; s=arc-20160816; b=PJ5YmWO4lh9W7oCM9t8sPac4GIzCk/UJts/lNcibDllNBuoforBOPuVmOD/VVFSALm ff9mJAomAwyRcStWY6JB4/BMZjhg01efEUV4LLTR4laN5AhxGL1Y+g8uAJE2Al7/Epiv C7CWtzCei+d+NFYbnpk/cdEGmGkojkXICBWw7Bdzh7Pnhz+Ij31g/tq97afE4df/J/Mq BMX18CXGTI/HHF7XzpwCx+rtCCAGUa5BhC1uoTbByufUt76Y+5IyEtos9NFzwO3DMhAX Is3gaGtG6hREYXh8owiDm2rb42hLQOhq41QdEvayWcCjvg/HqvDUKzXak6VUn8olt1hz LAXw== 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=fYifrZEpjun4bcjhBF3E6kMBRSmwkC3OaAcENBK9PEQ=; b=dcDEloHlSQkpH7mvAz8Dvep3YgJT+0LZIaNcezwlffnaNop1qGW+ralzjI7WUtCfVy OAfNve1RW0vSKqaiL00Im+/yuye0E/HhIWe5WYDCQ6/Omle3blOPmFqcBpqL3F7LrS+N ZAgsL/xU+JkDZ1FPUV34RMokYKhkWV4MW5YB5ZR+MD6YfVIaU4C/lmOqmjTx1VfgkEu7 TSYjnFD7kZIlFQ8ehAbvYHbLjfjiCUwSjDFYwvzKmiypiuDZKgfQZS+vLMPZfbyv0G3D M/amqPwhSnx9bnGs3BmPGAf2uLJsrQHZ99XYc+lVe0W9rzFCPIaJvlxR9jau2RU1OAa3 csqA== 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 w25si746309ejy.124.2020.08.20.00.06.50; Thu, 20 Aug 2020 00:07:15 -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 S1725952AbgHTHGs (ORCPT + 99 others); Thu, 20 Aug 2020 03:06:48 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:48916 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbgHTHGr (ORCPT ); Thu, 20 Aug 2020 03:06:47 -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 1k8eer-0005xd-7S; Thu, 20 Aug 2020 17:06:46 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 20 Aug 2020 17:06:45 +1000 Date: Thu, 20 Aug 2020 17:06:45 +1000 From: Herbert Xu To: Ard Biesheuvel Cc: Ben Greear , Linux Crypto Mailing List , Eric Biggers Subject: Re: [PATCH 0/5] crypto: Implement cmac based on cbc skcipher Message-ID: <20200820070645.GA21395@gondor.apana.org.au> References: <20200818140532.GA25807@gondor.apana.org.au> <20200818221550.GA27421@gondor.apana.org.au> <20200818222719.GA27622@gondor.apana.org.au> <20200818223359.GA27712@gondor.apana.org.au> <8b248ef3-d4c7-43fd-6ae4-1c3381597579@candelatech.com> <20200820070142.GA21343@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.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 Thu, Aug 20, 2020 at 09:04:26AM +0200, Ard Biesheuvel wrote: > > I don't disagree with that, especially given all the effort that went > into optimizing FPU preserve/restore on both arm64 and x86. But the > bottom line is that this is what is causing the degradation in Ben's > case, so we cannot disregard it. If he's having problems with the performance when SIMD is in use due to preserve/restore, I'd hate to see his numbers when SIMD is not available. IOW if this really matters to him, then wireless code needs to switch over to ahash. Solving half of the problem simply makes no sense. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt