Created
September 21, 2020 15:48
-
-
Save bobmcwhirter/a8c79cb37c70661c167e994938de5290 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11c11 | |
< * Copyright (C) 2006-2018, ARM Limited, All Rights Reserved | |
--- | |
> * Copyright The Mbed TLS Contributors | |
25,26d24 | |
< * | |
< * This file is part of mbed TLS (https://tls.mbed.org) | |
32d29 | |
< | |
136c133 | |
< //#define MBEDTLS_HAVE_TIME | |
--- | |
> #define MBEDTLS_HAVE_TIME | |
157c154 | |
< //#define MBEDTLS_HAVE_TIME_DATE | |
--- | |
> #define MBEDTLS_HAVE_TIME_DATE | |
181c178 | |
< #define MBEDTLS_PLATFORM_MEMORY | |
--- | |
> //#define MBEDTLS_PLATFORM_MEMORY | |
200c197 | |
< #define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS | |
--- | |
> //#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS | |
228,230c225,227 | |
< #define MBEDTLS_PLATFORM_PRINTF_ALT | |
< #define MBEDTLS_PLATFORM_SNPRINTF_ALT | |
< #define MBEDTLS_PLATFORM_VSNPRINTF_ALT | |
--- | |
> //#define MBEDTLS_PLATFORM_PRINTF_ALT | |
> //#define MBEDTLS_PLATFORM_SNPRINTF_ALT | |
> //#define MBEDTLS_PLATFORM_VSNPRINTF_ALT | |
759a757 | |
> /* Short Weierstrass curves (supporting ECP, ECDH, ECDSA) */ | |
770a769 | |
> /* Montgomery curves (supporting ECP) */ | |
1087c1086 | |
< * Requires: MBEDTLS_ECDH_C, MBEDTLS_X509_CRT_PARSE_C | |
--- | |
> * Requires: MBEDTLS_ECDH_C, MBEDTLS_ECDSA_C, MBEDTLS_X509_CRT_PARSE_C | |
1111c1110 | |
< * Requires: MBEDTLS_ECDH_C, MBEDTLS_X509_CRT_PARSE_C | |
--- | |
> * Requires: MBEDTLS_ECDH_C, MBEDTLS_RSA_C, MBEDTLS_X509_CRT_PARSE_C | |
1192c1191 | |
< //#define MBEDTLS_FS_IO | |
--- | |
> #define MBEDTLS_FS_IO | |
1216c1215 | |
< #define MBEDTLS_NO_PLATFORM_ENTROPY | |
--- | |
> //#define MBEDTLS_NO_PLATFORM_ENTROPY | |
1910a1910,1945 | |
> * \def MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN | |
> * | |
> * Enable testing of the constant-flow nature of some sensitive functions with | |
> * clang's MemorySanitizer. This causes some existing tests to also test | |
> * this non-functional property of the code under test. | |
> * | |
> * This setting requires compiling with clang -fsanitize=memory. The test | |
> * suites can then be run normally. | |
> * | |
> * \warning This macro is only used for extended testing; it is not considered | |
> * part of the library's API, so it may change or disappear at any time. | |
> * | |
> * Uncomment to enable testing of the constant-flow nature of selected code. | |
> */ | |
> //#define MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN | |
> | |
> /** | |
> * \def MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND | |
> * | |
> * Enable testing of the constant-flow nature of some sensitive functions with | |
> * valgrind's memcheck tool. This causes some existing tests to also test | |
> * this non-functional property of the code under test. | |
> * | |
> * This setting requires valgrind headers for building, and is only useful for | |
> * testing if the tests suites are run with valgrind's memcheck. This can be | |
> * done for an individual test suite with 'valgrind ./test_suite_xxx', or when | |
> * using CMake, this can be done for all test suites with 'make memcheck'. | |
> * | |
> * \warning This macro is only used for extended testing; it is not considered | |
> * part of the library's API, so it may change or disappear at any time. | |
> * | |
> * Uncomment to enable testing of the constant-flow nature of selected code. | |
> */ | |
> //#define MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND | |
> | |
> /** | |
2031c2066 | |
< #define MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK | |
--- | |
> //#define MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK | |
2575c2610,2612 | |
< * Requires: MBEDTLS_ECP_C, MBEDTLS_ASN1_WRITE_C, MBEDTLS_ASN1_PARSE_C | |
--- | |
> * Requires: MBEDTLS_ECP_C, MBEDTLS_ASN1_WRITE_C, MBEDTLS_ASN1_PARSE_C, | |
> * and at least one MBEDTLS_ECP_DP_XXX_ENABLED for a | |
> * short Weierstrass curve. | |
2818c2855 | |
< //#define MBEDTLS_NET_C | |
--- | |
> #define MBEDTLS_NET_C | |
3056c3093 | |
< //#define MBEDTLS_PSA_CRYPTO_STORAGE_C | |
--- | |
> #define MBEDTLS_PSA_CRYPTO_STORAGE_C | |
3068c3105 | |
< //#define MBEDTLS_PSA_ITS_FILE_C | |
--- | |
> #define MBEDTLS_PSA_ITS_FILE_C | |
3275c3312 | |
< //#define MBEDTLS_TIMING_C | |
--- | |
> #define MBEDTLS_TIMING_C | |
3416c3453 | |
< #define MBEDTLS_MPI_WINDOW_SIZE 3 /**< Maximum windows size used. */ | |
--- | |
> //#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum windows size used. */ | |
3418d3454 | |
< #define MBEDTLS_MPI_MAX_SIZE 256 /**< Maximum number of bytes for usable MPIs. */ | |
3543c3579 | |
< #define MBEDTLS_SSL_MAX_CONTENT_LEN 1024 | |
--- | |
> //#define MBEDTLS_SSL_MAX_CONTENT_LEN 16384 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment