Commit Graph

1990 Commits (a171090a08e2dd518dffbd099c13ae0e637b73ba)

Author SHA1 Message Date
Daniele Lacamera a171090a08 Update wolfTPM 2025-01-03 00:18:03 +01:00
David Garske d9b9388188 Fix for new armasm support of cpuid. 2025-01-02 15:16:48 -08:00
Daniele Lacamera 58ca84cea8 Include wolfPKCS11 PR42 2025-01-03 00:02:33 +01:00
Daniele Lacamera fe9eddbd67 wolfPKCS11: include PR 41 2025-01-02 23:37:34 +01:00
Daniele Lacamera 2989ec9628 Updated submodules to wolfSSL 5.7.6 2025-01-02 15:03:33 +01:00
David Garske 4a6d309d2a
Merge pull request #532 from danielinux/sign-delta-base-from-header
Sign tool: use manifest header to retrieve base version
2024-12-30 09:16:45 -08:00
Daniele Lacamera afcdefa733 Sign: use manifest header to retrieve base version 2024-12-30 16:36:00 +01:00
David Garske b8a23b1f81 Allow build-time adjustment of QSPI reference clock and divisor. Eliminate `ZCU102` macro (not needed). Add QSPI init message with ref clock, divisor, bus and IO mode (Poll or DMA). 2024-12-30 15:36:43 +01:00
David Garske fb08f0788c Make `flush_dcache_range` available even with `USE_BUILTIN_STARTUP`. Remove unused variable. 2024-12-30 15:36:43 +01:00
David Garske f729e419e6 Fixes for QSPI DMA mode. For example reduces QSPI->DDR load of 154MB from 18,228ms to 2,607ms. Changed QSPI to use DMA by default (can force IO mode using `GQSPI_MODE_IO`). 2024-12-30 15:36:43 +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
John Bland a04f234b85 remove sector alignment check 2024-12-30 15:31:32 +01:00
John Bland c75101e999 stop the selSec from being applied twice to lastSector 2024-12-30 15:31:32 +01:00
Marco Oliverio 7008f68707 kontron-vx3060-s2: simplify example, add build test, improve docs 2024-12-19 20:12:16 +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 151de7fd0b fsp: minor: remove unused parameter from jump_into_wolfboot 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
John Bland aa01f6e41c move disable backup flag to correct spot 2024-12-17 14:46:24 +01:00
John Bland 3b0b025cb7 fix wrong conditional compile flag 2024-12-17 14:46:24 +01:00
John Bland e24a658c89 fix comments 2024-12-17 14:46:24 +01:00
John Bland f5e3e0c8a5 unlock flash when updating partition state 2024-12-17 14:46:24 +01:00
John Bland b518782a4b fix all cases where flash was written or erased while locked 2024-12-17 14:46:24 +01: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
John Bland b52c9387aa update footprint 2024-12-17 14:46:24 +01:00
John Bland 328b063467 properly unlock flash on re-entry of wolfBoot_swap_and_final_erase
and move it out of the lock logic of update and delta update
2024-12-17 14:46:24 +01:00
Brett Nicholas 497d42a080 Update wolfHSM.md 2024-12-16 19:14:24 +01:00
Brett Nicholas 0a63f0f4aa Update wolfHSM.md
add ML-DSA to list of supported algorithms for wolfHSM
2024-12-16 19:14:24 +01:00
Brett Nicholas 638787e296 cast malloc result 2024-12-16 19:12:23 +01:00
Brett Nicholas 0d18b25a2e fix keytools public key der export to use ml-dsa level passed as env var 2024-12-16 19:12:23 +01:00
Brett Nicholas 9454deb360 add test for wolfHSM ml-dsa to CI 2024-12-16 19:12:23 +01:00
Brett Nicholas 4b8e4b7907 Additional fixes for new keytool features introduced in #521 2024-12-16 19:12:23 +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 fae36f2adf Reserve enough size for the ML-DSA public key in gen. 2024-12-05 14:44:30 -08:00
David Garske 6bed80fbc2 ML-DSA default is level 2. The keytools must be able to support all ML-DSA levels at run-time using `ML_DSA_LEVEL` environment variable. wolfBoot needs to be built with the correct level specified in the .config. 2024-12-05 14:25:43 -08: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 29794f2ad8 Update wolfssl submodule to latest master that includes https://github.com/wolfSSL/wolfssl/pull/8257 2024-12-05 10:50:25 -08:00
David Garske 8cdefaae20 Fix to remove ext_XMS artifact from keytools Makefile. Caused mingw readdir error. 2024-12-05 10:45:52 -08:00
David Garske 4ac4de51ac Fix ML-DSA level comment. 2024-12-05 10:29:00 -08:00
David Garske eddf0bd234 Progress getting the Windows tools to build. 2024-12-05 08:36:02 -08:00
Daniele Lacamera c3fe5055f6 Fix check on ML_DSA pubkey size at runtime 2024-12-03 15:23:40 +01:00
Daniele Lacamera 51eff3e71d Adjusted size for ML_DSA build 2024-12-03 15:03:45 +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 7132a13545 Complete generic sign 2024-12-03 11:10:16 +01:00