Daniele Lacamera
201c2c5c7e
Adjust BIGINT limits for new wolfSSL ECC+SMALLSTACK
2026-04-07 14:14:44 +02:00
Daniele Lacamera
de831c524f
Changed efi target type to be more portable
2026-03-24 13:52:51 +01:00
Daniele Lacamera
4ffa24c05f
Update CI + fix new findings with cppcheck 2.20
2026-03-24 12:19:44 +01:00
David Garske
a56c70e90a
Support for NXP T1040 RDB
2026-03-20 14:51:15 +01:00
David Garske
6ca5cb9b94
Feedback from customer with actual hardware
2026-03-20 14:43:42 +01:00
Mattia Moffa
b5fab30310
Enable NSC veneers when TZEN=1, even without WOLFCRYPT_TZ
2026-03-18 22:26:32 +01:00
Daniele Lacamera
180e53b186
Fix regression in WOLFBOOT_RAMBOOT_MAX_SIZE
2026-03-12 09:28:51 +01:00
Daniele Lacamera
4eca085b54
Added USE_CLANG option to Makefile
2026-03-10 15:49:45 +01:00
Daniele Lacamera
19d562dbde
Fixed build errors with cross-clang compiler
2026-03-10 15:49:39 +01:00
David Garske
d23943a5af
PolarFire SoC M-Mode, QSPI and L2-LIM support
...
Adds support for running wolfBoot in **Machine Mode (M-mode)** on the PolarFire SoC MPFS250T, booting from eNVM and loading a signed application from **SC QSPI flash** into on-chip LIM (Loosely Integrated Memory). No HSS (Hart Software Services) or DDR is required. It also extends the existing PolarFire HAL with multi-hart support, L2 cache configuration, per-hart UART, and refactors shared code (SDHCI, SCB mailbox, linker/test-app) for both S-mode and M-mode builds.
2026-03-09 07:29:27 +01:00
David Garske
2277dfa2bf
Peer review fix
2026-03-03 12:29:09 +01:00
David Garske
cbaa132588
Fix for tools/scripts/va416x0/build_test.sh portability (MacOS)
...
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large
2026-03-03 12:29:09 +01:00
Daniele Lacamera
00bf88b69d
Added upper limit for NO_PARTITIONS builds
2026-03-02 14:18:23 +01:00
Brett Nicholas
4d31ef5502
Add self-header feature with support for sim and AURIX TC3xx
2026-02-27 11:39:51 +01:00
Daniele Lacamera
c352808ba1
Minor build fixes
...
- exclude attestation symbols for non-PSA builds
- fix dependency of signed test-application on keytools
2026-02-11 19:31:26 +01:00
Daniele Lacamera
a20101d6df
Add support for DICE attestation + PSA attestation
2026-02-06 18:36:47 +01:00
David Garske
4e3e55d53a
Add NXP S32K1xx support with full update functionality
...
- HAL: Flash (FTFC), UART (LPUART1), Clock (FIRC 48MHz), Watchdog
- Requires NVM_FLASH_WRITEONCE=1 and RAM_CODE=1 for proper operation
- Test app with interactive console: status, trigger, success, reboot
- LED indicators: Green (v1), Blue (v2+)
- Flash automation script: tools/scripts/nxp-s32k142-flash.sh
- Tested on S32K142EVB with sector swap update
Supported variants: S32K142 (256KB), S32K144 (512KB), S32K146 (1MB), S32K148 (2MB)
2026-01-19 19:13:01 +01:00
Daniele Lacamera
09a6292f7e
Added 'emu-test-apps' + test.sh script for m33mu
2026-01-15 13:54:10 +01:00
Daniele Lacamera
af670811fe
zephyr integration as TEE.
...
- Integrates wolfPSA as psa_crypto/psa_store engine in TrustZone
- Provides interface to access APIs from non-secure mode
- Patches to enable wolfboot as TEE module in zephyr
- Patches to enable stm32h563-nucleo/ns as target in zephyr
- psa_crypto zephyr example using wolfboot/wolfPSA as secure engine
2026-01-07 08:27:58 +01:00
David Garske
0292da582b
Refactor disk.c for generic use. Wired up uSD read for MBR/GPT
2025-12-24 18:31:55 +01:00
David Garske
e055585942
Support for Microchip PolarFire SoC (MPFS250)
2025-12-24 18:31:55 +01:00
Brett Nicholas
6607b66049
Allow user to pass their own NVM init file
2025-12-10 07:43:32 +01:00
Brett Nicholas
57b874be2d
Simplify use of user-supplied keys and certificates with test app via
...
new `USER_ variables`
2025-12-10 07:43:32 +01:00
David Garske
2546ebcaf9
Fixes for unused variables. Also repaired STM32WB55 build with PKA
2025-11-20 18:26:58 +01:00
Mattia Moffa
d5b2b4728d
Various STM32 TrustZone improvements
...
- New config flags for flash geometry
- New script to automatically set option bytes
- End of stack address fix for the STM32U5 test app
- STM32U5 support for NUCLEO-U575ZI-Q (previously only supported
discovery board)
2025-11-20 18:00:55 +01:00
David Garske
4e1c9f0e1f
Revert changes to cppcheck and unused arguments
2025-11-19 16:29:28 +01:00
David Garske
8cb3d33339
Added STM32H5 SPI Driver and support for TPM
...
Cleanup STM32H5 HAL port.
Refactor `__ARM_FEATURE_CMSE` to `TZ_SECURE()`
Refactor attribute cmse_nonsecure_entry to use new macro `CSME_NSE_API`
Added TPM Non Secure Callable API's
Added TPM support to STM32H5 test application
2025-11-19 16:29:28 +01:00
Juliusz Sosinowicz
2345138a1b
Implement filesystem-based partition state access and CLI tools
...
- Add filesystem access implementation in HAL (`hal/filesystem.c`)
- Introduce new library_fs target and build rules for filesystem-backed partition management
- Provide example configuration for library_fs
- Add CLI application (`hal/library_fs.c`) to query and manage partitions
- Update documentation with usage instructions and build steps for the new CLI tool
- Update .gitignore
2025-10-30 16:31:27 +01:00
David Garske
2df3768cce
Fixes to support latest wolfSSL (disable KDF/PRF)
2025-10-16 23:02:09 +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
Brett Nicholas
42cf7e9b70
TC3xx: Replace IDE/AURIX project with new HAL module
2025-10-08 11:03:44 -06:00
Brett Nicholas
2e06a5fafe
Refactor Makefiles to allow overriding library dependency paths
2025-10-02 15:16:27 +02:00
Brett Nicholas
c106d92a48
wolfHSM server support with X509 auth
2025-06-25 12:17:39 +02: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
David Garske
8d23435d28
Fixing tests for wolfBoot as library.
2025-04-29 11:50:29 +02:00
David Garske
adc003351b
Support for building libwolfboot.a. Library target used to just build a test-lib, but that's not very portable. Added test cases.
2025-04-29 11:50:29 +02:00
Daniele Lacamera
359c59fa47
Added IDE/pico-sdk dir to build wolfboot+blink app
2025-01-24 13:06:36 +01:00
Marco Oliverio
834a712350
fsp: move TempRamInitExit and later APIs in stage2
...
To avoid using Flash memory after TempRamInitExit. This protects against
malicious modification/injection of the flash after Cache-As-RAM is
disabled.
2024-12-19 20:12:16 +01:00
Daniele Lacamera
5ab661677f
keygen: removed compile-time parameters (lms, xmss)
2024-12-03 14:58:49 +01:00
Daniele Lacamera
d5e402ebde
Removing compile-time parameters from keygen
2024-12-03 14:50:54 +01:00
Daniele Lacamera
04d2ecd246
Remove dependency from PQC parameters. Speed up tests.
2024-12-02 18:55:32 +01:00
Daniele Lacamera
4007d14ef0
Added dep to target.h on tpmtools
2024-11-26 13:19:35 +01:00
Daniele Lacamera
75efbd9cfb
Removed all compile-time dependency from keytools
2024-11-26 13:17:00 +01:00
Daniele Lacamera
bc5e2ce2b8
Makefile passes IMAGE_HEADER_SIZE to sign tool.
2024-11-26 11:07:05 +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
72a0aa3853
Added Benchmark script. Added ARMASM support.
2024-10-24 21:20:09 +02:00
David Garske
63dd623ac8
Support for SPU to write protect bootloader flash region on application startup.
2024-10-11 10:29:59 +02:00
David Garske
322aa325b6
Consolidate duplicate TEST_FLASH code.
2024-10-11 10:29:59 +02:00