Thread (9 messages) 9 messages, 2 authors, 2017-05-18

Re: [PATCH 0/7] crypto: aesni: provide generic gcm(aes)

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-05-18 05:28:47
Also in: linux-crypto, lkml

On Fri, Apr 28, 2017 at 06:11:55PM +0200, Sabrina Dubroca wrote:
The current aesni AES-GCM implementation only offers support for
rfc4106(gcm(aes)).  This makes some things a little bit simpler
(handling of associated data and authentication tag), but it means
that non-IPsec users of gcm(aes) have to rely on
gcm_base(ctr-aes-aesni,ghash-clmulni), which is much slower.

This patchset adds handling of all valid authentication tag lengths
and of any associated data length to the assembly code, and exposes a
generic gcm(aes) AEAD algorithm to the crypto API.

With these patches, performance of MACsec on a single core increases
by 40% (from 4.5Gbps to around 6.3Gbps).
All patches applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help