mbed TLS library

Dependents:   HTTPClient-SSL WS_SERVER

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config-psk-rc4-tls1_0.h Source File

config-psk-rc4-tls1_0.h

00001 /*
00002  * Custom compact configuration for TLS 1.0 with PSK and RC4
00003  * Distinguishing features: no bignum, no PK, no X509.
00004  *
00005  * WARNING: RC4 is in the process of being deprecated!
00006  * This configuration is kept for testing purposes only, DO NOT USE it!
00007  * For a safe and lean PSK-based configuration, see config-ccm-psk-tls1_2.h
00008  *
00009  * See README.txt for usage instructions.
00010  */
00011 #ifndef POLARSSL_CONFIG_H
00012 #define POLARSSL_CONFIG_H
00013 
00014 /* System support */
00015 #define POLARSSL_HAVE_IPV6 /* Now mandatory for NET_C */
00016 //#define POLARSSL_HAVE_TIME /* Optionnaly used in Hello messages */
00017 /* Other POLARSSL_HAVE_XXX flags irrelevant for this configuration */
00018 
00019 /* mbed TLS feature support */
00020 #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
00021 #define POLARSSL_SSL_PROTO_TLS1
00022 #define POLARSSL_SSL_DISABLE_RENEGOTIATION
00023 
00024 /* mbed TLS modules */
00025 #define POLARSSL_AES_C
00026 #define POLARSSL_ARC4_C
00027 #define POLARSSL_CIPHER_C
00028 #define POLARSSL_CTR_DRBG_C
00029 #define POLARSSL_ENTROPY_C
00030 #define POLARSSL_MD_C
00031 #define POLARSSL_MD5_C
00032 #define POLARSSL_NET_C
00033 #define POLARSSL_SHA1_C
00034 #define POLARSSL_SHA256_C
00035 #define POLARSSL_SSL_CLI_C
00036 #define POLARSSL_SSL_SRV_C
00037 #define POLARSSL_SSL_TLS_C
00038 
00039 #include "polarssl/check_config.h"
00040 
00041 #endif /* POLARSSL_CONFIG_H */
00042