1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /* Copyright (c) 2018, Linaro Limited */
3 #ifndef __MBEDTLS_CONFIG_UTA_H
4 #define __MBEDTLS_CONFIG_UTA_H
5 
6 /*
7  * When wrapping using TEE_BigInt to represent a mbedtls_mpi we can only
8  * use 32-bit arithmetics.
9  */
10 #define MBEDTLS_HAVE_INT32
11 
12 #define MBEDTLS_CIPHER_MODE_CBC
13 #define MBEDTLS_PKCS1_V15
14 
15 #define MBEDTLS_CIPHER_C
16 #define MBEDTLS_DES_C
17 #define MBEDTLS_AES_C
18 #define MBEDTLS_NIST_KW_C
19 #define MBEDTLS_POLY1305_C
20 #define MBEDTLS_CHACHA20_C
21 #define MBEDTLS_CHACHAPOLY_C
22 
23 #define MBEDTLS_SHA1_C
24 #define MBEDTLS_SHA256_C
25 #define MBEDTLS_MD_C
26 #define MBEDTLS_MD5_C
27 
28 #define MBEDTLS_CTR_DRBG_C
29 #define MBEDTLS_ENTROPY_C
30 #define MBEDTLS_NO_PLATFORM_ENTROPY
31 
32 #define MBEDTLS_BIGNUM_C
33 #define MBEDTLS_GENPRIME
34 #define MBEDTLS_RSA_C
35 #define MBEDTLS_ECDH_C
36 #define MBEDTLS_ECDSA_C
37 #define MBEDTLS_ECP_C
38 #define MBEDTLS_ECP_DP_SECP192R1_ENABLED
39 #define MBEDTLS_ECP_DP_SECP224R1_ENABLED
40 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
41 #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
42 #define MBEDTLS_ECP_DP_SECP521R1_ENABLED
43 #define MBEDTLS_ECP_DP_BP256R1_ENABLED
44 #define MBEDTLS_ECP_DP_BP384R1_ENABLED
45 #define MBEDTLS_ECP_DP_BP512R1_ENABLED
46 #define MBEDTLS_ECP_DP_SECP192K1_ENABLED
47 #define MBEDTLS_ECP_DP_SECP224K1_ENABLED
48 #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
49 
50 #define MBEDTLS_PK_C
51 #define MBEDTLS_PK_PARSE_C
52 #define MBEDTLS_PK_WRITE_C
53 #define MBEDTLS_OID_C
54 #define MBEDTLS_ASN1_PARSE_C
55 #define MBEDTLS_ASN1_WRITE_C
56 #define MBEDTLS_X509_CRT_PARSE_C
57 #define MBEDTLS_X509_CRT_WRITE_C
58 #define MBEDTLS_X509_CSR_PARSE_C
59 #define MBEDTLS_X509_CSR_WRITE_C
60 #define MBEDTLS_X509_CREATE_C
61 #define MBEDTLS_X509_CHECK_KEY_USAGE
62 #define MBEDTLS_X509_USE_C
63 #define MBEDTLS_BASE64_C
64 #define MBEDTLS_CERTS_C
65 #define MBEDTLS_PEM_PARSE_C
66 #define MBEDTLS_PEM_WRITE_C
67 
68 #include <mbedtls/check_config.h>
69 
70 #endif /* __MBEDTLS_CONFIG_UTA_H */
71