1 /**
2  * \file config-no-entropy.h
3  *
4  * \brief Minimal configuration of features that do not require an entropy source
5  */
6 /*
7  *  Copyright The Mbed TLS Contributors
8  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9  */
10 /*
11  * Minimal configuration of features that do not require an entropy source
12  * Distinguishing features:
13  * - no entropy module
14  * - no TLS protocol implementation available due to absence of an entropy
15  *   source
16  *
17  * See README.txt for usage instructions.
18  */
19 
20 /* System support */
21 #define MBEDTLS_HAVE_ASM
22 #define MBEDTLS_HAVE_TIME
23 
24 /* Mbed TLS feature support */
25 #define MBEDTLS_CIPHER_MODE_CBC
26 #define MBEDTLS_CIPHER_PADDING_PKCS7
27 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
28 #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
29 #define MBEDTLS_ECP_DP_CURVE25519_ENABLED
30 #define MBEDTLS_ECP_NIST_OPTIM
31 #define MBEDTLS_ECDSA_DETERMINISTIC
32 #define MBEDTLS_PK_RSA_ALT_SUPPORT
33 #define MBEDTLS_PKCS1_V15
34 #define MBEDTLS_PKCS1_V21
35 #define MBEDTLS_SELF_TEST
36 #define MBEDTLS_VERSION_FEATURES
37 
38 /* Mbed TLS modules */
39 #define MBEDTLS_AES_C
40 #define MBEDTLS_ASN1_PARSE_C
41 #define MBEDTLS_ASN1_WRITE_C
42 #define MBEDTLS_BASE64_C
43 #define MBEDTLS_BIGNUM_C
44 #define MBEDTLS_CCM_C
45 #define MBEDTLS_CIPHER_C
46 #define MBEDTLS_ECDSA_C
47 #define MBEDTLS_ECP_C
48 #define MBEDTLS_ERROR_C
49 #define MBEDTLS_GCM_C
50 #define MBEDTLS_HMAC_DRBG_C
51 #define MBEDTLS_MD_C
52 #define MBEDTLS_OID_C
53 #define MBEDTLS_PEM_PARSE_C
54 #define MBEDTLS_PK_C
55 #define MBEDTLS_PK_PARSE_C
56 #define MBEDTLS_PK_WRITE_C
57 #define MBEDTLS_PLATFORM_C
58 #define MBEDTLS_RSA_C
59 /* The library does not currently support enabling SHA-224 without SHA-256.
60  * A future version of the library will have this option disabled
61  * by default. */
62 #define MBEDTLS_SHA224_C
63 #define MBEDTLS_SHA256_C
64 #define MBEDTLS_SHA384_C
65 #define MBEDTLS_SHA512_C
66 #define MBEDTLS_VERSION_C
67 #define MBEDTLS_X509_USE_C
68 #define MBEDTLS_X509_CRT_PARSE_C
69 #define MBEDTLS_X509_CRL_PARSE_C
70 //#define MBEDTLS_CMAC_C
71 
72 /* Miscellaneous options */
73 #define MBEDTLS_AES_ROM_TABLES
74