mbed TLS library
Dependents: HTTPClient-SSL WS_SERVER
configs/config-psk-rc4-tls1_0.h@0:137634ff4186, 2015-06-11 (annotated)
- Committer:
- ansond
- Date:
- Thu Jun 11 03:27:03 2015 +0000
- Revision:
- 0:137634ff4186
initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ansond | 0:137634ff4186 | 1 | /* |
ansond | 0:137634ff4186 | 2 | * Custom compact configuration for TLS 1.0 with PSK and RC4 |
ansond | 0:137634ff4186 | 3 | * Distinguishing features: no bignum, no PK, no X509. |
ansond | 0:137634ff4186 | 4 | * |
ansond | 0:137634ff4186 | 5 | * WARNING: RC4 is in the process of being deprecated! |
ansond | 0:137634ff4186 | 6 | * This configuration is kept for testing purposes only, DO NOT USE it! |
ansond | 0:137634ff4186 | 7 | * For a safe and lean PSK-based configuration, see config-ccm-psk-tls1_2.h |
ansond | 0:137634ff4186 | 8 | * |
ansond | 0:137634ff4186 | 9 | * See README.txt for usage instructions. |
ansond | 0:137634ff4186 | 10 | */ |
ansond | 0:137634ff4186 | 11 | #ifndef POLARSSL_CONFIG_H |
ansond | 0:137634ff4186 | 12 | #define POLARSSL_CONFIG_H |
ansond | 0:137634ff4186 | 13 | |
ansond | 0:137634ff4186 | 14 | /* System support */ |
ansond | 0:137634ff4186 | 15 | #define POLARSSL_HAVE_IPV6 /* Now mandatory for NET_C */ |
ansond | 0:137634ff4186 | 16 | //#define POLARSSL_HAVE_TIME /* Optionnaly used in Hello messages */ |
ansond | 0:137634ff4186 | 17 | /* Other POLARSSL_HAVE_XXX flags irrelevant for this configuration */ |
ansond | 0:137634ff4186 | 18 | |
ansond | 0:137634ff4186 | 19 | /* mbed TLS feature support */ |
ansond | 0:137634ff4186 | 20 | #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED |
ansond | 0:137634ff4186 | 21 | #define POLARSSL_SSL_PROTO_TLS1 |
ansond | 0:137634ff4186 | 22 | #define POLARSSL_SSL_DISABLE_RENEGOTIATION |
ansond | 0:137634ff4186 | 23 | |
ansond | 0:137634ff4186 | 24 | /* mbed TLS modules */ |
ansond | 0:137634ff4186 | 25 | #define POLARSSL_AES_C |
ansond | 0:137634ff4186 | 26 | #define POLARSSL_ARC4_C |
ansond | 0:137634ff4186 | 27 | #define POLARSSL_CIPHER_C |
ansond | 0:137634ff4186 | 28 | #define POLARSSL_CTR_DRBG_C |
ansond | 0:137634ff4186 | 29 | #define POLARSSL_ENTROPY_C |
ansond | 0:137634ff4186 | 30 | #define POLARSSL_MD_C |
ansond | 0:137634ff4186 | 31 | #define POLARSSL_MD5_C |
ansond | 0:137634ff4186 | 32 | #define POLARSSL_NET_C |
ansond | 0:137634ff4186 | 33 | #define POLARSSL_SHA1_C |
ansond | 0:137634ff4186 | 34 | #define POLARSSL_SHA256_C |
ansond | 0:137634ff4186 | 35 | #define POLARSSL_SSL_CLI_C |
ansond | 0:137634ff4186 | 36 | #define POLARSSL_SSL_SRV_C |
ansond | 0:137634ff4186 | 37 | #define POLARSSL_SSL_TLS_C |
ansond | 0:137634ff4186 | 38 | |
ansond | 0:137634ff4186 | 39 | #include "polarssl/check_config.h" |
ansond | 0:137634ff4186 | 40 | |
ansond | 0:137634ff4186 | 41 | #endif /* POLARSSL_CONFIG_H */ |
ansond | 0:137634ff4186 | 42 |