Re: [PATCH] crypto: caam - enable hash api only on ARM platforms per default
From: Horia Geanta
Date: Fri Jul 05 2024 - 05:39:39 EST
On 6/26/2024 6:57 PM, Marco Felsch wrote:
> Tests showed that ARMv8-A crypto extensions as implemented on the ARM
> Cortex-A53 on the i.MX8M family of processors are substantially faster
> than the same primitives offered by the CAAM.
>
I disagree with compiling out the hash support.
If needed, algorithm priority could be changed - even at runtime,
using NETLINK_CRYPTO messages (needs CONFIG_CRYPTO_USER=y/m).
Thanks,
Horia