PolarSSL v1.2.8
config.h
Go to the documentation of this file.
1 
31 #ifndef POLARSSL_CONFIG_H
32 #define POLARSSL_CONFIG_H
33 
34 #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
35 #define _CRT_SECURE_NO_DEPRECATE 1
36 #endif
37 
69 #define POLARSSL_HAVE_LONGLONG
70 
86 #define POLARSSL_HAVE_ASM
87 
97 /* \} name */
98 
151 #define POLARSSL_CIPHER_MODE_CFB
152 
158 #define POLARSSL_CIPHER_MODE_CTR
159 
201 #define POLARSSL_ERROR_STRERROR_DUMMY
202 
210 #define POLARSSL_GENPRIME
211 
217 #define POLARSSL_FS_IO
218 
251 #define POLARSSL_PKCS1_V21
252 
268 #define POLARSSL_SELF_TEST
269 
282 #define POLARSSL_SSL_ALERT_MESSAGES
283 
318 #define POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
319 
346 /* \} name */
347 
380 #define POLARSSL_AES_C
381 
394 #define POLARSSL_ARC4_C
395 
404 #define POLARSSL_ASN1_PARSE_C
405 
413 #define POLARSSL_ASN1_WRITE_C
414 
425 #define POLARSSL_BASE64_C
426 
440 #define POLARSSL_BIGNUM_C
441 
449 #define POLARSSL_BLOWFISH_C
450 
470 #define POLARSSL_CAMELLIA_C
471 
482 #define POLARSSL_CERTS_C
483 
494 #define POLARSSL_CIPHER_C
495 
508 #define POLARSSL_CTR_DRBG_C
509 
522 #define POLARSSL_DEBUG_C
523 
540 #define POLARSSL_DES_C
541 
566 #define POLARSSL_DHM_C
567 
580 #define POLARSSL_ENTROPY_C
581 
592 #define POLARSSL_ERROR_C
593 
608 #define POLARSSL_GCM_C
609 
643 #define POLARSSL_MD_C
644 
684 #define POLARSSL_MD5_C
685 
696 #define POLARSSL_NET_C
697 
708 #define POLARSSL_PADLOCK_C
709 
736 #define POLARSSL_PEM_C
737 
749 #define POLARSSL_PKCS5_C
750 
781 #define POLARSSL_PKCS12_C
782 
798 #define POLARSSL_RSA_C
799 
813 #define POLARSSL_SHA1_C
814 
827 #define POLARSSL_SHA2_C
828 
840 #define POLARSSL_SHA4_C
841 
852 #define POLARSSL_SSL_CACHE_C
853 
866 #define POLARSSL_SSL_CLI_C
867 
880 #define POLARSSL_SSL_SRV_C
881 
895 #define POLARSSL_SSL_TLS_C
896 
907 #define POLARSSL_TIMING_C
908 
918 #define POLARSSL_VERSION_C
919 
934 #define POLARSSL_X509_PARSE_C
935 
947 #define POLARSSL_X509_WRITE_C
948 
957 #define POLARSSL_XTEA_C
958 /* \} name */
959 
978 //#define POLARSSL_CONFIG_OPTIONS /**< Enable config.h module value configuration */
979 
980 #if defined(POLARSSL_CONFIG_OPTIONS)
981 
982 // MPI / BIGNUM options
983 //
984 #define POLARSSL_MPI_WINDOW_SIZE 6
985 #define POLARSSL_MPI_MAX_SIZE 512
987 // CTR_DRBG options
988 //
989 #define CTR_DRBG_ENTROPY_LEN 48
990 #define CTR_DRBG_RESEED_INTERVAL 10000
991 #define CTR_DRBG_MAX_INPUT 256
992 #define CTR_DRBG_MAX_REQUEST 1024
993 #define CTR_DRBG_MAX_SEED_INPUT 384
995 // Entropy options
996 //
997 #define ENTROPY_MAX_SOURCES 20
998 #define ENTROPY_MAX_GATHER 128
1000 // SSL Cache options
1001 //
1002 #define SSL_CACHE_DEFAULT_TIMEOUT 86400
1003 #define SSL_CACHE_DEFAULT_MAX_ENTRIES 50
1005 // SSL options
1006 //
1007 #define SSL_MAX_CONTENT_LEN 16384
1009 #endif /* POLARSSL_CONFIG_OPTIONS */
1010 
1011 /* \} name */
1012 #endif /* config.h */