2013-09-20 13:11:44 +00:00
|
|
|
/*
|
|
|
|
* Custom compact configuration for TLS 1.0 with PSK and RC4
|
|
|
|
* Distinguishing features: no bignum, no PK, no X509.
|
|
|
|
*
|
2014-06-24 14:29:54 +00:00
|
|
|
* WARNING: RC4 is in the process of being deprecated!
|
|
|
|
* This configuration is kept for testing purposes only, DO NOT USE it!
|
|
|
|
* For a safe and lean PSK-based configuration, see config-ccm-psk-tls1_2.h
|
|
|
|
*
|
2014-04-30 09:53:50 +00:00
|
|
|
* See README.txt for usage instructions.
|
2013-09-20 13:11:44 +00:00
|
|
|
*/
|
2014-04-30 09:53:50 +00:00
|
|
|
#ifndef POLARSSL_CONFIG_H
|
|
|
|
#define POLARSSL_CONFIG_H
|
|
|
|
|
|
|
|
/* System support */
|
2014-06-24 20:22:50 +00:00
|
|
|
//#define POLARSSL_HAVE_IPV6 /* Optional */
|
|
|
|
//#define POLARSSL_HAVE_TIME /* Optionnaly used in Hello messages */
|
|
|
|
/* Other POLARSSL_HAVE_XXX flags irrelevant for this configuration */
|
2014-04-30 09:53:50 +00:00
|
|
|
|
2013-09-20 13:11:44 +00:00
|
|
|
/* PolarSSL feature support */
|
|
|
|
#define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
|
|
|
|
#define POLARSSL_SSL_PROTO_TLS1
|
2014-11-06 01:28:34 +00:00
|
|
|
#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
2013-09-20 13:11:44 +00:00
|
|
|
|
|
|
|
/* PolarSSL modules */
|
|
|
|
#define POLARSSL_AES_C
|
|
|
|
#define POLARSSL_ARC4_C
|
|
|
|
#define POLARSSL_CIPHER_C
|
|
|
|
#define POLARSSL_CTR_DRBG_C
|
|
|
|
#define POLARSSL_ENTROPY_C
|
|
|
|
#define POLARSSL_MD_C
|
|
|
|
#define POLARSSL_MD5_C
|
|
|
|
#define POLARSSL_NET_C
|
|
|
|
#define POLARSSL_SHA1_C
|
|
|
|
#define POLARSSL_SHA256_C
|
|
|
|
#define POLARSSL_SSL_CLI_C
|
|
|
|
#define POLARSSL_SSL_SRV_C
|
|
|
|
#define POLARSSL_SSL_TLS_C
|
|
|
|
|
2014-06-23 18:08:39 +00:00
|
|
|
#include "polarssl/check_config.h"
|
2014-04-30 10:35:08 +00:00
|
|
|
|
2014-04-30 09:53:50 +00:00
|
|
|
#endif /* POLARSSL_CONFIG_H */
|