Merge pull request #231 from danielinux/prepare-v1.12

Preparing release v1.12
pull/233/head v1.12
David Garske 2022-07-26 08:34:25 -07:00 committed by GitHub
commit e1d986a9f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 18 deletions

View File

@ -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

View File

@ -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

@ -1 +1 @@
Subproject commit baae8ee5238ff964ad37e8d185d7c2f066533d7e
Subproject commit d7b76cdee52715ded9066374432428528d3b22e2

@ -1 +1 @@
Subproject commit 738d79c5d5c4160e8bfc863323b4bb6f075035a3
Subproject commit 57aac1c50b45275c7a99eca32ad985998b292dc8

View File

@ -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)

View File

@ -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