Commit Graph

2153 Commits (master)

Author SHA1 Message Date
David Garske aec2809212 Cleanups after hybrid signing PR. 2024-10-31 11:23:52 +01:00
David Garske b333317047
Merge pull request #510 from danielinux/hybrid-auth
Support for hybrid authentication (two ciphers)
2024-10-30 09:22:34 -07:00
Daniele Lacamera 195f479920 Remove extra LDFLAGS when building simulator 2024-10-30 15:54:43 +01:00
jordan c4f87c6ad8 tools renode: fix ext_LMS and ext_XMSS sign arg check. 2024-10-30 15:08:57 +01:00
jordan cfd65a8ee8 tools renode: reset SIGN_ARGS. 2024-10-30 15:08:57 +01:00
Daniele Lacamera 1d7744d2e1 guarded gcc-specific LDFLAGS in sim build 2024-10-30 13:48:46 +01:00
Daniele Lacamera dbf32e615e WOLFBOOT_USE_STDLIBC gated behind USE_GCC 2024-10-30 13:17:09 +01:00
Daniele Lacamera 4743ec06c1 Reviewer comments: fixed typos, less verbose sign
Removed some debug leftovers
2024-10-30 13:17:09 +01:00
Daniele Lacamera b218a33b60 Cosmetic changes 2024-10-30 13:17:09 +01:00
Daniele Lacamera 66154af7d1 Updated documentation in docs/PQ.md 2024-10-30 13:17:09 +01:00
Daniele Lacamera d7a45db083 Added benchmark for Hybrid modes 2024-10-30 13:17:09 +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
Marco Oliverio da1e869c01
Merge pull request #515 from danielinux/cortexm-armasm-thumb2
ARMv7-M, ARMv8-M using Thumb2 version of ARMASM
2024-10-30 13:10:37 +01:00
Daniele Lacamera da5d10d41e Cortex-M: remove ARMASM_INLINE 2024-10-30 12:35:02 +01:00
Daniele Lacamera 0aa90902ee ARMv7-M, ARMv8-M using Thumb2 version of ARMASM 2024-10-30 12:18:22 +01:00
Marco Oliverio 8aa6be124e
Merge pull request #514 from danielinux/update-wolfssl-5.7.4
Update submodules to wolfSSL v5.7.4
2024-10-30 11:00:43 +01:00
Daniele Lacamera f90197044a Added missing symbol to compile tpmtools 2024-10-30 10:28:21 +01:00
Daniele Lacamera bc15359521 Update submodules 2024-10-30 10:21:40 +01:00
David Garske 787a21b222
Merge pull request #513 from danielinux/benchmark
Added benchmark script, enabled ARMASM for Cortex-M3,4,7,33
2024-10-25 09:40:03 -07:00
Daniele Lacamera c1fbfd6b1d Rephrased description of assembly optimization 2024-10-25 09:18:06 +02:00
Daniele Lacamera 0b82680b7c Fix tabs vs. space in .mk files 2024-10-25 09:10:41 +02:00
Daniele Lacamera 72a0aa3853 Added Benchmark script. Added ARMASM support. 2024-10-24 21:20:09 +02:00
András Fekete 518909ee18
Merge pull request #512 from danielinux/update-wolfssl-submodule
Updated wolfSSL to latest version
2024-10-21 12:37:47 -04:00
Daniele Lacamera 668f117c30 LMS: adjusted footprint size 2024-10-21 15:15:15 +02:00
Daniele Lacamera ca03fd9d85 Updated wolfSSL to latest version 2024-10-21 15:09:16 +02:00
philljj 7891960bfd
Merge pull request #508 from danielinux/atsama5d3
Fixes for SAMA5D3
2024-10-15 12:41:02 -04:00
Daniele Lacamera cb77e4273c Fix potential integer overflow in shifts (cppcheck) 2024-10-14 10:14:48 +02:00
Daniele Lacamera 95d58244a9 SAMA5D3: Hal fixes, add DBGU, enable ARM_ASM 2024-10-14 10:14:48 +02:00
Daniele Lacamera 07bdae680a ARMASM. Macros for clocks+gpios. Set MAC pins. 2024-10-14 10:14:48 +02:00
jordan b97abd4ace Add ML-DSA support. 2024-10-14 10:13:52 +02:00
philljj 8bdb0507c0
Merge pull request #509 from danielinux/update-wolfssl
Update wolfssl
2024-10-11 15:31:23 -05:00
Daniele Lacamera 8386a503f8 Added NO_WOLFSSL_MALLOC 2024-10-11 20:48:34 +02:00
Daniele Lacamera 855b968d75 Activate debug in sim_tpm tests 2024-10-11 14:49:43 +02:00
Daniele Lacamera ab6b1bb416 Fix qemu-fsp build dep 2024-10-11 10:43:26 +02:00
Daniele Lacamera 2f78ffdd7b New ECC curve spec size (fixes SMALL_STACK + ECC) 2024-10-11 10:30:46 +02:00
Daniele Lacamera b65879f9a0 Update to wolfssl with PR 8053 2024-10-11 10:30:46 +02:00
Daniele Lacamera c115ed3f15 Updated footprint limits 2024-10-11 10:30:46 +02:00
Daniele Lacamera 4f5ad04a9a Updated submodule 'wolfssl' to latest master 2024-10-11 10:30:46 +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 3e87c70fa2 Fix issue with network core update when not a multiple of 4 bytes. The QSPI driver requires READ.CNT to be a multiple of 4 bytes (so read a bit more if odd remainder). 2024-10-11 10:29:59 +02:00
David Garske d803a20217 Switch to using IPC for communicating state. Prevents possible hard fault on network core reset. Cleanup make logic for using custom partition id (WOLFBOOT_PART_ID). On net update allow app core to continue booting if synchronization is enabled. 2024-10-11 10:29:59 +02:00
David Garske 7260ecbcbb Added tests for delta updates. Added logging for delta version errors. Added `SIGN_OPTIONS_EXTRA`. 2024-10-11 10:29:59 +02:00
David Garske d706916209 Fix `sleep_us` logic to use RTC. Resolves issue with different optimization levels breaking sleep. Also demonstrates synchronized boot and LED's matching from both cores. 2024-10-11 10:29:59 +02:00
David Garske f6c12839f3 Enable ECC384 and SHA384. Fix sleep_us. Add Cortex-M hard-fault handler support. 2024-10-11 10:29:59 +02:00
David Garske 1a38293d47 Improve the nRF5340 build script to support arguments. 2024-10-11 10:29:59 +02:00
David Garske ab59175427 Fix for nRF5340 `uart_write` issue with memchr args, which caused occasional corrupt characters to be printed. Improve core state description in logging. Enabled network core test app GPIO work on `LED2 P0.29`. 2024-10-11 10:29:59 +02:00
David Garske 29a30a6efc Enable backup for network core, so the last known image will still be in shared ram. Fixed bug with swap offset on network core external memory map and "erase" init. 2024-10-11 10:29:59 +02:00
David Garske e6dacde024 Attempt to not grow code size with end of partition sector erase changes. 2024-10-11 10:29:59 +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