Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp393462pxu; Tue, 1 Dec 2020 14:05:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfgSpi9ajElqj5tbOIxBPe7fKF+97ojHH3+QhyzHuHB1ji1e9iAX0cs2YexeAhrlxu8kIw X-Received: by 2002:aa7:da03:: with SMTP id r3mr5207432eds.155.1606860340051; Tue, 01 Dec 2020 14:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606860340; cv=none; d=google.com; s=arc-20160816; b=KmFQIbjjiqFT5BKWfMBDPyTjzZ1XtiZ8aCSpq3SIs8EGczdFLrpbDdI/lhRNbjNJWr 5gWhv6oLuFzl1FWE2NqrTMFcFFZYUyeA8YYQHWNu44NyJ20IQlh5pEwOox1jUFnoiSeO LwjGRhCuKmGFi3dO5tJhrlV+FDUG0VwmtPwkGfJ5QyB6jhO5MUoNfQ6jVoCSETZ4VMw4 gFOjP4bDa5dajovzEfnI1/8ALPiUCrlAI5SHe0QNatzQNVhxak7bGYzSZ2iDFrEhQGcF AvRab+uWLAl1S2aExKLa5RgQXExYCiqO6lVDKOSPAnpHbt98CjO8sF7qjlsuY1nF9TiU u3Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=UPfJU93N4Log/jOogykh2aL5qBAuvy/6BLeFFO1LwJg=; b=Z+TRNnwDrvDknDLBJB+hn/bE8cIrvdrlT7eUJG9irvkjD5keMsMPf370ebRZprXsFz aK2LIE6IaTfKGkOD/FxFoTUuw3tghyWffA6kuP2p2XzQA2A7nK0kd7Ju/FuZEp1rk5nN 4J+tWbzCP03jpqrlErOtaAXBoDc4RahppT+2It6nFptANw9Zgf27vki9ntCl+QdvrC/C bpXcJzrgxsChkGUwefUeyL4sGygSTTwy325ZFPclyZXbS+RJ968Z2f0eHD9gB//Nl06m hycpHASFzxeIabhEr2RRTzdJZZM4o9d3SZDak/wQqZ8OKXubNkoLzFDxhQtHtXn2H4k7 bREQ== 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 df12si754432edb.5.2020.12.01.14.05.17; Tue, 01 Dec 2020 14:05:40 -0800 (PST) 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 S1730026AbgLAWFQ (ORCPT + 99 others); Tue, 1 Dec 2020 17:05:16 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:51258 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728654AbgLAWFQ (ORCPT ); Tue, 1 Dec 2020 17:05:16 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kkDl9-0001sr-KH; Wed, 02 Dec 2020 09:04:32 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Wed, 02 Dec 2020 09:04:31 +1100 Date: Wed, 2 Dec 2020 09:04:31 +1100 From: Herbert Xu To: Ard Biesheuvel Cc: Linux Crypto Mailing List , Ben Greear , Steve deRosier Subject: Re: [PATCH v2] crypto: aesni - add ccm(aes) algorithm implementation Message-ID: <20201201220431.GA32072@gondor.apana.org.au> References: <20201201194556.5220-1-ardb@kernel.org> <20201201215722.GA31941@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) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Dec 01, 2020 at 11:01:57PM +0100, Ard Biesheuvel wrote: > > This is not the first time this has come up. The point is that CCMP in > the wireless stack is not used in 99% of the cases, given that any > wifi hardware built in the last ~10 years can do it in hardware. Only > in exceptional cases, such as Ben's, is there a need for exercising > this interface. Either it matters or it doesn't. If it doesn't matter why are we having this dicussion at all? If it does then fixing just one direction makes no sense. > Also, care to explain why we have synchronous AEADs in the first place > if they are not supposed to be used? Sync AEADs would make sense if you were dealing with a very small amount of data, e.g., one block. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt