Commit Graph

2274 Commits (177358e88debde95bd50ac1cca4e93131ba11faa)

Author SHA1 Message Date
Mattia Moffa 177358e88d Update H5 app to use new NSC API
- Make the update and swap partitions secure and inaccessible from the
  app except via NSC API
- Add a couple of necessary new NSC functions
- Update the app to only use NSC API
- Fix hal_flash_erase to account for secure addresses
- Fix some bugs in xmodem implementation
2025-10-29 00:13:01 +01:00
David Garske e0e9217161 Fix some issues with documentation for STM32H5 and include steps to test update using STM32 programmer. 2025-10-24 09:25:41 -07:00
Mattia Moffa fd2c81a1f8 Fix H5 erase bug 2025-10-24 18:09:57 +02:00
Mattia Moffa 70f12a2a5e Update docs 2025-10-24 18:09:03 +02:00
Mattia Moffa fdcd7be322 Don't use hardcoded value; add comment 2025-10-23 22:41:20 +02:00
Mattia Moffa 58baba21e0 Fix STM32H5 update 2025-10-23 21:52:42 +02:00
David Garske a93f2b7d00 Update other submodules too 2025-10-23 18:35:09 +02:00
David Garske 80ec565802 Fixes for test failures 2025-10-23 18:35:09 +02:00
David Garske a7a8ca5a57 Fixes for wolfBoot after wolfSSL ARM ASM PR https://github.com/wolfSSL/wolfssl/pull/9284 2025-10-23 18:35:09 +02:00
gojimmypi e06076fdde Exclude some known failures SPMATH WOLFBOOT_SMALL_STACK 2025-10-22 16:07:14 +02:00
gojimmypi ba86c255d3 Different stack detection message 2025-10-22 16:07:14 +02:00
gojimmypi a0c75b092d Retry with WOLFBOOT_HUGE_STACK=1 as needed 2025-10-22 16:07:14 +02:00
gojimmypi 3d49027c87 Remove concurrency 2025-10-22 16:07:14 +02:00
gojimmypi 7978a53c21 Expand concurrency definition 2025-10-22 16:07:14 +02:00
gojimmypi 38a7664918 Do not cancel in-progress group 2025-10-22 16:07:14 +02:00
gojimmypi 04052599b8 Set max-parallel 12 to address runner concurrency saturation, cleanup 2025-10-22 16:07:14 +02:00
gojimmypi 74857d0029 Fix warnings with _MSC_VER and _MSC_VER 2025-10-22 16:04:39 +02:00
David Garske cb85858e2b
Merge pull request #599 from gojimmypi/pr-update-gitignore
git ignore Visual Studio, VisualGDB, and backup files
2025-10-22 07:00:41 -07:00
David Garske 97814c4498
Merge pull request #611 from bigbrett/wolfHSM-release-fixes
wolfHSM updates for tc3 release
2025-10-21 09:26:28 -07:00
gojimmypi ebdee1be17
new git ignore 2025-10-20 19:40:53 -07:00
Brett Nicholas 10f8aa4089 fix for -wunused-but-set-variable: guard inverse with DELTA_UPDATES 2025-10-20 14:29:41 -06:00
Brett Nicholas 4dd932ed06 fixes for new wolfHSM 2025-10-20 14:28:59 -06:00
Brett Nicholas aa3ae2824e rename path 2025-10-20 14:02:46 -06:00
David Garske d28a2055ca
Merge pull request #610 from danielinux/fix_reuse_iv_fallback
Refactoring of IV handling to prevent reusing IVs
2025-10-17 08:47:47 -07:00
Daniele Lacamera 480f3106a7 Fix regression in encrypted delta updates 2025-10-17 15:45:27 +02:00
Daniele Lacamera 68ee02d36e Improved unit test coverage 2025-10-17 15:25:07 +02:00
Daniele Lacamera 61a0bf58d1 Added comments in delta update 2025-10-17 14:05:07 +02:00
Daniele Lacamera 8555ce4f3e Fix interrupted delta update fallback 2025-10-17 14:02:23 +02:00
Daniele Lacamera 38631d2481 Fixed regression in delta fallback 2025-10-17 13:16:31 +02:00
Daniele Lacamera b35f3b6334 Ensure version numbers are initialized before the inversion check 2025-10-17 12:11:32 +02:00
Daniele Lacamera 8cab4bc612 Footprint adjustment (ML_DSA +4B) 2025-10-17 12:04:53 +02:00
Daniele Lacamera 6fba3b4054 Fixed unit tests 2025-10-17 12:03:42 +02:00
Daniele Lacamera 18cbea59de Refactoring of IV handling to prevent reusing IVs
During fallback operations, use a different encryption IV than the one
used to encrypt the backup during the update. This ensures that the same
IV is never reused to encrypt different sectors.
2025-10-17 09:44:46 +02:00
David Garske 68d28fc482
Merge pull request #609 from gojimmypi/pr-copyright
Update Copyright year to 2025
2025-10-16 15:09:03 -07:00
David Garske 301080adc4 Reverted change for H5 heap (not needed). Tracked issue down to a missing malloc fixed here: https://github.com/wolfSSL/wolfssl/pull/9305 2025-10-16 23:02:09 +02:00
David Garske 2df3768cce Fixes to support latest wolfSSL (disable KDF/PRF) 2025-10-16 23:02:09 +02:00
David Garske 4c8bf4069f Fix for "benchmark" command to support float with nano.specs. Increase test-app heap size. 2025-10-16 23:02:09 +02:00
gojimmypi fbd8dcf8a2
Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
David Garske 456c3b495f
Merge pull request #606 from bigbrett/tc3-uart-quickfix
TC3: UART quickfix
2025-10-10 11:19:46 -07:00
David Garske f7d526057a Fixes to resolve STM32H5 TrustZone example. Thank you @danielinux 2025-10-10 19:42:20 +02:00
David Garske 5d27adaf07 Improve linker script logic on STM32H5. 2025-10-10 19:42:20 +02:00
David Garske b1ff1e36eb Minor improvements. STM32H5 non-secure flash watermark. Fixing layout of linker script. Still getting fault on calls to smse functions like `wcs_get_random`. 2025-10-10 19:42:20 +02:00
David Garske 7f193af97d Fixes for STM32H5 TrustZone and PKCS11 store 2025-10-10 19:42:20 +02:00
Brett Nicholas 4761410c36 TC3: add final printout and block on TC flag 2025-10-10 11:33:12 -06:00
David Garske 8ef41994c7
Merge pull request #604 from bigbrett/tc3xx-wolf-startup-integration
TC3xx: Replace IDE/AURIX project with new HAL module
2025-10-09 10:16:16 -07:00
gojimmypi b0b920c034
git ignore Visual Studio, VisualGDB, and backup files 2025-10-08 16:27:34 -07:00
David Garske 2a89172ff0
Merge pull request #605 from gojimmypi/pr-timeout
Address workflow timeout, full apt-get source replacements
2025-10-08 15:15:14 -07:00
gojimmypi 92c765ec63
Address workflow timeout, full apt-get source replacements 2025-10-08 14:39:55 -07:00
Brett Nicholas aa21f7c56c add license files 2025-10-08 14:38:24 -06:00
David Garske 62ce4cf679
Merge pull request #603 from gojimmypi/pr-timeout
Fix workflow timeout with revised apt-get source replacements
2025-10-08 12:55:50 -07:00