Julian Hall | a544317 | 2022-05-30 11:52:11 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020-2023, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef CONFIG_LIBMBEDX509_H |
| 8 | #define CONFIG_LIBMBEDX509_H |
| 9 | |
| 10 | /* |
| 11 | * MbedTLS configuration for building libmbedcrypto and libx509 to act as a backend |
| 12 | * for the crypto service provider running in an isolated secure processing environment. |
| 13 | */ |
| 14 | #define MBEDTLS_PSA_CRYPTO_CONFIG |
| 15 | #define MBEDTLS_NO_UDBL_DIVISION |
| 16 | #undef MBEDTLS_HAVE_TIME |
| 17 | #undef MBEDTLS_HAVE_TIME_DATE |
| 18 | #undef MBEDTLS_FS_IO |
| 19 | #define MBEDTLS_ENTROPY_HARDWARE_ALT |
| 20 | #define MBEDTLS_NO_PLATFORM_ENTROPY |
| 21 | #undef MBEDTLS_SELF_TEST |
| 22 | #undef MBEDTLS_PLATFORM_C |
| 23 | #undef MBEDTLS_PSA_ITS_FILE_C |
| 24 | #undef MBEDTLS_TIMING_C |
| 25 | #undef MBEDTLS_AESNI_C |
| 26 | #undef MBEDTLS_AESCE_C |
| 27 | #undef MBEDTLS_PADLOCK_C |
| 28 | |
| 29 | #define MBEDTLS_BIGNUM_C |
| 30 | #define MBEDTLS_X509_USE_C |
| 31 | #define MBEDTLS_X509_CRL_PARSE_C |
| 32 | #define MBEDTLS_X509_CRT_PARSE_C |
| 33 | #define MBEDTLS_PK_PARSE_C |
| 34 | #define MBEDTLS_OID_C |
| 35 | #define MBEDTLS_ASN1_PARSE_C |
| 36 | #define MBEDTLS_PKCS7_C |
| 37 | |
| 38 | #endif /* CONFIG_LIBMBEDX509_H */ |