diff --git a/README.md b/README.md index 3c5ea1e5..ba0662ae 100644 --- a/README.md +++ b/README.md @@ -288,3 +288,13 @@ USE_LOCAL_WOLFSSL=/usr/local pip3 install . * Fix risc-V 32bit port (missing include) * Fix STM32L4 (VTOR alignments; clock setting clash in libwolfboot) * STM32H7: improve HAL and documentation + +### V1.12 (2022-07-26) + * Encrypted delta updates + * Support RSA3072 signature verification + * Partition ID support to include custom additional images + * New format to store multiple public keys, using keystore + * Several fixes to keytools and IDE support + * Added new test cases + * Hardware support + * New HAL: Simulated target for rapid tests diff --git a/include/wolfboot/version.h b/include/wolfboot/version.h index 6bbd05cd..e046e16b 100644 --- a/include/wolfboot/version.h +++ b/include/wolfboot/version.h @@ -29,8 +29,8 @@ extern "C" { #endif -#define LIBWOLFBOOT_VERSION_STRING "1.11.0" -#define LIBWOLFBOOT_VERSION_HEX 0x010b0000 +#define LIBWOLFBOOT_VERSION_STRING "1.12.0" +#define LIBWOLFBOOT_VERSION_HEX 0x010C0000 #ifndef WOLFBOOT_VERSION #define WOLFBOOT_VERSION LIBWOLFBOOT_VERSION_HEX diff --git a/lib/wolfTPM b/lib/wolfTPM index baae8ee5..d7b76cde 160000 --- a/lib/wolfTPM +++ b/lib/wolfTPM @@ -1 +1 @@ -Subproject commit baae8ee5238ff964ad37e8d185d7c2f066533d7e +Subproject commit d7b76cdee52715ded9066374432428528d3b22e2 diff --git a/lib/wolfssl b/lib/wolfssl index 738d79c5..57aac1c5 160000 --- a/lib/wolfssl +++ b/lib/wolfssl @@ -1 +1 @@ -Subproject commit 738d79c5d5c4160e8bfc863323b4bb6f075035a3 +Subproject commit 57aac1c50b45275c7a99eca32ad985998b292dc8 diff --git a/src/xmalloc.c b/src/xmalloc.c index cf91389d..65bbe6a5 100644 --- a/src/xmalloc.c +++ b/src/xmalloc.c @@ -62,7 +62,7 @@ struct xmalloc_slot { #ifndef USE_FAST_MATH /* SP MATH */ #ifdef WOLFBOOT_SIGN_ECC256 - #define MP_CURVE_SPECS_SIZE (152) + #define MP_CURVE_SPECS_SIZE (80) #ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM #define MP_POINT_SIZE (196) #define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 8) @@ -76,7 +76,7 @@ struct xmalloc_slot { #endif #endif /* WOLFBOOT_SIGN_ECC256 */ #ifdef WOLFBOOT_SIGN_ECC384 - #define MP_CURVE_SPECS_SIZE (152) + #define MP_CURVE_SPECS_SIZE (112) #ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM #define MP_POINT_SIZE (292) #define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 12) diff --git a/tools/test.mk b/tools/test.mk index 41fffdc9..18cda7c0 100644 --- a/tools/test.mk +++ b/tools/test.mk @@ -879,30 +879,31 @@ test-all: clean make test-fastmath-smallstack make test-delta-update + test-size-all: make test-size SIGN=NONE LIMIT=4646 make keysclean - make test-size SIGN=ED25519 LIMIT=11366 + make test-size SIGN=ED25519 LIMIT=11262 make keysclean - make test-size SIGN=ECC256 LIMIT=22118 + make test-size SIGN=ECC256 LIMIT=22134 make keysclean - make test-size SIGN=ECC256 NO_ASM=1 LIMIT=13878 + make test-size SIGN=ECC256 NO_ASM=1 LIMIT=13586 make keysclean - make test-size SIGN=RSA2048 LIMIT=13110 + make test-size SIGN=RSA2048 LIMIT=11038 make keysclean - make test-size SIGN=RSA2048 NO_ASM=1 LIMIT=13274 + make test-size SIGN=RSA2048 NO_ASM=1 LIMIT=11058 make keysclean - make test-size SIGN=RSA4096 LIMIT=13446 + make test-size SIGN=RSA4096 LIMIT=11386 make keysclean - make test-size SIGN=RSA4096 NO_ASM=1 LIMIT=13526 + make test-size SIGN=RSA4096 NO_ASM=1 LIMIT=11314 make keysclean - make test-size SIGN=ECC384 LIMIT=17722 + make test-size SIGN=ECC384 LIMIT=17470 make keysclean - make test-size SIGN=ECC384 NO_ASM=1 LIMIT=15486 + make test-size SIGN=ECC384 NO_ASM=1 LIMIT=15022 make keysclean - make test-size SIGN=ED448 LIMIT=13718 + make test-size SIGN=ED448 LIMIT=13278 make keysclean - make test-size SIGN=RSA3072 LIMIT=13302 + make test-size SIGN=RSA3072 LIMIT=11234 make keysclean - make test-size SIGN=RSA3072 NO_ASM=1 LIMIT=13382 + make test-size SIGN=RSA3072 NO_ASM=1 LIMIT=11154 make keysclean