34 #ifndef MBEDTLS_CONFIG_H
35 #define MBEDTLS_CONFIG_H
37 #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
38 #define _CRT_SECURE_NO_DEPRECATE 1
62 #define MBEDTLS_HAVE_ASM
82 #define MBEDTLS_HAVE_TIME
94 #define MBEDTLS_HAVE_TIME_DATE
322 #define MBEDTLS_CIPHER_MODE_CBC
329 #define MBEDTLS_CIPHER_MODE_CFB
336 #define MBEDTLS_CIPHER_MODE_CTR
381 #define MBEDTLS_CIPHER_PADDING_PKCS7
382 #define MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
383 #define MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
384 #define MBEDTLS_CIPHER_PADDING_ZEROS
412 #define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
422 #define MBEDTLS_ECP_DP_SECP192R1_ENABLED
423 #define MBEDTLS_ECP_DP_SECP224R1_ENABLED
424 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
425 #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
426 #define MBEDTLS_ECP_DP_SECP521R1_ENABLED
427 #define MBEDTLS_ECP_DP_SECP192K1_ENABLED
428 #define MBEDTLS_ECP_DP_SECP224K1_ENABLED
429 #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
430 #define MBEDTLS_ECP_DP_BP256R1_ENABLED
431 #define MBEDTLS_ECP_DP_BP384R1_ENABLED
432 #define MBEDTLS_ECP_DP_BP512R1_ENABLED
433 #define MBEDTLS_ECP_DP_CURVE25519_ENABLED
444 #define MBEDTLS_ECP_NIST_OPTIM
458 #define MBEDTLS_ECDSA_DETERMINISTIC
480 #define MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
504 #define MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
524 #define MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
549 #define MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
577 #define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
603 #define MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED
628 #define MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED
652 #define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
676 #define MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
700 #define MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
733 #define MBEDTLS_PK_PARSE_EC_EXTENDED
748 #define MBEDTLS_ERROR_STRERROR_DUMMY
757 #define MBEDTLS_GENPRIME
764 #define MBEDTLS_FS_IO
838 #define MBEDTLS_PK_RSA_ALT_SUPPORT
849 #define MBEDTLS_PKCS1_V15
860 #define MBEDTLS_PKCS1_V21
877 #define MBEDTLS_SELF_TEST
919 #define MBEDTLS_SSL_ALL_ALERT_MESSAGES
953 #define MBEDTLS_SSL_ENCRYPT_THEN_MAC
971 #define MBEDTLS_SSL_EXTENDED_MASTER_SECRET
988 #define MBEDTLS_SSL_FALLBACK_SCSV
1010 #define MBEDTLS_SSL_CBC_RECORD_SPLITTING
1025 #define MBEDTLS_SSL_RENEGOTIATION
1054 #define MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
1066 #define MBEDTLS_SSL_PROTO_SSL3
1078 #define MBEDTLS_SSL_PROTO_TLS1
1090 #define MBEDTLS_SSL_PROTO_TLS1_1
1102 #define MBEDTLS_SSL_PROTO_TLS1_2
1117 #define MBEDTLS_SSL_PROTO_DTLS
1126 #define MBEDTLS_SSL_ALPN
1141 #define MBEDTLS_SSL_DTLS_ANTI_REPLAY
1159 #define MBEDTLS_SSL_DTLS_HELLO_VERIFY
1175 #define MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
1186 #define MBEDTLS_SSL_DTLS_BADMAC_LIMIT
1200 #define MBEDTLS_SSL_SESSION_TICKETS
1210 #define MBEDTLS_SSL_EXPORT_KEYS
1221 #define MBEDTLS_SSL_SERVER_NAME_INDICATION
1230 #define MBEDTLS_SSL_TRUNCATED_HMAC
1265 #define MBEDTLS_VERSION_FEATURES
1301 #define MBEDTLS_X509_CHECK_KEY_USAGE
1314 #define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
1324 #define MBEDTLS_X509_RSASSA_PSS_SUPPORT
1368 #define MBEDTLS_AESNI_C
1443 #define MBEDTLS_AES_C
1466 #define MBEDTLS_ARC4_C
1480 #define MBEDTLS_ASN1_PARSE_C
1494 #define MBEDTLS_ASN1_WRITE_C
1506 #define MBEDTLS_BASE64_C
1522 #define MBEDTLS_BIGNUM_C
1531 #define MBEDTLS_BLOWFISH_C
1586 #define MBEDTLS_CAMELLIA_C
1600 #define MBEDTLS_CCM_C
1612 #define MBEDTLS_CERTS_C
1624 #define MBEDTLS_CIPHER_C
1638 #define MBEDTLS_CTR_DRBG_C
1652 #define MBEDTLS_DEBUG_C
1678 #define MBEDTLS_DES_C
1692 #define MBEDTLS_DHM_C
1708 #define MBEDTLS_ECDH_C
1723 #define MBEDTLS_ECDSA_C
1756 #define MBEDTLS_ECP_C
1770 #define MBEDTLS_ENTROPY_C
1782 #define MBEDTLS_ERROR_C
1796 #define MBEDTLS_GCM_C
1833 #define MBEDTLS_HMAC_DRBG_C
1845 #define MBEDTLS_MD_C
1884 #define MBEDTLS_MD5_C
1911 #define MBEDTLS_NET_C
1934 #define MBEDTLS_OID_C
1948 #define MBEDTLS_PADLOCK_C
1966 #define MBEDTLS_PEM_PARSE_C
1982 #define MBEDTLS_PEM_WRITE_C
1998 #define MBEDTLS_PK_C
2013 #define MBEDTLS_PK_PARSE_C
2027 #define MBEDTLS_PK_WRITE_C
2040 #define MBEDTLS_PKCS5_C
2071 #define MBEDTLS_PKCS12_C
2091 #define MBEDTLS_PLATFORM_C
2102 #define MBEDTLS_RIPEMD160_C
2120 #define MBEDTLS_RSA_C
2136 #define MBEDTLS_SHA1_C
2153 #define MBEDTLS_SHA256_C
2168 #define MBEDTLS_SHA512_C
2180 #define MBEDTLS_SSL_CACHE_C
2190 #define MBEDTLS_SSL_COOKIE_C
2202 #define MBEDTLS_SSL_TICKET_C
2216 #define MBEDTLS_SSL_CLI_C
2230 #define MBEDTLS_SSL_SRV_C
2246 #define MBEDTLS_SSL_TLS_C
2279 #define MBEDTLS_TIMING_C
2290 #define MBEDTLS_VERSION_C
2307 #define MBEDTLS_X509_USE_C
2323 #define MBEDTLS_X509_CRT_PARSE_C
2337 #define MBEDTLS_X509_CRL_PARSE_C
2351 #define MBEDTLS_X509_CSR_PARSE_C
2364 #define MBEDTLS_X509_CREATE_C
2377 #define MBEDTLS_X509_CRT_WRITE_C
2390 #define MBEDTLS_X509_CSR_WRITE_C
2400 #define MBEDTLS_XTEA_C
2497 #if defined(TARGET_LIKE_MBED)
2498 #include "mbedtls/target_config.h"
2508 #if defined(YOTTA_CFG_MBEDTLS_USER_CONFIG_FILE)
2509 #include YOTTA_CFG_MBEDTLS_USER_CONFIG_FILE
2510 #elif defined(MBEDTLS_USER_CONFIG_FILE)
2511 #include MBEDTLS_USER_CONFIG_FILE
Consistency checks for configuration options.