Re: [PATCH v2] crypto: aesni - add ccm(aes) algorithm implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/1/20 2:04 PM, Herbert Xu wrote:
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.

Sure, I bet some part of the kernel does this.  So let the patch in to
handle that case.  It will just be happy luck that it improves some other
problems as well.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux