Skip to content

Commit 8b1babb

Browse files
authored
Merge pull request #474 from danielinux/update-submodules-5.7.2
Prepare release 2.2.0
2 parents 8a5c039 + 51fe05c commit 8b1babb

File tree

8 files changed

+66
-26
lines changed

8 files changed

+66
-26
lines changed

.github/workflows/footprint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
footprint_test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- uses: actions/checkout@v2

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,3 +588,37 @@ Use `make keysclean` to delete keys and regenerate.
588588
* wolfSSL v5.7.0
589589
* wolfPKCS11 v1.3.0
590590
* wolfTPM v3.2.0
591+
592+
### V 2.2.0 - (2024-07-22)
593+
* New hardware targets
594+
* Add STM32H5 port with support for Dual-bank, OTP, TrustZone-M
595+
* Add native support for Renesas RX family, using gcc toolchain
596+
* Improvements to supported targets
597+
* NXP i.MX-RT:
598+
* New flash geometry configurations
599+
* Support for LPUART4
600+
* Add port for RT1061
601+
* Disable DCACHE upon flash access
602+
* Support for building with HAB
603+
* STM32:
604+
* Refactoring of TrustZone-M support
605+
* OTP driver for STM32H5/H7
606+
* Full firmware update demo on STM32H5
607+
* Add support for QSPI in STM32U5
608+
* Renesas RZ:
609+
* Add support for RSIP
610+
* x86-64 (FSP):
611+
* Improve x86-64 specific code, add features
612+
* Clean-up and re-arrange scripts for qemu demo
613+
* Post-quantum crypto
614+
* LMS and XMSS support now using native wolfCrypt implementation
615+
* Tools improvements
616+
* Keystore: now supports .der ECC key via `--der`
617+
* Add `otp_primer` firmware, to provision keystores in OTP
618+
* Add `otp_gen` tool to provide a pre-assembled keystore to flash into OTP
619+
* Bug fixes
620+
* Fix regression in x86-EFI builds
621+
* Fix setting `VTOR_NS` when staging a non-secure app/os from TrustZone
622+
* Fix delta updates: patches with invalid base versions were not discarded
623+
* Fix potential array bound overflow in `NVM_FLASH_WRITEONCE` mode
624+
* Fix dereferencing type-punned pointer in flash update

include/wolfboot/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ extern "C" {
2929
#endif
3030

3131

32-
#define LIBWOLFBOOT_VERSION_STRING "2.1.0"
33-
#define LIBWOLFBOOT_VERSION_HEX 0x02010000
32+
#define LIBWOLFBOOT_VERSION_STRING "2.2.0"
33+
#define LIBWOLFBOOT_VERSION_HEX 0x02020000
3434

3535
#ifndef WOLFBOOT_VERSION
3636
#define WOLFBOOT_VERSION LIBWOLFBOOT_VERSION_HEX

lib/wolfPKCS11

lib/wolfTPM

Submodule wolfTPM updated 125 files

lib/wolfssl

Submodule wolfssl updated 324 files

tools/test.mk

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -983,29 +983,37 @@ test-all: clean
983983

984984

985985
test-size-all:
986-
make test-size SIGN=NONE LIMIT=4913
986+
make test-size SIGN=NONE LIMIT=4816
987987
make keysclean
988-
make test-size SIGN=ED25519 LIMIT=11529
988+
make test-size SIGN=ED25519 LIMIT=11396
989989
make keysclean
990-
make test-size SIGN=ECC256 LIMIT=17857
990+
make test-size SIGN=ECC256 LIMIT=17936
991+
make clean
992+
make test-size SIGN=ECC256 NO_ASM=1 LIMIT=13480
991993
make keysclean
992-
make test-size SIGN=ECC256 NO_ASM=1 LIMIT=13593
994+
make test-size SIGN=RSA2048 LIMIT=11124
995+
make clean
996+
make test-size SIGN=RSA2048 NO_ASM=1 LIMIT=11696
993997
make keysclean
994-
make test-size SIGN=RSA2048 LIMIT=11217
998+
make test-size SIGN=RSA4096 LIMIT=11408
999+
make clean
1000+
make test-size SIGN=RSA4096 NO_ASM=1 LIMIT=11984
9951001
make keysclean
996-
make test-size SIGN=RSA2048 NO_ASM=1 LIMIT=11797
1002+
make test-size SIGN=ECC384 LIMIT=17504
1003+
make clean
1004+
make test-size SIGN=ECC384 NO_ASM=1 LIMIT=14872
9971005
make keysclean
998-
make test-size SIGN=RSA4096 LIMIT=11497
1006+
make test-size SIGN=ED448 LIMIT=13408
9991007
make keysclean
1000-
make test-size SIGN=RSA4096 NO_ASM=1 LIMIT=12093
1008+
make test-size SIGN=RSA3072 LIMIT=11264
1009+
make clean
1010+
make test-size SIGN=RSA3072 NO_ASM=1 LIMIT=11804
10011011
make keysclean
1002-
make test-size SIGN=ECC384 LIMIT=17309
1012+
make test-size SIGN=LMS LMS_LEVELS=2 LMS_HEIGHT=5 LMS_WINTERNITZ=8 \
1013+
WOLFBOOT_SMALL_STACK=0 IMAGE_SIGNATURE_SIZE=2644 \
1014+
IMAGE_HEADER_SIZE?=5288 LIMIT=7424
10031015
make keysclean
1004-
make test-size SIGN=ECC384 NO_ASM=1 LIMIT=15013
1005-
make keysclean
1006-
make test-size SIGN=ED448 LIMIT=13645
1007-
make keysclean
1008-
make test-size SIGN=RSA3072 LIMIT=11353
1009-
make keysclean
1010-
make test-size SIGN=RSA3072 NO_ASM=1 LIMIT=11905
1016+
make test-size SIGN=XMSS XMSS_PARAMS='XMSS-SHA2_10_256' \
1017+
IMAGE_SIGNATURE_SIZE=2500 IMAGE_HEADER_SIZE?=4096 \
1018+
LIMIT=8220
10111019
make keysclean

tools/xmss/xmss_common.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ static enum wc_XmssRc xmss_write_key(const byte * priv, word32 privSz, void * co
4848
/* Create the file if it didn't exist. */
4949
file = fopen(filename, "w+");
5050
if (!file) {
51-
fprintf(stderr, "error: fopen(%s, \"w+\") failed: %d\n", filename,
52-
ferror(file));
51+
fprintf(stderr, "error: fopen(%s, \"w+\") failed.\n", filename);
5352
return WC_XMSS_RC_WRITE_FAIL;
5453
}
5554
}
@@ -72,8 +71,7 @@ static enum wc_XmssRc xmss_write_key(const byte * priv, word32 privSz, void * co
7271
* storage correctly. */
7372
file = fopen(filename, "r+");
7473
if (!file) {
75-
fprintf(stderr, "error: fopen(%s, \"r+\") failed: %d\n", filename,
76-
ferror(file));
74+
fprintf(stderr, "error: fopen(%s, \"r+\") failed.\n", filename);
7775
return WC_XMSS_RC_WRITE_FAIL;
7876
}
7977

0 commit comments

Comments
 (0)