crypto: arm64/gcm - add RFC4106 support
authorArd Biesheuvel <ardb@kernel.org>
Wed, 14 Dec 2022 17:19:55 +0000 (18:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jan 2023 10:29:31 +0000 (18:29 +0800)
commit9e3457112b9d410f0cad760f91728251fef7e3e3
treeb44740be4bea211a1dda3ef0a5a2e763003cd3b3
parent596f674dc9a7b5456f6b01de3211e0b820786dc8
crypto: arm64/gcm - add RFC4106 support

Add support for RFC4106 ESP encapsulation to the accelerated GCM
implementation. This results in a ~10% speedup for IPsec frames of
typical size (~1420 bytes) on Cortex-A53.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/ghash-ce-glue.c