Brett Nicholas
b52dd5a1d0
make wolfHSM client ID parameterizable and settable via Makefiles
2026-06-16 22:03:28 -06:00
Brett Nicholas
a1f86fa1c2
expose root CA list as makefile var
2026-05-26 17:37:50 +02:00
Brett Nicholas
b8bc0a75e5
Add support for wolfHSM multi-root certificate verification
2026-05-26 17:37:50 +02:00
Tobias Frauenschläger
6e60abd034
Continue the ML-DSA renaming
2026-05-19 11:21:20 -07:00
Brett Nicholas
e43e012e98
review feedback
2026-05-05 16:37:54 +02:00
Brett Nicholas
a2e9267529
Adds generic cryptocb support for PK, hash, and symmetric crypto
2026-05-05 16:37:54 +02:00
Daniele Lacamera
776378ca78
Preparing release v2.8.0 + update copyright
2026-04-16 13:11:56 +02:00
Paul Adelsbach
3d2a555e1a
Update wolfHSM pointer, fix minor issues
2026-03-23 20:05:07 +01:00
Daniele Lacamera
5f919c1b2e
Updated submodules
2026-03-20 14:57:43 +01:00
Brett Nicholas
d661c2afb3
Add support for simulator self-update test
2026-01-08 09:40:44 -08:00
Daniele Lacamera
10a0c0bfa0
Add simulator support for DUALBANK, test bank swap
2025-11-03 11:21:22 +01:00
gojimmypi
fbd8dcf8a2
Update Copyright year to 2025
2025-10-15 11:33:53 -07:00
Brett Nicholas
1febfd906e
unify global HAL names between server/client, update docs
2025-06-25 12:17:39 +02:00
Brett Nicholas
c106d92a48
wolfHSM server support with X509 auth
2025-06-25 12:17:39 +02:00
Brett Nicholas
38d1441627
copilot review feedback
2025-05-28 09:37:14 -06:00
Brett Nicholas
7660bf66f8
Add wolfHSM cert chain verification for ECC and RSA
2025-05-27 15:42:59 -06:00
Brett Nicholas
d49e507926
- Support external flash for elf scatter-loading
...
- Support ELF scatter-loading on TC3xx
- Modify TC3xx HAL flash erase to support arbitrary offsets and sizes
- Realign partition size and addresses to support more efficient sector mass erase on update
2025-05-08 08:50:26 -06:00
Daniele Lacamera
9c3e86241a
Some of the fixes requested during review:
...
- ARCH_FLASH_OFFSET only used in simulation (dynamic 'base' address)
- Fixed the DISABLE_BACKUP case
- renamed define to WOLFBOOT_ELF_SCATTERED
2025-04-11 15:55:05 +02:00
Daniele Lacamera
386a172587
Fix regressions detected by github workflows
2025-04-07 17:10:37 +02:00
Daniele Lacamera
d9104ec151
Fix scatter-gather ELF
2025-04-07 12:19:04 +02:00
Daniele Lacamera
11091944d7
ELF_SCATTERED: added sha check (WIP)
2025-04-04 19:15:04 +02:00
Daniele Lacamera
e7cd340ebf
Moved elf parsing/scattering to elf.c, WIP sim
2025-04-03 17:12:42 +02:00
John Bland
665641dc13
update tests to properly simulate flash locks
...
add hal_flash_unlock after setting the key since setting the key locks flash
2024-12-17 14:46:24 +01:00
Brett Nicholas
78e4275f99
Initial wolfHSM support for simulator and AURIX TC3xx
2024-11-13 09:52:49 +01:00
Daniele Lacamera
cc447ea879
Support for hybrid authentication (2 ciphers)
2024-10-30 13:17:06 +01:00
Daniele Lacamera
04111a67b4
Added unit tests for FLAGS_HOME + fix NVM election
...
Taking into account the additional offset for PART_UPDATE_FLAGS at the
end of each flags sector when comparing two redundant flag sectors in
NVM_FLASH_WRITEONCE + FLAGS_HOME
2024-07-17 11:28:40 +02:00
John Bland
6c3940fafc
refactor final step of powerfail safe update and add
...
emergency fallback test
2024-07-10 16:58:23 -04:00
Daniele Lacamera
fce6149cf8
Update license GPL2 -> GPL3
2024-04-16 16:46:15 +02:00
Daniele Lacamera
c3c6d21675
Added cppcheck --enable-portability, fixed UBs
...
Fixed reported UBs involving (void *) ptr arithmetic
2023-10-13 16:14:07 +02:00
David Garske
701674be4f
Merge pull request #343 from jpbland1/add-nvm-configs
...
add combinations of NVM_FLASH_WRITEONCE config tests
2023-08-17 07:02:51 -07:00
David Garske
9ca58248e4
Adding GitHub Action for testing TPM features.
2023-08-17 13:43:58 +02:00
John Bland
1d859ef07c
update the sim hal to erase with FLASH_BYTE_ERASED
...
instead of 0xff since FLAGS_INVERT doesn't use 0xff
2023-08-17 01:21:12 -04:00
John Bland
a774da4821
fix powerfail test to actually trigger, previously
...
the test has been doing nothing but trigger the update and then fallback over and over again
2023-08-15 14:03:33 -04:00
David Garske
7190392245
Simulator fixes and support for using MacOS:
...
* Added simulator support for Mac.
* Fix for simulator to properly assemble wolfboot.bin + signedtestapp + update + swap.
* Fixes for handling 64-bit assigned mmap virtual addresses. Added hal_flash_write and hal_flash_erase support for 64-bit address using uintptr_t. Enabled if platform is 64-bit and `FORCE_32BIT` is not defined
* Fix simulator conflict with src/libwolfboot.o object in test-app.
* Cleanup test-app linker flags.
2023-08-07 20:54:18 +02:00
Daniele Lacamera
588b3192d2
New simulator tests
...
- internal flash now mapped at 0xC0000000 (using `ARCH_FLASH_OFFSET`)
- wolfBoot binary included in internal flash (wolfboot partition is also
now writeable to test self-updates and encryption)
- sim test app supports encryption (sets the key for test)
- added new target to store the update in the external flash
- external flash mapped to 0xD0000000
2023-05-15 11:13:38 +02:00
Daniele Lacamera
9759773f9d
Added simulator tests with delta updates
2023-03-21 18:03:38 +01:00
Daniele Lacamera
e39ce78b30
Fix fprintf format string warning
2023-03-21 18:03:38 +01:00
Daniele Lacamera
887f96c7b0
Fix fprintf warnings
2023-03-21 18:03:38 +01:00
Daniele Lacamera
57a8fb30f1
Added test scripts
2023-03-21 18:03:38 +01:00
Daniele Lacamera
6aa5c114e5
Added option to sim target to simulate powerfails
2023-03-21 18:03:38 +01:00
Marco Oliverio
c077207b01
feature: simulated target
...
This commit introduces a simulated target where the internal and optionally the
external flash can be simulated and backed by files. Using this target will
produce an executable wolfBoot ELF image.
2022-07-12 10:13:10 +02:00