Commit Graph

1665 Commits (02bfe8a6a1c9f12e89a8293aa668a04d1e10c68c)

Author SHA1 Message Date
Daniele Lacamera 92f630ad3c Added "cc" clobbers 2024-04-11 12:39:12 +02:00
Daniele Lacamera 737ecaf338 wolfBoot partition size on stm32c0-lms: 10KB
With gcc < 13, LMS setup won't fit in 8KB (overflow of 32B).
2024-04-11 11:45:42 +02:00
Daniele Lacamera 553885038b Added buld-lms workflow 2024-04-11 11:40:53 +02:00
Daniele Lacamera a4fe7d6c12 Added the new stm32c0 config to the build workflow 2024-04-11 11:30:35 +02:00
Daniele Lacamera 655ba461ac Added more configuration options for stm32c0 2024-04-11 11:27:56 +02:00
Daniele Lacamera c332cb93d8 Updated footprint size limits
+ footprint.yml:  Removed dependency to abandoned/obsolete github action module
2024-04-10 14:42:50 +02:00
Daniele Lacamera caf9577613 Switch STM32C0 default config to ed25519 2024-04-10 13:08:20 +02:00
Daniele Lacamera 12f8f75c89 Add `HAVE_NETDB_H` to tpmtools and sim-wolfboot 2024-04-10 12:45:52 +02:00
Daniele Lacamera 063a120ec5 Update test platform from ubuntu-20.04 to ubuntu-latest 2024-04-10 12:21:25 +02:00
Daniele Lacamera c12d968583 Added extra memory buffer for wolfCrypt 5.7.0 RSA
In wolfSSL 5.7.0 here is an extra buffer used for "ASN" checks on RSA
2024-04-10 12:13:38 +02:00
Daniele Lacamera c64cb4ee06 Updated submodules: wolfSSL-v5.7.0 + wolfTPM latest 2024-04-10 11:25:06 +02:00
Daniele Lacamera d73341112d Anti-glitch armor: Added clobbers to assembly 2024-04-10 09:59:14 +02:00
Jim Norton 8fa5562003 Added custom-tlv-string non-regression test to github workflows 2024-04-05 08:52:03 +02:00
Jim Norton 7b0f78d488 Updated documentation. 2024-04-05 08:52:03 +02:00
Jim Norton 1a0eb3d851 Fixed indentation issue. 2024-04-05 08:52:03 +02:00
Jim Norton e4c6d4c34c Added support for custom-tlv-string 2024-04-05 08:52:03 +02:00
David Garske 31a4b7e25d
Merge pull request #423 from danielinux/mcxa153
Added support for NXP MCXA153
2024-03-29 13:56:28 -07:00
David Garske bc0d909d5c Fix for SP ASM (this MCX A Cortex-M33 apparently doesn't have `UMAAL` or is not compatible). Removed the NVM flash write once (not required). 2024-03-29 13:33:34 -07:00
David Garske 574f42ad83 Add support for wolfBoot_success() from test-app. 2024-03-29 11:51:26 -07:00
David Garske 49699bcc03 Add example for larger wolfBoot partition scheme (all partitions 40KB). Added instructions for debugging. 2024-03-29 11:39:40 -07:00
David Garske 61d24ab857 Added test-app code to change LED color based on version. Improved documentation. Minor code cleanups. 2024-03-29 11:10:30 -07:00
Daniele Lacamera 9ea316d18f Disabling build test 2024-03-29 10:46:57 +01:00
Daniele Lacamera ad00db4cc9 Added build test for MCXA153 2024-03-29 10:39:02 +01:00
Daniele Lacamera dfc53df909 Added support for NXP MCXA153 2024-03-29 10:25:08 +01:00
jordan cf0519903c Fix lms and xmss build. 2024-03-19 21:50:46 +01:00
David Garske e8ce553ce8 Change the STM32U5 default image header size to resolve vector table alignment issues with the Cortex-M33. ZD 17661 2024-03-15 21:10:43 +01:00
Marco Oliverio 6d927eb334
Merge pull request #418 from danielinux/same51_sector_size
Fixed sector size for SAME51
2024-03-11 12:44:22 +01:00
Daniele Lacamera 2500266c7f Fixed sector size for SAME51
According to datasheet DS60001507, section 25.6.2:

"The NVM is organized into two banks, each bank is organized into blocks, where each block contains
sixteen pages and page size is 512 bytes."
2024-03-11 12:25:57 +01:00
David Garske c005ba605c
Merge pull request #417 from danielinux/fix-tlv-alignment
Custom TLV: enforce 8B alignment for all fields
2024-03-08 12:23:45 -08:00
David Garske 5ecd2f749d Cleaned up TLV example and simulator output. Moved `wolfBoot_find_header` to the public header. 2024-03-08 12:15:23 -08:00
Daniele Lacamera 440ebb9dc1 Addressed reviewer's comments 2024-03-08 20:12:50 +01:00
Daniele Lacamera 00ec1b4395 Added github action to test custom TLV 2024-03-08 18:58:21 +01:00
Daniele Lacamera e9d65b3bd2 Fixed TLV alignment for 8B fields
+ added sim "get_tlv" command
2024-03-08 18:40:34 +01:00
David Garske 01e22edb34 Fix sign tool TLV alignment padding. 2024-03-08 11:38:46 +01:00
David Garske 2826f70ca7 Improve documentation for new custom TLV. 2024-03-08 11:38:46 +01:00
David Garske e3669245d5
Merge pull request #411 from miyazakh/renesas_rz2
Support wolfBoot on Renesas RZN2L
2024-03-01 20:22:11 -08:00
David Garske 63da28c493 Fixes for spelling and typos. 2024-03-01 13:24:57 -08:00
David Garske 35216fa0fd
Merge pull request #414 from danielinux/ecc521
Added support for SIGN=ECC521
2024-03-01 13:01:39 -08:00
David Garske 5ba777c748 Add documentation for ECC P-521. 2024-03-01 12:28:07 -08:00
Daniele Lacamera c7c0e8c686 Ecc521+Sha384: fixed test case 2024-03-01 16:55:22 +01:00
Daniele Lacamera a314875c79 Added support for SIGN=ECC521 2024-03-01 15:32:33 +01:00
Hideki Miyazaki b92509a438 add RZN2L to Targets.md
clean up
2024-03-01 07:17:17 +09:00
David Garske dff83a88f9
Merge pull request #412 from danielinux/custom-tlv
Added support for custom TLVs in manifest header
2024-02-29 08:44:08 -08:00
Daniele Lacamera 0996e0f31e Added tests for custom-tlv parameters 2024-02-29 17:29:29 +01:00
Daniele Lacamera df3ccc55b5 Address reviewer's comment
Don't allow "0xFF" in custom tags
2024-02-29 17:29:29 +01:00
Daniele Lacamera 304e0e876e Added sign option `--custom-tlv-buffer` 2024-02-29 17:29:29 +01:00
Daniele Lacamera 43f7730576 Added support for custom TLVs in manifest header 2024-02-29 17:29:29 +01:00
David Garske 69556cd639
Merge pull request #413 from danielinux/same51_erase_fix
SAM E51: hal_flash_erase bugfix
2024-02-29 06:34:59 -08:00
Daniele Lacamera 32057f1fa0 SAM E51: hal_flash_erase bugfix
Increment the address when erasing multiple pages.
2024-02-29 12:30:13 +01:00
Hideki Miyazaki 5993cb4fa3 change background color to white 2024-02-29 15:08:36 +09:00