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_CRYPTO_POSIX_H |
| 8 | #define CONFIG_CRYPTO_POSIX_H |
| 9 | |
| 10 | /* |
| 11 | * Mbed TLS configuration for using libmbedcrypto in |
| 12 | * a Posix environment (normal world demo and test applications). |
| 13 | */ |
Gabor Toth | 4ad8b99 | 2024-08-13 10:41:48 +0200 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * Enable using crypto_config.h, but do not define custom crypto header with |
| 17 | * MBEDTLS_PSA_CRYPTO_CONFIG_FILE to enable all the supported algorithms. |
| 18 | */ |
Julian Hall | a544317 | 2022-05-30 11:52:11 +0100 | [diff] [blame] | 19 | #define MBEDTLS_PSA_CRYPTO_CONFIG |
Gabor Toth | 4ad8b99 | 2024-08-13 10:41:48 +0200 | [diff] [blame] | 20 | |
| 21 | #define MBEDTLS_BASE64_C |
| 22 | #define MBEDTLS_BIGNUM_C |
| 23 | #define MBEDTLS_ECP_NIST_OPTIM |
| 24 | #define MBEDTLS_ENTROPY_C |
| 25 | #define MBEDTLS_HAVE_ASM |
| 26 | #define MBEDTLS_LMS_C |
| 27 | #define MBEDTLS_NIST_KW_C |
Julian Hall | a544317 | 2022-05-30 11:52:11 +0100 | [diff] [blame] | 28 | #define MBEDTLS_NO_UDBL_DIVISION |
Gabor Toth | 4ad8b99 | 2024-08-13 10:41:48 +0200 | [diff] [blame] | 29 | #define MBEDTLS_OID_C |
| 30 | #define MBEDTLS_PKCS12_C |
| 31 | #define MBEDTLS_PKCS5_C |
| 32 | #define MBEDTLS_PK_C |
| 33 | #define MBEDTLS_PK_PARSE_C |
| 34 | #define MBEDTLS_PK_WRITE_C |
| 35 | #define MBEDTLS_PSA_CRYPTO_C |
| 36 | #define MBEDTLS_X509_CRL_PARSE_C |
| 37 | #define MBEDTLS_X509_CRT_PARSE_C |
| 38 | #define MBEDTLS_X509_USE_C |
Julian Hall | a544317 | 2022-05-30 11:52:11 +0100 | [diff] [blame] | 39 | |
| 40 | #endif /* CONFIG_CRYPTO_POSIX_H */ |