blob: 3bd1b1f3f8d80faed7bc6f73f3d8ca06a917afd6 [file] [log] [blame]
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +02001/*
2 * Minimal configuration for TLS 1.1 (RFC 4346), implementing only the
3 * required ciphersuite: TLS_RSA_WITH_3DES_EDE_CBC_SHA
4 *
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +02005 * See README.txt for usage instructions.
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +02006 */
7
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +02008#ifndef POLARSSL_CONFIG_H
9#define POLARSSL_CONFIG_H
10
11/* System support */
12#define POLARSSL_HAVE_ASM
13#define POLARSSL_HAVE_TIME
14#define POLARSSL_HAVE_IPV6
15
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000016/* mbed TLS feature support */
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020017#define POLARSSL_CIPHER_MODE_CBC
18#define POLARSSL_PKCS1_V15
19#define POLARSSL_KEY_EXCHANGE_RSA_ENABLED
20#define POLARSSL_SSL_PROTO_TLS1_1
Manuel Pégourié-Gonnard86b29082014-11-06 02:28:34 +010021#define POLARSSL_SSL_DISABLE_RENEGOTIATION
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020022
Manuel Pégourié-Gonnardb4fe3cb2015-01-22 16:11:05 +000023/* mbed TLS modules */
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020024#define POLARSSL_AES_C
25#define POLARSSL_ASN1_PARSE_C
26#define POLARSSL_ASN1_WRITE_C
27#define POLARSSL_BIGNUM_C
28#define POLARSSL_CIPHER_C
29#define POLARSSL_CTR_DRBG_C
30#define POLARSSL_DES_C
31#define POLARSSL_ENTROPY_C
32#define POLARSSL_MD_C
33#define POLARSSL_MD5_C
34#define POLARSSL_NET_C
35#define POLARSSL_OID_C
36#define POLARSSL_PK_C
37#define POLARSSL_PK_PARSE_C
38#define POLARSSL_RSA_C
39#define POLARSSL_SHA1_C
40#define POLARSSL_SHA256_C
41#define POLARSSL_SSL_CLI_C
42#define POLARSSL_SSL_SRV_C
43#define POLARSSL_SSL_TLS_C
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020044#define POLARSSL_X509_CRT_PARSE_C
45#define POLARSSL_X509_USE_C
46
47/* For test certificates */
48#define POLARSSL_BASE64_C
49#define POLARSSL_CERTS_C
50#define POLARSSL_PEM_PARSE_C
51
52/* For testing with compat.sh */
53#define POLARSSL_FS_IO
54
Manuel Pégourié-Gonnard725e7f42014-06-23 20:08:39 +020055#include "polarssl/check_config.h"
Manuel Pégourié-Gonnard14d55952014-04-30 12:35:08 +020056
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +020057#endif /* POLARSSL_CONFIG_H */