thingspark example
Dependencies: MbedJSONValue mbed-http HTS221
Diff: mbedtls_entropy_config.h
- Branch:
- mbed-os-5.10
- Revision:
- 31:66704f6f17c5
- Parent:
- 30:4825e4f38844
diff -r 4825e4f38844 -r 66704f6f17c5 mbedtls_entropy_config.h --- a/mbedtls_entropy_config.h Mon Oct 29 14:34:43 2018 +0800 +++ b/mbedtls_entropy_config.h Tue Oct 30 11:07:10 2018 +0800 @@ -26,31 +26,3 @@ #undef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES #undef MBEDTLS_TEST_NULL_ENTROPY #endif - -#if DEMO == DEMO_HTTPS - -#if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \ - !defined(MBEDTLS_ENTROPY_NV_SEED) && !defined(MBEDTLS_TEST_NULL_ENTROPY) -#error "This hardware does not have an entropy source." -#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_ENTROPY_NV_SEED && - * !MBEDTLS_TEST_NULL_ENTROPY */ - -#if !defined(MBEDTLS_SHA1_C) -#define MBEDTLS_SHA1_C -#endif /* !MBEDTLS_SHA1_C */ - -#if !defined(MBEDTLS_RSA_C) -#define MBEDTLS_RSA_C -#endif /* !MBEDTLS_RSA_C */ - -/* - * This value is sufficient for handling 2048 bit RSA keys. - * - * Set this value higher to enable handling larger keys, but be aware that this - * will increase the stack usage. - */ -#define MBEDTLS_MPI_MAX_SIZE 1024 - -#define MBEDTLS_MPI_WINDOW_SIZE 1 - -#endif