blob: fd1b0e8dcc2bb310726d1240141358adde1c9487 [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é-Gonnard684e9dc2013-09-20 15:11:44 +020016/* PolarSSL feature support */
17#define POLARSSL_CIPHER_MODE_CBC
18#define POLARSSL_PKCS1_V15
19#define POLARSSL_KEY_EXCHANGE_RSA_ENABLED
20#define POLARSSL_SSL_PROTO_TLS1_1
21
22/* PolarSSL modules */
23#define POLARSSL_AES_C
24#define POLARSSL_ASN1_PARSE_C
25#define POLARSSL_ASN1_WRITE_C
26#define POLARSSL_BIGNUM_C
27#define POLARSSL_CIPHER_C
28#define POLARSSL_CTR_DRBG_C
29#define POLARSSL_DES_C
30#define POLARSSL_ENTROPY_C
31#define POLARSSL_MD_C
32#define POLARSSL_MD5_C
33#define POLARSSL_NET_C
34#define POLARSSL_OID_C
35#define POLARSSL_PK_C
36#define POLARSSL_PK_PARSE_C
37#define POLARSSL_RSA_C
38#define POLARSSL_SHA1_C
39#define POLARSSL_SHA256_C
40#define POLARSSL_SSL_CLI_C
41#define POLARSSL_SSL_SRV_C
42#define POLARSSL_SSL_TLS_C
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020043#define POLARSSL_X509_CRT_PARSE_C
44#define POLARSSL_X509_USE_C
45
46/* For test certificates */
47#define POLARSSL_BASE64_C
48#define POLARSSL_CERTS_C
49#define POLARSSL_PEM_PARSE_C
50
51/* For testing with compat.sh */
52#define POLARSSL_FS_IO
53
Manuel Pégourié-Gonnard14d55952014-04-30 12:35:08 +020054#include "check_config.h"
55
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +020056#endif /* POLARSSL_CONFIG_H */