Tom Cosgrove f3ebd90a1c SECLIB-667: Accelerate SHA-256 with A64 crypto extensions
Provide an additional pair of #defines, MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT
and MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY. At most one of them may be
specified. If used, it is necessary to compile with -march=armv8-a+crypto.

The MBEDTLS_SHA256_PROCESS_ALT and MBEDTLS_SHA256_ALT mechanisms
continue to work, and are mutually exclusive with A64_CRYPTO.

There should be minimal code size impact if no A64_CRYPTO option is set.

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
2022-02-21 08:37:26 +00:00
..
2021-10-22 22:05:04 +02:00
2021-10-27 11:25:08 +02:00
2021-12-06 18:58:02 +00:00
2021-11-03 16:13:32 +01:00
2021-09-27 16:25:05 +08:00
2022-01-24 10:48:10 -05:00
2021-12-11 15:00:57 +01:00
2021-11-30 15:37:49 +00:00
2021-10-22 22:05:10 +02:00
2022-02-08 10:10:48 +08:00