Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Custom compact configuration for TLS 1.0 with PSK and RC4 |
| 3 | * Distinguishing features: no bignum, no PK, no X509. |
| 4 | * |
Manuel Pégourié-Gonnard | 4d9b784 | 2014-06-24 16:29:54 +0200 | [diff] [blame] | 5 | * WARNING: RC4 is in the process of being deprecated! |
| 6 | * This configuration is kept for testing purposes only, DO NOT USE it! |
| 7 | * For a safe and lean PSK-based configuration, see config-ccm-psk-tls1_2.h |
| 8 | * |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 9 | * See README.txt for usage instructions. |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 10 | */ |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 11 | #ifndef POLARSSL_CONFIG_H |
| 12 | #define POLARSSL_CONFIG_H |
| 13 | |
| 14 | /* System support */ |
Manuel Pégourié-Gonnard | a98af5e | 2015-04-09 14:40:46 +0200 | [diff] [blame] | 15 | #define POLARSSL_HAVE_IPV6 /* Now mandatory for NET_C */ |
Manuel Pégourié-Gonnard | 0389b54 | 2014-06-24 22:22:50 +0200 | [diff] [blame] | 16 | //#define POLARSSL_HAVE_TIME /* Optionnaly used in Hello messages */ |
| 17 | /* Other POLARSSL_HAVE_XXX flags irrelevant for this configuration */ |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 18 | |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 19 | /* mbed TLS feature support */ |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 20 | #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED |
| 21 | #define POLARSSL_SSL_PROTO_TLS1 |
Manuel Pégourié-Gonnard | 86b2908 | 2014-11-06 02:28:34 +0100 | [diff] [blame] | 22 | #define POLARSSL_SSL_DISABLE_RENEGOTIATION |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 23 | |
Manuel Pégourié-Gonnard | b4fe3cb | 2015-01-22 16:11:05 +0000 | [diff] [blame] | 24 | /* mbed TLS modules */ |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 25 | #define POLARSSL_AES_C |
| 26 | #define POLARSSL_ARC4_C |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 27 | #define POLARSSL_CIPHER_C |
| 28 | #define POLARSSL_CTR_DRBG_C |
| 29 | #define POLARSSL_ENTROPY_C |
| 30 | #define POLARSSL_MD_C |
| 31 | #define POLARSSL_MD5_C |
| 32 | #define POLARSSL_NET_C |
Manuel Pégourié-Gonnard | 684e9dc | 2013-09-20 15:11:44 +0200 | [diff] [blame] | 33 | #define POLARSSL_SHA1_C |
| 34 | #define POLARSSL_SHA256_C |
| 35 | #define POLARSSL_SSL_CLI_C |
| 36 | #define POLARSSL_SSL_SRV_C |
| 37 | #define POLARSSL_SSL_TLS_C |
| 38 | |
Manuel Pégourié-Gonnard | 725e7f4 | 2014-06-23 20:08:39 +0200 | [diff] [blame] | 39 | #include "polarssl/check_config.h" |
Manuel Pégourié-Gonnard | 14d5595 | 2014-04-30 12:35:08 +0200 | [diff] [blame] | 40 | |
Manuel Pégourié-Gonnard | 0bc1f23 | 2014-04-30 11:53:50 +0200 | [diff] [blame] | 41 | #endif /* POLARSSL_CONFIG_H */ |