Tom Cosgrove 87fbfb5d82 SECLIB-667: Accelerate SHA-512 with A64 crypto extensions
Provide an additional pair of #defines, MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
and MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY. At most one of them may be
specified. If used, it is necessary to compile with -march=armv8.2-a+sha3.

The MBEDTLS_SHA512_PROCESS_ALT and MBEDTLS_SHA512_ALT mechanisms
continue to work, and are mutually exclusive with SHA512_USE_A64_CRYPTO.

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

The SHA-512 implementation was originally written by Simon Tatham for PuTTY,
under the MIT licence; dual-licensed as Apache 2 with his kind permission.

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