Rough and ready port of axTLS

Committer:
ashleymills
Date:
Mon May 13 18:15:18 2013 +0000
Revision:
0:5a29fd060ac8
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ashleymills 0:5a29fd060ac8 1 #ifndef CONFIG_H
ashleymills 0:5a29fd060ac8 2 #define CONFIG_H
ashleymills 0:5a29fd060ac8 3 #define CONFIG_DEBUG
ashleymills 0:5a29fd060ac8 4 #define CONFIG_STRIP_UNWANTED_SECTIONS 1
ashleymills 0:5a29fd060ac8 5
ashleymills 0:5a29fd060ac8 6 /*
ashleymills 0:5a29fd060ac8 7 * BigInt Options
ashleymills 0:5a29fd060ac8 8 */
ashleymills 0:5a29fd060ac8 9 #define CONFIG_BIGINT_BARRETT 1
ashleymills 0:5a29fd060ac8 10 #define CONFIG_BIGINT_CRT 1
ashleymills 0:5a29fd060ac8 11 #define CONFIG_INTEGER_32BIT 1
ashleymills 0:5a29fd060ac8 12
ashleymills 0:5a29fd060ac8 13 /*
ashleymills 0:5a29fd060ac8 14 * SSL Library
ashleymills 0:5a29fd060ac8 15 */
ashleymills 0:5a29fd060ac8 16 #define CONFIG_SSL_ENABLE_CLIENT 1
ashleymills 0:5a29fd060ac8 17 //#define CONFIG_SSL_SKELETON_MODE
ashleymills 0:5a29fd060ac8 18 //#define CONFIG_SSL_PROT_LOW 1
ashleymills 0:5a29fd060ac8 19 //#undef CONFIG_SSL_PROT_MEDIUM
ashleymills 0:5a29fd060ac8 20 //#undef CONFIG_SSL_PROT_HIGH
ashleymills 0:5a29fd060ac8 21 #define CONFIG_SSL_USE_DEFAULT_KEY 1
ashleymills 0:5a29fd060ac8 22 #define CONFIG_SSL_PRIVATE_KEY_LOCATION ""
ashleymills 0:5a29fd060ac8 23 #define CONFIG_SSL_PRIVATE_KEY_PASSWORD ""
ashleymills 0:5a29fd060ac8 24 #define CONFIG_SSL_X509_CERT_LOCATION ""
ashleymills 0:5a29fd060ac8 25 #undef CONFIG_SSL_GENERATE_X509_CERT
ashleymills 0:5a29fd060ac8 26 #define CONFIG_SSL_X509_COMMON_NAME ""
ashleymills 0:5a29fd060ac8 27 #define CONFIG_SSL_X509_ORGANIZATION_NAME ""
ashleymills 0:5a29fd060ac8 28 #define CONFIG_SSL_X509_ORGANIZATION_UNIT_NAME ""
ashleymills 0:5a29fd060ac8 29 #undef CONFIG_SSL_ENABLE_V23_HANDSHAKE
ashleymills 0:5a29fd060ac8 30 #undef CONFIG_SSL_HAS_PEM
ashleymills 0:5a29fd060ac8 31 #undef CONFIG_SSL_USE_PKCS12
ashleymills 0:5a29fd060ac8 32 #define CONFIG_SSL_EXPIRY_TIME 24
ashleymills 0:5a29fd060ac8 33 #define CONFIG_X509_MAX_CA_CERTS 1
ashleymills 0:5a29fd060ac8 34 #define CONFIG_SSL_MAX_CERTS 1
ashleymills 0:5a29fd060ac8 35 #undef CONFIG_SSL_CTX_MUTEXING
ashleymills 0:5a29fd060ac8 36 #undef CONFIG_USE_DEV_URANDOM
ashleymills 0:5a29fd060ac8 37 #undef CONFIG_WIN32_USE_CRYPTO_LIB
ashleymills 0:5a29fd060ac8 38 #undef CONFIG_OPENSSL_COMPATIBLE
ashleymills 0:5a29fd060ac8 39 #undef CONFIG_PERFORMANCE_TESTING
ashleymills 0:5a29fd060ac8 40 #undef CONFIG_SSL_TEST
ashleymills 0:5a29fd060ac8 41 #undef CONFIG_AXTLSWRAP
ashleymills 0:5a29fd060ac8 42 #undef CONFIG_AXHTTPD
ashleymills 0:5a29fd060ac8 43 #undef CONFIG_HTTP_STATIC_BUILD
ashleymills 0:5a29fd060ac8 44 #undef CONFIG_HTTP_HAS_CGI
ashleymills 0:5a29fd060ac8 45 #define CONFIG_HTTP_CGI_EXTENSIONS ""
ashleymills 0:5a29fd060ac8 46 #undef CONFIG_HTTP_ENABLE_LUA
ashleymills 0:5a29fd060ac8 47 #define CONFIG_HTTP_LUA_PREFIX ""
ashleymills 0:5a29fd060ac8 48 #undef CONFIG_HTTP_BUILD_LUA
ashleymills 0:5a29fd060ac8 49 #define CONFIG_HTTP_CGI_LAUNCHER ""
ashleymills 0:5a29fd060ac8 50 #undef CONFIG_HTTP_DIRECTORIES
ashleymills 0:5a29fd060ac8 51 #undef CONFIG_HTTP_HAS_AUTHORIZATION
ashleymills 0:5a29fd060ac8 52 #undef CONFIG_HTTP_HAS_IPV6
ashleymills 0:5a29fd060ac8 53 #undef CONFIG_HTTP_ENABLE_DIFFERENT_USER
ashleymills 0:5a29fd060ac8 54 #define CONFIG_HTTP_USER ""
ashleymills 0:5a29fd060ac8 55 #undef CONFIG_HTTP_VERBOSE
ashleymills 0:5a29fd060ac8 56 #undef CONFIG_HTTP_IS_DAEMON
ashleymills 0:5a29fd060ac8 57 #define CONFIG_SSL_CERT_VERIFICATION
ashleymills 0:5a29fd060ac8 58 #define CONFIG_SSL_FULL_MODE
ashleymills 0:5a29fd060ac8 59
ashleymills 0:5a29fd060ac8 60 #define MBED
ashleymills 0:5a29fd060ac8 61
ashleymills 0:5a29fd060ac8 62 #endif