On 10/19/2016 09:37 AM, greearb@xxxxxxxxxxxxxxx wrote:
From: Yauhen Kharuzhy <jekhor@xxxxxxxxx> Add ccm(aes) implementation from linux-wireless mailing list (see http://permalink.gmane.org/gmane.linux.kernel.wireless.general/126679). This eliminates FPU context store/restore overhead existing in more general ccm_base(ctr(aes-aesni),aes-aesni) case in MAC calculation. Convert this patch to new AEAD API. Signed-off-by: Yauhen Kharuzhy <jekhor@xxxxxxxxx> Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx>
I've been using this patch or something similar for a while and it significantly helps me with sw-crypt performance. One version or another has been around the internet for some time, and I am not the originator of this code, but would still be happy to see it upstream if someone can review and bless it. Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com