blob: ddb00b41efd0970b5ec003ecbefec8bf38de6393 [file] [log] [blame]
Andres AGf84f8922016-09-19 15:33:30 +01001/**
Darryl Greena40a1012018-01-05 15:33:17 +00002 * \file config-no-entropy.h
Andres AGf84f8922016-09-19 15:33:30 +01003 *
Darryl Greena40a1012018-01-05 15:33:17 +00004 * \brief Minimal configuration of features that do not require an entropy source
5 */
6/*
Bence Szépkúti1e148272020-08-07 13:07:28 +02007 * Copyright The Mbed TLS Contributors
Dave Rodgman16799db2023-11-02 19:47:20 +00008 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Andres AGf84f8922016-09-19 15:33:30 +01009 */
10/*
11 * Minimal configuration of features that do not require an entropy source
Jacob Schlossd8a573b2019-02-27 22:22:00 -080012 * Distinguishing features:
Andres AGf84f8922016-09-19 15:33:30 +010013 * - no entropy module
Andres AG7abc9742016-09-23 17:58:49 +010014 * - no TLS protocol implementation available due to absence of an entropy
15 * source
Andres AGf84f8922016-09-19 15:33:30 +010016 *
17 * See README.txt for usage instructions.
18 */
19
Andres AGf84f8922016-09-19 15:33:30 +010020/* System support */
21#define MBEDTLS_HAVE_ASM
22#define MBEDTLS_HAVE_TIME
23
Gilles Peskinee820c0a2023-08-03 17:45:20 +020024/* Mbed TLS feature support */
Andres AGf84f8922016-09-19 15:33:30 +010025#define MBEDTLS_CIPHER_MODE_CBC
26#define MBEDTLS_CIPHER_PADDING_PKCS7
Andres AGf84f8922016-09-19 15:33:30 +010027#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
Andres AGf84f8922016-09-19 15:33:30 +010037
Gilles Peskinee820c0a2023-08-03 17:45:20 +020038/* Mbed TLS modules */
Andres AGf84f8922016-09-19 15:33:30 +010039#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
Mateusz Starzyk9d2d6c92021-05-18 15:54:20 +020059/* 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. */
Mateusz Starzyke3c48b42021-04-19 16:46:28 +020062#define MBEDTLS_SHA224_C
Mateusz Starzyk6326a8d2021-05-10 13:51:53 +020063#define MBEDTLS_SHA256_C
Mateusz Starzyk3352a532021-04-06 14:28:22 +020064#define MBEDTLS_SHA384_C
Mateusz Starzyk6326a8d2021-05-10 13:51:53 +020065#define MBEDTLS_SHA512_C
Andres AGf84f8922016-09-19 15:33:30 +010066#define MBEDTLS_VERSION_C
Gilles Peskine252e3912020-02-26 18:33:58 +010067#define MBEDTLS_X509_USE_C
68#define MBEDTLS_X509_CRT_PARSE_C
69#define MBEDTLS_X509_CRL_PARSE_C
Krzysztof Stachowiakab727272018-06-06 13:55:05 +020070//#define MBEDTLS_CMAC_C
Andres AGf84f8922016-09-19 15:33:30 +010071
Andres Amaya Garcia28f320e2017-06-23 13:05:44 +010072/* Miscellaneous options */
73#define MBEDTLS_AES_ROM_TABLES