blob: 7f085f4ff4cf189ad000af4d386e4b87267b73fd [file] [log] [blame]
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +02001/*
2 * Minimal configuration for TLS NSA Suite B Profile (RFC 6460)
3 *
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +02004 * See README.txt for usage instructions.
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +02005 */
6
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +02007#ifndef POLARSSL_CONFIG_H
8#define POLARSSL_CONFIG_H
9
10/* System support */
11#define POLARSSL_HAVE_ASM
12#define POLARSSL_HAVE_TIME
13#define POLARSSL_HAVE_IPV6
14
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020015/* PolarSSL feature support */
16#define POLARSSL_ECP_DP_SECP256R1_ENABLED
17#define POLARSSL_ECP_DP_SECP384R1_ENABLED
18#define POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
19#define POLARSSL_SSL_PROTO_TLS1_2
20
21/* PolarSSL modules */
22#define POLARSSL_AES_C
23#define POLARSSL_ASN1_PARSE_C
24#define POLARSSL_ASN1_WRITE_C
25#define POLARSSL_BIGNUM_C
26#define POLARSSL_CIPHER_C
27#define POLARSSL_CTR_DRBG_C
28#define POLARSSL_ECDH_C
29#define POLARSSL_ECDSA_C
30#define POLARSSL_ECP_C
31#define POLARSSL_ENTROPY_C
32#define POLARSSL_GCM_C
33#define POLARSSL_MD_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_SHA256_C
39#define POLARSSL_SHA512_C
40#define POLARSSL_SSL_CLI_C
41#define POLARSSL_SSL_SRV_C
42#define POLARSSL_SSL_TLS_C
Manuel Pégourié-Gonnard684e9dc2013-09-20 15:11:44 +020043#define POLARSSL_X509_CRT_PARSE_C
44#define POLARSSL_X509_USE_C
45
46/* For test certificates */
47#define POLARSSL_BASE64_C
48#define POLARSSL_CERTS_C
49#define POLARSSL_PEM_PARSE_C
50
51/* For testing with compat.sh */
52#define POLARSSL_FS_IO
53
Manuel Pégourié-Gonnard0bc1f232014-04-30 11:53:50 +020054#endif /* POLARSSL_CONFIG_H */