mbedtls/tests
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
..
.jenkins
configs Add header guard around malloc(0) returning NULL implementation 2022-03-04 05:07:45 -05:00
data_files tests: data_files: Avoid symbolic links 2021-12-10 15:09:57 +01:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Update scripts to use check-names.py 2021-08-06 21:04:32 +01:00
include Merge pull request #3624 from daxtens/timeless 2022-03-15 16:43:19 +00:00
opt-testcases Run TLS 1.3 tests when MBEDTLS_USE_PSA_CRYPTO is enabled 2022-02-11 16:10:44 +01:00
scripts SECLIB-667: Accelerate SHA-512 with A64 crypto extensions 2022-03-23 21:40:53 +00:00
src Merge pull request #5292 from mprse/asym_encrypt 2022-03-10 20:07:38 +01:00
suites Merge pull request #5573 from superna9999/5176-5177-5178-5179-tsl-record-hmac 2022-03-21 11:36:44 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Enable -Wunused-function in cmake builds for tests 2022-02-26 19:54:41 +01:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Fix (d)tls1_2 into (d)tls12 in version options 2021-12-02 13:22:18 +00:00
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #5614 from gabor-mezei-arm/5203_tls_cipher_tickets_use_psa_for_protection 2022-03-17 09:50:09 +01:00