From 89cb54257a18f9520a6a2109ec6b2d2cbc153ab2 Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Thu, 16 Jun 2016 12:08:44 +0300 Subject: [PATCH 1/3] Update client libraries --- features/FEATURE_CLIENT/mbed-client-c.lib | 2 +- features/FEATURE_CLIENT/mbed-client-classic.lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_CLIENT/mbed-client-c.lib b/features/FEATURE_CLIENT/mbed-client-c.lib index 0dc30ef475..cdad3b7eac 100644 --- a/features/FEATURE_CLIENT/mbed-client-c.lib +++ b/features/FEATURE_CLIENT/mbed-client-c.lib @@ -1 +1 @@ -https://github.com/ARMmbed/mbed-client-c/#ce64d6a0bdefb364b81a75c97e3390abd30372c6 +https://github.com/ARMmbed/mbed-client-c/#3055a0f4e327ee173c8462601209ad166d7a7c94 diff --git a/features/FEATURE_CLIENT/mbed-client-classic.lib b/features/FEATURE_CLIENT/mbed-client-classic.lib index a7010fd90d..7c72ad0576 100644 --- a/features/FEATURE_CLIENT/mbed-client-classic.lib +++ b/features/FEATURE_CLIENT/mbed-client-classic.lib @@ -1 +1 @@ -https://github.com/ARMmbed/mbed-client-classic/#0b7fe15f94bb85a57e4ea48fa97a5d04642fac07 +https://github.com/ARMmbed/mbed-client-classic/#e8cbe5defdf97ed2b700878b8d5aead154810a9a From 8a8632bbea6bd58f60a344ff1b750283f4790aac Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Thu, 16 Jun 2016 16:23:15 +0300 Subject: [PATCH 2/3] Enable NULL entropy if HW does not have entropy source. --- features/mbedtls/inc/mbedtls/config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/features/mbedtls/inc/mbedtls/config.h b/features/mbedtls/inc/mbedtls/config.h index 654af99679..142c715479 100644 --- a/features/mbedtls/inc/mbedtls/config.h +++ b/features/mbedtls/inc/mbedtls/config.h @@ -294,7 +294,12 @@ * Requires MBEDTLS_ENTROPY_C, MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES * */ -//#define MBEDTLS_TEST_NULL_ENTROPY +#ifndef MBEDTLS_ENTROPY_HARDWARE_ALT +/* For devices without HW entropy souces, we are forced to use + * NULL entropy. */ +#define MBEDTLS_TEST_NULL_ENTROPY +#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES +#endif // MBEDTLS_ENTROPY_HARDWARE_ALT /** * \def MBEDTLS_ENTROPY_HARDWARE_ALT From 3fc8d90c548834efc51685c63601b68d73e7ec0f Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Thu, 16 Jun 2016 17:05:50 +0300 Subject: [PATCH 3/3] Bugfix for the K64F https://github.com/mbedmicro/mbed/compare/42561b91931e793fe0151fbd3852c924fe394016...b4bb088876cb72bda7006e423423aba4895d380c --- core.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.lib b/core.lib index 4d9802479f..cfcfcd5fd6 100644 --- a/core.lib +++ b/core.lib @@ -1 +1 @@ -https://github.com/mbedmicro/mbed/#42561b91931e793fe0151fbd3852c924fe394016 +https://github.com/mbedmicro/mbed/#b4bb088876cb72bda7006e423423aba4895d380c