update document and error message

Chang the spell of armclang

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-05-04 16:37:30 +08:00
parent 6b00f5a135
commit 8e96e78dbe
2 changed files with 3 additions and 3 deletions

View file

@ -3217,7 +3217,7 @@
* for a non-Aarch64 build it will be silently ignored.
*
* \note The code uses the SHA-512 Neon intrinsics, so requires GCC >= 8,
* Clang >= 7 or ArmClang >= 6.10.
* Clang >= 7 or armclang >= 6.10.
*
* \warning MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT cannot be defined at the
* same time as MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY.
@ -3242,7 +3242,7 @@
* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
*
* \note The code uses the SHA-512 Neon intrinsics, so requires GCC >= 8,
* Clang >= 7 or ArmClang >= 6.10.
* Clang >= 7 or armclang >= 6.10.
*
* \warning MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY cannot be defined at the same
* time as MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT.

View file

@ -83,7 +83,7 @@
/* Test Clang first, as it defines __GNUC__ */
# if defined(__ARMCOMPILER_VERSION)
# if __ARMCOMPILER_VERSION < 6090000
# error "A more recent ArmClang is required for MBEDTLS_SHA512_USE_A64_CRYPTO_*"
# error "A more recent armclang is required for MBEDTLS_SHA512_USE_A64_CRYPTO_*"
# endif
# pragma clang attribute push (__attribute__((target("sha3"))), apply_to=function)
# define MBEDTLS_POP_TARGET_PRAGMA