Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 1 | /* |
| 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é-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 5 | * See README.txt for usage instructions. |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 8 | #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é-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 16 | /* mbed TLS feature support */ |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 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 |
Manuel Pégourié-Gonnard | 86b2908 | 2014-11-06 02:28:34 +0100 | [diff] [blame] | 21 | #define POLARSSL_SSL_DISABLE_RENEGOTIATION |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 22 | |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 23 | /* mbed TLS modules */ |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 24 | #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é-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 44 | #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é-Gonnard | 725e7f4 | 2014-06-23 20:08:39 +0200 | [diff] [blame] | 55 | #include "polarssl/check_config.h" |
Manuel Pégourié-Gonnard | 14d5595 | 2014-04-30 12:35:08 +0200 | [diff] [blame] | 56 | |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 57 | #endif /* POLARSSL_CONFIG_H */ |