Daniele Lacamera
68e688eeb6
Updated Changelog, version
2025-08-01 13:21:47 +02: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
David Garske
1712edc136
Add support for PowerPC 32-bit SHA256 assembly speedups. Minor fix for ELF loading to set entry point before copying sections (resolves issue with loading on top of current location). Rename elf_load_image_mmu argument `entry` to `pentry` to avoid confusion with GET_H64 macro's use of header member "entry".
2025-06-24 19:02:49 +02:00
David Garske
79cef5f605
Peer review fixes (thank you Copilot).
2025-06-16 19:05:49 +02:00
David Garske
b79be86a56
Fix for `NO_SWAP_EXT=1` with encryption enabled. Peer review fixes.
2025-06-16 19:05:49 +02:00
David Garske
3d9beb2642
Cleanup the AES CTR IV.
2025-06-16 19:05:49 +02:00
David Garske
73fc193931
Portability fixes with include < vs ". Added `NO_SWAP_EXT` to allow support for onboard flash swap sector. Added `WOLFSSL_NO_CT_OPS` for ECDSA verify only. Added `WC_NO_DEFAULT_DEVID` to help with code size reduction.
2025-06-16 19:05:49 +02:00
David Garske
844196981b
Cleanup includes.
2025-06-16 19:05:49 +02:00
David Garske
8e6b0af105
Added Renesas RX TSIP encrypted updates support using AES CTR. Requires https://github.com/wolfSSL/wolfssl/pull/8854
2025-06-16 19:05:49 +02:00
David Garske
9451b47628
Fix for Renesas TSIP key types. Fix for Renesas RX .keystore location in linker script. Fix for wolfBoot as library with Renesas to make sure crypto hardware is initialized and setup. Add forced alignment on additional buffers used for flash read/write.
2025-06-16 19:05:49 +02:00
David Garske
487efc606d
Improvements for portability using older gcc 4.8.2. Make sure wolfboot.h includes the `wolfBoot_verify_*` API's. Fixed issue with parsing headers when `#include` is `# include`.
2025-06-16 19:05:49 +02:00
Marco Oliverio
4154057649
hal: add missing include in hal.h
2025-06-09 16:29:31 +02:00
Brett Nicholas
7660bf66f8
Add wolfHSM cert chain verification for ECC and RSA
2025-05-27 15:42:59 -06:00
Brett Nicholas
16e5b94e9d
review comments
2025-05-09 19:06:33 -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
d587a793c0
Added WOLFSSL_PUBLIC_MP to user_settings when PKCS11 is enabled.
2025-04-30 13:45:08 +02:00
Daniele Lacamera
c4a3415e98
Updated bootloader version number
2025-04-30 11:49:15 +02:00
David Garske
b17ea82232
Fix to not include the fdt.h header unless MMU is defined. The fdt.h has a few structs with [0] size arrays that don't work with older GCC.
2025-04-29 11:50:29 +02:00
David Garske
271ae4c2f0
Improving matrix.
2025-04-29 11:50:29 +02:00
David Garske
b6179a2780
Fixing test-lib matrix.
2025-04-29 11:50:29 +02:00
Daniele Lacamera
ea0b4fb935
Added missing files + cosmetics as per review
...
- Added missing `test-app/app_sim_scattered.c`
- Added missing `test-app/sim_scattered.ld`
- Fixed comments at the end of define blocks for consistency
- Removed unused constants as indicated
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
Brett Nicholas
fb6ca4378f
WIP: structure is there, but some major issues. See WOLFBOOT-ELF-LOADER-GAPS.md and video
2025-04-03 09:53:00 +02:00
Daniele Lacamera
076cd1d6c4
Fix for unit test failing
2025-03-04 18:20:46 +01:00
Daniele Lacamera
a195efe608
Avoid enforcing alignment on stack for IAR
2025-02-27 16:46:26 +01:00
David Garske
4c2d2b7e6e
Add support for Armored mode with IAR. Currently only supports ECDSA and Cortex-M. ZD19190
2025-02-05 16:06:18 +01:00
jordan
e2db8d58c4
Remove external ext_lms, ext_xmss pq integrations.
2025-01-20 16:38:24 +01:00
Daniele Lacamera
892acfded8
Prepare release 2.4.0
2025-01-07 13:35:28 +01:00
David Garske
7205820afa
Added QSPI DMA support.
2024-12-30 15:36:43 +01:00
David Garske
acb9d832eb
Fixes for Xilinx Zynq UltraScale+ MPSoC:
...
* Fixes to support wolfBoot native make and gcc-arm cross compiler. ZD 18159
* Adjust wolfBoot linker script to not use 0 base, instead use end of DDR - 1MB.
* Fixed QSPI bare-metal driver for multi-sector and read return code.
* Fixed issue with Xilinx XMSS IMAGE_HEADER_SIZE in documentation. It should be 5000 bytes.
* Performance optimizations for QSPI:
- Allow configuration of SPI clock.
- Improve GSPI FIFO TX/RX fill.
* Added support for FAST_MEMCPY that supports an aligned 32-bit.
* Added Flattened uImage Tree (FIT) image (FDT format).
* Added Aarch64 support for FDT fixups.
* Added Aarch64 startup to support EL2 with cache/MMU.
* Added documentation about exception levels
* Moved zynqmp registers to header.
* Fix printf uart_writenum "buf" len.
* Updated fdt-parser to support saving off larger data images.
2024-12-30 15:36:43 +01:00
Marco Oliverio
1276e152b6
gpt: fix spelling error
2024-12-19 20:12:16 +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
Marco Oliverio
dab560549a
fsp: refactor out common fsp routines
2024-12-19 20:12:16 +01:00
Marco Oliverio
b8a81de965
x86: add wrapper to run 32bit code in 64bit long mode
2024-12-19 20:12:16 +01:00
Marco Oliverio
6358153372
x86: add support for gdt table in C
2024-12-19 20:12:16 +01:00
Brett Nicholas
ceffc788dd
- support for wolfHSM ML-DSA on simulator and AURIX (DMA only)
...
- consolidate AURIX scripts into wbaurixtool.sh
- documentation updates
2024-12-16 19:12:23 +01:00
Brett Nicholas
21a4082952
Merge pull request #521 from danielinux/build-keytools-windows
...
Remove compile-time dependencies from key tools
2024-12-05 16:56:42 -07:00
David Garske
4991eabb18
Peer review fixes. Default to ML-DSA level 2.
2024-12-05 13:39:47 -08:00
David Garske
35b98e723b
Fix the Windows keytools artifact upload.
2024-12-05 11:32:22 -08:00
David Garske
4ac4de51ac
Fix ML-DSA level comment.
2024-12-05 10:29:00 -08:00
Daniele Lacamera
d5e402ebde
Removing compile-time parameters from keygen
2024-12-03 14:50:54 +01:00
David Garske
d007c9af08
Initial support for NXP LS1028A. Booting into OCRAM app. Updates to ARMv8 startup.
2024-12-02 19:41:26 +01:00
Daniele Lacamera
04d2ecd246
Remove dependency from PQC parameters. Speed up tests.
2024-12-02 18:55:32 +01:00
Daniele Lacamera
75efbd9cfb
Removed all compile-time dependency from keytools
2024-11-26 13:17:00 +01:00
David Garske
bf4c8017dd
Test: adding action to build keytools on windows.
...
* Update key tools VS project to 2022.
* Fix a few warnings in sign.c
* Fix issues with windows already having min/max.
* Fix (workaround) issue with key tools needing WOLFBOOT_SECTOR_SIZE.
2024-11-25 14:38:29 -08:00
Daniele Lacamera
7347f334b3
Delta update: check sha digest of base image
...
Only allow delta update if the sha digest of the base image matches the
expected value. This is to prevent the delta update from being applied
to an image that is not the expected base image, even if the version
matches.
The mismatch should never happen in real-life scenarios, but it is to check
for false positives during integration, testing and development.
2024-11-21 14:28:40 +01:00