fix wrong typo and indent issue

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-03-14 10:36:47 +08:00
parent fbf9523449
commit b28d55b242
3 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@
* for older compilers.
*/
#define __ARM_FEATURE_AES 1
#define MBEDTLS_NEED_TAGET_OPTIONS
#define MBEDTLS_NEED_TARGET_OPTIONS
#endif
#include <string.h>

View file

@ -41,7 +41,7 @@
* for older compilers.
*/
#define __ARM_FEATURE_SHA2 1
#define MBEDTLS_NEED_TAGET_OPTIONS
#define MBEDTLS_NEED_TARGET_OPTIONS
#endif
#include "common.h"
@ -60,7 +60,7 @@
# if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT) || \
defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
/* *INDENT-OFF* */
# if !defined(__ARM_FEATURE_CRYPTO) || defined(MBEDTLS_NEED_TAGET_OPTIONS)
# if !defined(__ARM_FEATURE_CRYPTO) || defined(MBEDTLS_NEED_TARGET_OPTIONS)
# if defined(__clang__)
# if __clang_major__ < 4
# error "A more recent Clang is required for MBEDTLS_SHA256_USE_A64_CRYPTO_*"

View file

@ -35,7 +35,7 @@
* at the top of this file, before any includes.
*/
#define __ARM_FEATURE_SHA512 1
#define MBEDTLS_NEED_TAGET_OPTIONS
#define MBEDTLS_NEED_TARGET_OPTIONS
#endif
#include "common.h"
@ -74,7 +74,7 @@
* Clang == 13.0.0 same as clang 12 (only seen on macOS)
* Clang >= 13.0.1 has __ARM_FEATURE_SHA512 and intrinsics
*/
# if !defined(__ARM_FEATURE_SHA512) || defined(MBEDTLS_NEED_TAGET_OPTIONS)
# if !defined(__ARM_FEATURE_SHA512) || defined(MBEDTLS_NEED_TARGET_OPTIONS)
/* Test Clang first, as it defines __GNUC__ */
# if defined(__clang__)
# if __clang_major__ < 7