Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp51123pxa; Tue, 18 Aug 2020 15:34:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyfhIvlA9hKNdn9QeCqyEOb6NqSL9UnweMFp/AwMODcSAJShi/Csd27Nfl/27fDAky71HF X-Received: by 2002:a17:906:86c9:: with SMTP id j9mr21888581ejy.5.1597790057911; Tue, 18 Aug 2020 15:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597790057; cv=none; d=google.com; s=arc-20160816; b=rbOtoFEE4CXfCcOI4l3BjNdFiAc5EfEPyKqjF9zWgfa2YWtiF5fgR6GKqUrnzPjRoi hB25aS2wvQ59/utYg60Ehk7VxOV0SDacpR5BekBOPSx9SHkDMOvwouvgESQQBbqwwp59 xOmH6X7EM2BJwYPnzHWadrqw84MNk6U5lB4iMid1MatJA09Q1RxrtmILpEogVLp31hjp kU3wSBidg18FiGDtjUovrHHdDZJQbgrFc+PFpI6blsW3r1VcVoLTBHWlS8ioqWb/x2G/ JDFOH4/hMoqrLh1DXOZsuMrHxfZv/HNBse+8majUHV438kFbPDzl7jmOZLxiuBPYDQgO DpjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:dkim-filter; bh=5xKqXTZizhobRnh2ss98GQcH0QPtflnXcS5fCP316LU=; b=0IJMTKfc5wacS9AX/u3AbYngcS8keJOHxiI/J3kN7UhfdHS1HhAkMI7f9carspnmLS nLxjQ0RuamUUk/BAsysh2C7vlQIcJzJr/IT5RjG8xUqEH2cqAWBwSEdbi8ruMmAJean4 7GfxjTF5JDUASc8LQISIoKIjieOwvwF5s2Yu8ca7ICAt/X0DhuuB+zJBDwrY2GOAymy0 X6QncYxdBXLjcK25wezmhp+Hahdd0p3qYaMHLsVBPJO3QlQJGwNqdg1tgpVDPoSyKBav sZpkSxecbpj0iNZzUE/pIotWXCF89S2d3eEZpgDoD17v+ahX2u0oqvNpskYAReERrMuR lSUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=q32sjsme; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si13706358edn.454.2020.08.18.15.33.53; Tue, 18 Aug 2020 15:34:17 -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; dkim=pass header.i=@candelatech.com header.s=default header.b=q32sjsme; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbgHRWbN (ORCPT + 99 others); Tue, 18 Aug 2020 18:31:13 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:57410 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726766AbgHRWbM (ORCPT ); Tue, 18 Aug 2020 18:31:12 -0400 Received: from [192.168.254.6] (unknown [50.34.202.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id F186913C2B0; Tue, 18 Aug 2020 15:31:10 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com F186913C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1597789871; bh=ESOU0iGO+yz002BDQed4NjjU37hTef+HXGWOhBgBiTI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=q32sjsmeVMBq3RFtpNRKB0WXH5el7AY6HNIhH6yvV2NJY6SY3VzgDuEBKk0wTBF20 T3mFaysgor/freySOmqbhh8jS0uwF+NxcM48jNwk3cADELPuhGvs5+xMBuzOOAM4Kn 5QIUxScT6Rw/XpGC1meEi7SP+AZolS7U0B6xEo44= Subject: Re: [PATCH 0/5] crypto: Implement cmac based on cbc skcipher To: Herbert Xu Cc: Ard Biesheuvel , Linux Crypto Mailing List , Eric Biggers 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> <20200818140532.GA25807@gondor.apana.org.au> <20200818221550.GA27421@gondor.apana.org.au> <20200818222719.GA27622@gondor.apana.org.au> From: Ben Greear Organization: Candela Technologies Message-ID: Date: Tue, 18 Aug 2020 15:31:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200818222719.GA27622@gondor.apana.org.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 8/18/20 3:27 PM, Herbert Xu wrote: > On Wed, Aug 19, 2020 at 08:15:50AM +1000, Herbert Xu wrote: >> On Tue, Aug 18, 2020 at 07:17:35AM -0700, Ben Greear wrote: >>> >>> Is there any easy way to use your work to make shash fast for aesni? I >>> basically just want it to perform as well as it used to with my patch. >> >> Yes. We could add a sync version of aesni that simply falls back >> to aes-generic when simd is unavailable. > > But I think before anyone attempts this we should explore making > mac80211 async like IPsec. Is there any fundamental reason why > that is not possible? Have the wireless people expressed any > objections to making this async before? I don't think it has been discussed recently, but mac80211 is already a complicated beast, so if this added any significant complexity it might not be worth it. Truth is though, I know very little about what changes would be needed to make it do async decrypt, so maybe it would be a simple matter? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com