blob: d11251d43c31e321a66f6047cb6501075fffc314 [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 Rodgman7ff79652023-11-03 12:04:52 +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 Schloss1882b9a2019-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
20#ifndef MBEDTLS_CONFIG_H
21#define MBEDTLS_CONFIG_H
22
23/* System support */
24#define MBEDTLS_HAVE_ASM
25#define MBEDTLS_HAVE_TIME
26
Gilles Peskinef08ca832023-09-12 19:21:54 +020027/* Mbed TLS feature support */
Andres AGf84f8922016-09-19 15:33:30 +010028#define MBEDTLS_CIPHER_MODE_CBC
29#define MBEDTLS_CIPHER_PADDING_PKCS7
Gilles Peskine4e117492020-02-26 18:56:08 +010030#define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
Andres AGf84f8922016-09-19 15:33:30 +010031#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
32#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
33#define MBEDTLS_ECP_DP_CURVE25519_ENABLED
34#define MBEDTLS_ECP_NIST_OPTIM
35#define MBEDTLS_ECDSA_DETERMINISTIC
36#define MBEDTLS_PK_RSA_ALT_SUPPORT
37#define MBEDTLS_PKCS1_V15
38#define MBEDTLS_PKCS1_V21
39#define MBEDTLS_SELF_TEST
40#define MBEDTLS_VERSION_FEATURES
Gilles Peskine252e3912020-02-26 18:33:58 +010041#define MBEDTLS_X509_CHECK_KEY_USAGE
42#define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
Andres AGf84f8922016-09-19 15:33:30 +010043
Gilles Peskinef08ca832023-09-12 19:21:54 +020044/* Mbed TLS modules */
Andres AGf84f8922016-09-19 15:33:30 +010045#define MBEDTLS_AES_C
46#define MBEDTLS_ASN1_PARSE_C
47#define MBEDTLS_ASN1_WRITE_C
48#define MBEDTLS_BASE64_C
49#define MBEDTLS_BIGNUM_C
50#define MBEDTLS_CCM_C
51#define MBEDTLS_CIPHER_C
52#define MBEDTLS_ECDSA_C
53#define MBEDTLS_ECP_C
54#define MBEDTLS_ERROR_C
55#define MBEDTLS_GCM_C
56#define MBEDTLS_HMAC_DRBG_C
57#define MBEDTLS_MD_C
58#define MBEDTLS_OID_C
59#define MBEDTLS_PEM_PARSE_C
60#define MBEDTLS_PK_C
61#define MBEDTLS_PK_PARSE_C
62#define MBEDTLS_PK_WRITE_C
63#define MBEDTLS_PLATFORM_C
64#define MBEDTLS_RSA_C
65#define MBEDTLS_SHA256_C
66#define MBEDTLS_SHA512_C
67#define MBEDTLS_VERSION_C
Gilles Peskine252e3912020-02-26 18:33:58 +010068#define MBEDTLS_X509_USE_C
69#define MBEDTLS_X509_CRT_PARSE_C
70#define MBEDTLS_X509_CRL_PARSE_C
Krzysztof Stachowiakab727272018-06-06 13:55:05 +020071//#define MBEDTLS_CMAC_C
Andres AGf84f8922016-09-19 15:33:30 +010072
Andres Amaya Garcia28f320e2017-06-23 13:05:44 +010073/* Miscellaneous options */
74#define MBEDTLS_AES_ROM_TABLES
75
Jaeden Ameroc49fbbf2019-07-04 20:01:14 +010076#include "mbedtls/check_config.h"
Andres AGf84f8922016-09-19 15:33:30 +010077
78#endif /* MBEDTLS_CONFIG_H */