Home
last modified time | relevance | path

Searched hist:"9 cd2e73b6a86b2946142306c135647c7f7a9ed85" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/crypto/
H A Daes-gcm-ce.c9cd2e73b6a86b2946142306c135647c7f7a9ed85 Mon Mar 30 12:37:05 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> core: optimize AArch32 AES-GCM routines

In AArch32 there are not enough SIMD registers to make a fused GHASH and
AES-CTR assembly function. But we can do better than using the default
implementation. By carefully using the GHASH and AES primitive assembly
functions there's some gain in performance.

Before this patch throughput was around 12MiB/s to now a bit more than
110MiB/s with blocks of 4096 bytes.

Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>