Commit Graph

167 Commits (master)

Author SHA1 Message Date
David Garske 28bf060488 Fixed PIC32 CI test branches. Update Targets.md with space between CK and CZ targets. Added note about power cycle after programming. 2025-06-09 16:29:31 +02:00
Marco Oliverio 2d6cf95c20 add support for PIC32CZ and PIC32CK 2025-06-09 16:29:31 +02:00
Brett Nicholas ac0eb6dd9f remove erroneous unused argument to example server 2025-05-30 11:24:57 -06:00
Brett Nicholas 7660bf66f8 Add wolfHSM cert chain verification for ECC and RSA 2025-05-27 15:42:59 -06:00
Daniele Lacamera 54210851e8 Updated wolfHSM submodule 2025-04-30 11:49:15 +02:00
David Garske 8ae5ec27ff Use tagged release for wolfHSM-examples to keep it in sync with wolfHSM submodule. 2025-04-29 11:50:29 +02:00
David Garske 271ae4c2f0 Improving matrix. 2025-04-29 11:50:29 +02:00
David Garske cc63bf92ab Fix error "Cannot use SMALL_STACK=1 with HUGE_STACK=1" 2025-04-29 11:50:29 +02:00
David Garske b6179a2780 Fixing test-lib matrix. 2025-04-29 11:50:29 +02:00
David Garske 312d955125 Add small stack. Fix to use sim for test-lib. 2025-04-29 11:50:29 +02:00
David Garske 6f8cf9cb4c Add matrix for all math and sign/hash types. 2025-04-29 11:50:29 +02:00
David Garske 3a2ac0b7a8 Troubleshooting test-lib failure. 2025-04-29 11:50:29 +02:00
David Garske 6f3722d31a Fix test-lib expected failure case. 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 02c2152937 Attempt to update renode base images 2025-04-15 17:29:24 +02:00
Daniele Lacamera 11b8a684b4 Removed elf32bit build test 2025-04-15 17:19:26 +02:00
Daniele Lacamera 71f24248cf Reviewers requests
- Removed stray printfs from elf.c
- Updated test-configs.yml to include build tests for config files
2025-04-14 18:33:15 +02:00
Daniele Lacamera 5f8b79a3c8 Added test for scattered ELF + validation via sim 2025-04-11 16:06:59 +02:00
Daniele Lacamera 2b20782652 Added support for more targets, added more tests 2025-03-28 11:00:07 +01:00
Daniele Lacamera b8908ef8aa Fixed typo in workflow 2025-03-27 18:32:06 +01:00
Daniele Lacamera eacb183751 Fixed workflow 2025-03-27 18:04:36 +01:00
Daniele Lacamera c4f0dec606 Added cmake build test to github actions 2025-03-27 15:50:09 +01:00
Patrik Dahlström 84ac2c799e stm32f1: add github build test
Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
2025-02-21 18:41:04 +01:00
Daniele Lacamera 354df34b6c Added build test. Updated mcxa + mcxw to mcux-sdk 2025-02-18 14:43:37 +01:00
JacobBarthelmeh 519e3b721a
Merge pull request #546 from dgarske/fix_actions
Fix GitHub Action version (v3 is removed 2025-01-30)
2025-01-30 20:08:32 -07:00
David Garske 422ba9deee Fix GitHub Action version (v3 is removed 2025-01-30) 2025-01-30 16:45:42 -08:00
Daniele Lacamera 8b9fc5a32a Fixed PICO_PLATFORM in pico-sdk test 2025-01-27 17:13:57 +01:00
Daniele Lacamera a844392bb7 Added arg 'target' to pico-sdk build test 2025-01-27 17:07:13 +01:00
Daniele Lacamera a14c92f151 Added draft build test. 2025-01-27 17:00:58 +01:00
jordan e2db8d58c4 Remove external ext_lms, ext_xmss pq integrations. 2025-01-20 16:38:24 +01:00
Marco Oliverio 7008f68707 kontron-vx3060-s2: simplify example, add build test, improve docs 2024-12-19 20:12:16 +01:00
Brett Nicholas 9454deb360 add test for wolfHSM ml-dsa to CI 2024-12-16 19:12:23 +01:00
David Garske 35b98e723b Fix the Windows keytools artifact upload. 2024-12-05 11:32:22 -08:00
Daniele Lacamera 04d2ecd246 Remove dependency from PQC parameters. Speed up tests. 2024-12-02 18:55:32 +01:00
Daniele Lacamera b2bf2988d3 Shorten tests by not re-building keytools 2024-12-02 14:19:01 +01:00
Daniele Lacamera b6d3d4a666 Renode test: add V=1 2024-11-28 11:18:19 +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 3a69b0e41a Don't fail if the image contains no base sha
+ Added --no-base-sha option to sign
2024-11-22 11:58:17 +01:00
Brett Nicholas 78e4275f99 Initial wolfHSM support for simulator and AURIX TC3xx 2024-11-13 09:52:49 +01:00
Daniele Lacamera 294e72ef6a Added test for hybrid secure boot 2024-10-30 13:17:09 +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
jordan b97abd4ace Add ML-DSA support. 2024-10-14 10:13:52 +02:00
Daniele Lacamera ab6b1bb416 Fix qemu-fsp build dep 2024-10-11 10:43:26 +02:00
David Garske 8489736eac Fixed and improved erase of remainder of partition logic and logging. Added support for nRF5340 core synchronization (`NRF_SYNC_CORES`). Added test for `WOLFBOOT_FLASH_MULTI_SECTOR_ERASE`. 2024-10-11 10:29:59 +02:00
David Garske 6db7de6a75 Support for the Nordic nRF5340 (application and network cores):
* Added nRF5340 driver support for Clock, Internal Flash (NVMC), GPIO, SPU, OTP, UART, SPI, QSPI and IPC.
* Added support for updating the network core (Sign using "--id 2")
* Cleanup the nRF52 port
* Improved external QSPI and internal Flash tests and logging.
* Improved internal printf support for formatter length.
2024-10-11 10:29:59 +02:00
Daniele Lacamera 6080cc215c [SAMA5D3] Add build test, expand Target.md 2024-09-30 14:06:23 +02:00
jordan f975dbed44 renode tests: update github actions. 2024-09-13 16:30:12 -05:00
David Garske 080dae0125 Fixes to properly support TPM policy with more than one PCR. 2024-09-10 20:53:10 +02:00
Daniele Lacamera 30a1f67e43
Added 32bit simulator via TARGET=sim FORCE_32BIT=1 (#485)
* Added 32bit simulator via TARGET=sim FORCE_32BIT=1

Tests can now run on 32bit simulator (e.g. to match XMALLOC fixed
sizes with sp_math and WOLFBOOT_SMALL_STACK).

* Added draft for new workflow: test simulator with different memory config

* Fix 64bit, SMALL_STACK xmalloc sizes

* Test defaults to SPMATH

* Fixed test: defaults to spmath. Added RSA tests (failing)

* Fixed RSA allocation sizes for 64bit build

* Added 64bit fastmath test (failing)

* Fixed ecc_point size for 64bit builds (FASTMATH)

* simulator config: use SPMATH by default

* Attempt to fix i386 libc dep in workflow

* Added HUGE_STACK to silence warning in FASTMATH+RSA4096 tests
2024-08-09 06:46:15 -07:00