mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-05 00:22:11 +03:00
Add new feature test macros
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
48b999cd6e
commit
ae129c3a20
@ -30,6 +30,11 @@
|
|||||||
* at the top of this file, before any includes.
|
* at the top of this file, before any includes.
|
||||||
*/
|
*/
|
||||||
#define __ARM_FEATURE_CRYPTO 1
|
#define __ARM_FEATURE_CRYPTO 1
|
||||||
|
/* See: https://arm-software.github.io/acle/main/acle.html#cryptographic-extensions
|
||||||
|
*
|
||||||
|
* `__ARM_FEATURE_CRYPTO` is deprecated. Reserve it for older compilers.
|
||||||
|
*/
|
||||||
|
#define __ARM_FEATURE_AES 1
|
||||||
#define NEED_TARGET_OPTIONS
|
#define NEED_TARGET_OPTIONS
|
||||||
#endif /* __aarch64__ && __clang__ &&
|
#endif /* __aarch64__ && __clang__ &&
|
||||||
!__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
|
!__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
|
||||||
|
@ -35,6 +35,11 @@
|
|||||||
* at the top of this file, before any includes.
|
* at the top of this file, before any includes.
|
||||||
*/
|
*/
|
||||||
#define __ARM_FEATURE_CRYPTO 1
|
#define __ARM_FEATURE_CRYPTO 1
|
||||||
|
/* See: https://arm-software.github.io/acle/main/acle.html#cryptographic-extensions
|
||||||
|
*
|
||||||
|
* `__ARM_FEATURE_CRYPTO` is deprecated. Reserve it for older compilers.
|
||||||
|
*/
|
||||||
|
#define __ARM_FEATURE_SHA2 1
|
||||||
#define NEED_TARGET_OPTIONS
|
#define NEED_TARGET_OPTIONS
|
||||||
#endif /* __aarch64__ && __clang__ &&
|
#endif /* __aarch64__ && __clang__ &&
|
||||||
!__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
|
!__ARM_FEATURE_CRYPTO && __clang_major__ < 18 && __clang_major__ > 3 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user