Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
source/mbedtls_config.h@0:1c7da5f83647, 2016-11-29 (annotated)
- Committer:
- sarahmarshy
- Date:
- Tue Nov 29 06:29:10 2016 +0000
- Revision:
- 0:1c7da5f83647
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sarahmarshy | 0:1c7da5f83647 | 1 | #ifndef MBEDTLS_EDDYSTONE_CONFIG_H |
| sarahmarshy | 0:1c7da5f83647 | 2 | #define MBEDTLS_EDDYSTONE_CONFIG_H |
| sarahmarshy | 0:1c7da5f83647 | 3 | |
| sarahmarshy | 0:1c7da5f83647 | 4 | /* System support */ |
| sarahmarshy | 0:1c7da5f83647 | 5 | //#define MBEDTLS_HAVE_ASM |
| sarahmarshy | 0:1c7da5f83647 | 6 | #undef MBEDTLS_HAVE_ASM |
| sarahmarshy | 0:1c7da5f83647 | 7 | #define MBEDTLS_HAVE_TIME |
| sarahmarshy | 0:1c7da5f83647 | 8 | #undef MBEDTLS_HAVE_TIME_DATE |
| sarahmarshy | 0:1c7da5f83647 | 9 | |
| sarahmarshy | 0:1c7da5f83647 | 10 | #define MBEDTLS_CIPHER_MODE_CBC |
| sarahmarshy | 0:1c7da5f83647 | 11 | #define MBEDTLS_CIPHER_MODE_CTR |
| sarahmarshy | 0:1c7da5f83647 | 12 | #undef MBEDTLS_CIPHER_PADDING_PKCS7 |
| sarahmarshy | 0:1c7da5f83647 | 13 | #undef MBEDTLS_REMOVE_ARC4_CIPHERSUITES |
| sarahmarshy | 0:1c7da5f83647 | 14 | |
| sarahmarshy | 0:1c7da5f83647 | 15 | /* mbed TLS feature support */ |
| sarahmarshy | 0:1c7da5f83647 | 16 | #define MBEDTLS_ECP_DP_SECP256R1_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 17 | #undef MBEDTLS_ECP_DP_SECP384R1_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 18 | #define MBEDTLS_ECP_DP_CURVE25519_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 19 | |
| sarahmarshy | 0:1c7da5f83647 | 20 | #undef MBEDTLS_ECP_NIST_OPTIM |
| sarahmarshy | 0:1c7da5f83647 | 21 | #undef MBEDTLS_ECDSA_DETERMINISTIC |
| sarahmarshy | 0:1c7da5f83647 | 22 | #undef MBEDTLS_KEY_EXCHANGE_PSK_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 23 | #undef MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 24 | #undef MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 25 | #undef MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED |
| sarahmarshy | 0:1c7da5f83647 | 26 | #undef MBEDTLS_ERROR_STRERROR_DUMMY |
| sarahmarshy | 0:1c7da5f83647 | 27 | #undef MBEDTLS_PK_RSA_ALT_SUPPORT |
| sarahmarshy | 0:1c7da5f83647 | 28 | #undef MBEDTLS_PKCS1_V15 |
| sarahmarshy | 0:1c7da5f83647 | 29 | #undef MBEDTLS_PKCS1_V21 |
| sarahmarshy | 0:1c7da5f83647 | 30 | #undef MBEDTLS_SELF_TEST |
| sarahmarshy | 0:1c7da5f83647 | 31 | #undef MBEDTLS_SSL_ALL_ALERT_MESSAGES |
| sarahmarshy | 0:1c7da5f83647 | 32 | #undef MBEDTLS_SSL_ENCRYPT_THEN_MAC |
| sarahmarshy | 0:1c7da5f83647 | 33 | #undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET |
| sarahmarshy | 0:1c7da5f83647 | 34 | #undef MBEDTLS_SSL_RENEGOTIATION |
| sarahmarshy | 0:1c7da5f83647 | 35 | #undef MBEDTLS_SSL_MAX_FRAGMENT_LENGTH |
| sarahmarshy | 0:1c7da5f83647 | 36 | #undef MBEDTLS_SSL_PROTO_TLS1_2 |
| sarahmarshy | 0:1c7da5f83647 | 37 | #undef MBEDTLS_SSL_PROTO_DTLS |
| sarahmarshy | 0:1c7da5f83647 | 38 | #undef MBEDTLS_SSL_ALPN |
| sarahmarshy | 0:1c7da5f83647 | 39 | #undef MBEDTLS_SSL_DTLS_ANTI_REPLAY |
| sarahmarshy | 0:1c7da5f83647 | 40 | #undef MBEDTLS_SSL_DTLS_HELLO_VERIFY |
| sarahmarshy | 0:1c7da5f83647 | 41 | #undef MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE |
| sarahmarshy | 0:1c7da5f83647 | 42 | #undef MBEDTLS_SSL_DTLS_BADMAC_LIMIT |
| sarahmarshy | 0:1c7da5f83647 | 43 | #undef MBEDTLS_SSL_SESSION_TICKETS |
| sarahmarshy | 0:1c7da5f83647 | 44 | #undef MBEDTLS_SSL_EXPORT_KEYS |
| sarahmarshy | 0:1c7da5f83647 | 45 | #undef MBEDTLS_SSL_SESSION_TICKETS |
| sarahmarshy | 0:1c7da5f83647 | 46 | #undef MBEDTLS_SSL_EXPORT_KEYS |
| sarahmarshy | 0:1c7da5f83647 | 47 | #undef MBEDTLS_SSL_SERVER_NAME_INDICATION |
| sarahmarshy | 0:1c7da5f83647 | 48 | #undef MBEDTLS_VERSION_FEATURES |
| sarahmarshy | 0:1c7da5f83647 | 49 | #undef MBEDTLS_X509_CHECK_KEY_USAGE |
| sarahmarshy | 0:1c7da5f83647 | 50 | #undef MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE |
| sarahmarshy | 0:1c7da5f83647 | 51 | |
| sarahmarshy | 0:1c7da5f83647 | 52 | /* mbed TLS modules */ |
| sarahmarshy | 0:1c7da5f83647 | 53 | #define MBEDTLS_AES_C |
| sarahmarshy | 0:1c7da5f83647 | 54 | #undef MBEDTLS_ASN1_PARSE_C |
| sarahmarshy | 0:1c7da5f83647 | 55 | #undef MBEDTLS_ASN1_WRITE_C |
| sarahmarshy | 0:1c7da5f83647 | 56 | #undef MBEDTLS_BASE64_C |
| sarahmarshy | 0:1c7da5f83647 | 57 | #define MBEDTLS_BIGNUM_C |
| sarahmarshy | 0:1c7da5f83647 | 58 | #undef MBEDTLS_CCM_C |
| sarahmarshy | 0:1c7da5f83647 | 59 | #undef MBEDTLS_CERTS_C |
| sarahmarshy | 0:1c7da5f83647 | 60 | #undef MBEDTLS_CIPHER_C |
| sarahmarshy | 0:1c7da5f83647 | 61 | #define MBEDTLS_CTR_DRBG_C |
| sarahmarshy | 0:1c7da5f83647 | 62 | #undef MBEDTLS_DEBUG_C |
| sarahmarshy | 0:1c7da5f83647 | 63 | #define MBEDTLS_ECDH_C |
| sarahmarshy | 0:1c7da5f83647 | 64 | #undef MBEDTLS_ECDSA_C |
| sarahmarshy | 0:1c7da5f83647 | 65 | #define MBEDTLS_ECP_C |
| sarahmarshy | 0:1c7da5f83647 | 66 | #define MBEDTLS_ENTROPY_C |
| sarahmarshy | 0:1c7da5f83647 | 67 | #undef MBEDTLS_ERROR_C |
| sarahmarshy | 0:1c7da5f83647 | 68 | #undef MBEDTLS_GCM_C |
| sarahmarshy | 0:1c7da5f83647 | 69 | #undef MBEDTLS_HMAC_DRBG_C |
| sarahmarshy | 0:1c7da5f83647 | 70 | #define MBEDTLS_MD_C |
| sarahmarshy | 0:1c7da5f83647 | 71 | #undef MBEDTLS_OID_C |
| sarahmarshy | 0:1c7da5f83647 | 72 | #undef MBEDTLS_PEM_PARSE_C |
| sarahmarshy | 0:1c7da5f83647 | 73 | #undef MBEDTLS_PK_C |
| sarahmarshy | 0:1c7da5f83647 | 74 | #undef MBEDTLS_PK_PARSE_C |
| sarahmarshy | 0:1c7da5f83647 | 75 | #undef MBEDTLS_PK_WRITE_C |
| sarahmarshy | 0:1c7da5f83647 | 76 | #undef MBEDTLS_PLATFORM_C |
| sarahmarshy | 0:1c7da5f83647 | 77 | #undef MBEDTLS_RSA_C |
| sarahmarshy | 0:1c7da5f83647 | 78 | #define MBEDTLS_SHA256_C |
| sarahmarshy | 0:1c7da5f83647 | 79 | #undef MBEDTLS_SHA512_C |
| sarahmarshy | 0:1c7da5f83647 | 80 | #undef MBEDTLS_SSL_CACHE_C |
| sarahmarshy | 0:1c7da5f83647 | 81 | #undef MBEDTLS_SSL_COOKIE_C |
| sarahmarshy | 0:1c7da5f83647 | 82 | #undef MBEDTLS_SSL_TICKET_C |
| sarahmarshy | 0:1c7da5f83647 | 83 | #undef MBEDTLS_SSL_CLI_C |
| sarahmarshy | 0:1c7da5f83647 | 84 | #undef MBEDTLS_SSL_SRV_C |
| sarahmarshy | 0:1c7da5f83647 | 85 | #undef MBEDTLS_SSL_TLS_C |
| sarahmarshy | 0:1c7da5f83647 | 86 | #undef MBEDTLS_VERSION_C |
| sarahmarshy | 0:1c7da5f83647 | 87 | #undef MBEDTLS_X509_USE_C |
| sarahmarshy | 0:1c7da5f83647 | 88 | #undef MBEDTLS_X509_CRT_PARSE_C |
| sarahmarshy | 0:1c7da5f83647 | 89 | #undef MBEDTLS_X509_CRL_PARSE_C |
| sarahmarshy | 0:1c7da5f83647 | 90 | |
| sarahmarshy | 0:1c7da5f83647 | 91 | /* Save RAM at the expense of ROM */ |
| sarahmarshy | 0:1c7da5f83647 | 92 | #define MBEDTLS_AES_ROM_TABLES |
| sarahmarshy | 0:1c7da5f83647 | 93 | |
| sarahmarshy | 0:1c7da5f83647 | 94 | /* Save RAM by adjusting to our exact needs */ |
| sarahmarshy | 0:1c7da5f83647 | 95 | #define MBEDTLS_ECP_MAX_BITS 256 |
| sarahmarshy | 0:1c7da5f83647 | 96 | #define MBEDTLS_MPI_MAX_SIZE 32 |
| sarahmarshy | 0:1c7da5f83647 | 97 | |
| sarahmarshy | 0:1c7da5f83647 | 98 | /* Save RAM at the expense of speed, see ecp.h */ |
| sarahmarshy | 0:1c7da5f83647 | 99 | #define MBEDTLS_ECP_WINDOW_SIZE 2 |
| sarahmarshy | 0:1c7da5f83647 | 100 | #define MBEDTLS_ECP_FIXED_POINT_OPTIM 0 |
| sarahmarshy | 0:1c7da5f83647 | 101 | |
| sarahmarshy | 0:1c7da5f83647 | 102 | /* Significant speed benefit at the expense of some ROM */ |
| sarahmarshy | 0:1c7da5f83647 | 103 | #define MBEDTLS_ECP_NIST_OPTIM |
| sarahmarshy | 0:1c7da5f83647 | 104 | /* |
| sarahmarshy | 0:1c7da5f83647 | 105 | * You should adjust this to the exact number of sources you're using: default |
| sarahmarshy | 0:1c7da5f83647 | 106 | * is the "mbedtls_platform_entropy_poll" source, but you may want to add other ones. |
| sarahmarshy | 0:1c7da5f83647 | 107 | * Minimum is 2 for the entropy test suite. |
| sarahmarshy | 0:1c7da5f83647 | 108 | */ |
| sarahmarshy | 0:1c7da5f83647 | 109 | #define MBEDTLS_ENTROPY_MAX_SOURCES 2 |
| sarahmarshy | 0:1c7da5f83647 | 110 | #define MBEDTLS_NO_PLATFORM_ENTROPY |
| sarahmarshy | 0:1c7da5f83647 | 111 | |
| sarahmarshy | 0:1c7da5f83647 | 112 | #endif /* MBEDTLS_EDDYSTONE_CONFIG_H */ |