Commit Graph

2156 Commits (374d6058f66d121cc89d407be96bc76b710c19f8)

Author SHA1 Message Date
David Garske 374d6058f6
Merge pull request #575 from rizlik/pic32_fixes
Pic32c: fix unaligned read, always check flash done after flash operations
2025-06-19 08:53:07 -07:00
Marco Oliverio 1151f5ffda pic32c: flash: check done flag after operations 2025-06-19 17:03:06 +02:00
Marco Oliverio 3a5bffaaf1 pic32c: fix buffer alignment issues in flash driver 2025-06-19 17:03:06 +02:00
David Garske dea8b4e347 Don't use XALIGNED_STACK on static. 2025-06-16 19:05:49 +02:00
David Garske dd03cf19c4 Disabled `wolfBoot_swap_and_final_erase` with `CUSTOM_PARTITION_TRAILER` (not compatible). Added a few more `uint8_t` alignments. 2025-06-16 19:05: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 bd179ed339 Added TSIP support to the set_key, get_key and erase_key API's. Finished full encrypted update testing on Renesas RX with TSIP. Fixed issue with `No rule to make target `NONE’` using encrypted AES. 2025-06-16 19:05:49 +02:00
David Garske 566f3b99cb Cleanup duplicate code in `aes_init`. 2025-06-16 19:05:49 +02:00
David Garske 708b797c8f Fix for Renesas RX TSIP AES CTR to make sure the wolfCrypt_Init() is called before trying to setup the crypto callback. 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 2e5bbfe273 Make sure keySize is set for RX crypto callback. 2025-06-16 19:05:49 +02:00
David Garske b07d99b57e Fix RX TSIP IV nonce. Adjust location of XALIGNED in declarations. 2025-06-16 19:05:49 +02:00
David Garske 7bc947dd06 Fix logic on `ext_flash_check_read` return code (it is supposed to return size read or decrypted). 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 476d1c834b Gramar fix `partitions` -> `partition`. 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 4787d70cd8 Fix to force alignment on the flash header copy (hdr_cpy). Caused issues using wolfBoot as static library on Renesas RX. 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
David Garske 77ede65739 Fixes for grammar. 2025-06-09 16:29:31 +02:00
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 c90c01ac2d pic32c-app: use symbolic name for pins offset 2025-06-09 16:29:31 +02:00
Marco Oliverio b62ec9da33 fix grammar errors 2025-06-09 16:29:31 +02:00
Marco Oliverio 6e8870156e address reviewer comments 2025-06-09 16:29:31 +02:00
Marco Oliverio e3c7f6c663 hal: clean hal tests and PIC32C*.ld linker script 2025-06-09 16:29:31 +02:00
Marco Oliverio 1b9ec09b1a fix reviewer's comments 2025-06-09 16:29:31 +02:00
Marco Oliverio 16c160146f hal: add additional flash hal tests 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
Marco Oliverio 4154057649 hal: add missing include in hal.h 2025-06-09 16:29:31 +02:00
David Garske 0bf65fabb3
Merge pull request #574 from bigbrett/wolfhsm-cert-verify
Add cert chain verification via wolfHSM on sim and TC3xx
2025-06-06 12:38:59 -07:00
Brett Nicholas 6abf550754 review feedback: tabs to spaces 2025-06-03 13:45:09 -06:00
Brett Nicholas ac0eb6dd9f remove erroneous unused argument to example server 2025-05-30 11:24:57 -06:00
Brett Nicholas d689656a71 Add support for wolfHSM cert chain verification on TC3xx 2025-05-30 11:15:56 -06:00
Brett Nicholas 23cf367c38 review feedback: remove use of unused intermediate variable 2025-05-28 12:24:26 -06:00
Brett Nicholas be9b21dddc Fix test sizes for wolfSSL updates 2025-05-28 11:38:28 -06:00
Brett Nicholas 38d1441627 copilot review feedback 2025-05-28 09:37:14 -06:00
Brett Nicholas 7660bf66f8 Add wolfHSM cert chain verification for ECC and RSA 2025-05-27 15:42:59 -06:00
David Garske 2b996f8280
Merge pull request #569 from bigbrett/update-flash-elf-tc3xx-integration
ELF scatter-loading fixes and TC3xx support
2025-05-12 13:11:33 -07: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
David Garske 7c81d6a6f1
Merge pull request #567 from danielinux/prepare-release-2.5.0
Preparing release 2.5.0
2025-04-30 07:43:19 -07: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 c4a6b1c4df Updated Changelog in README.md 2025-04-30 12:11:34 +02:00
Daniele Lacamera 3b563973d2 Updated wolfPKCS11 submodule 2025-04-30 11:49:35 +02:00
Daniele Lacamera c4a3415e98 Updated bootloader version number 2025-04-30 11:49:15 +02:00
Daniele Lacamera 54210851e8 Updated wolfHSM submodule 2025-04-30 11:49:15 +02:00
Daniele Lacamera d05d769e80 Fixes: footprint size increased 2025-04-30 11:49:15 +02:00
Daniele Lacamera 06e8da7a4d Updated wolfSSL submodule to v.5.8.0 2025-04-30 11:49:15 +02:00