David Garske
2277dfa2bf
Peer review fix
2026-03-03 12:29:09 +01:00
David Garske
d509e91520
More peer review fixes. Fix the wolfCrypt test build.
2026-03-03 12:29:09 +01:00
David Garske
84d44439c2
More peer review fixes
2026-03-03 12:29:09 +01:00
David Garske
cbaa132588
Fix for tools/scripts/va416x0/build_test.sh portability (MacOS)
...
Added option to support wolfCrypt test/benchmark in test-app
Add some checking if partition size is too large
2026-03-03 12:29:09 +01:00
Brett Nicholas
4d31ef5502
Add self-header feature with support for sim and AURIX TC3xx
2026-02-27 11:39:51 +01:00
Daniele Lacamera
a20101d6df
Add support for DICE attestation + PSA attestation
2026-02-06 18:36:47 +01:00
David Garske
12d7f0a153
Improved encryption constants between the bootloader and the signing tool. Allows the sign tool to properly use the correct block size for each encryption algorithm (64 for ChaCha, 16 for AES).
2026-01-05 20:37:04 +01:00
David Garske
cf08819d8e
Support for CUSTOM_ENCRYPT_KEY that allows customer to supply their own implementation
2026-01-01 12:52:09 +01:00
gojimmypi
079fb006ab
Minor docs update, code review changes, script modifications.
2025-11-24 13:04:06 -08:00
gojimmypi
1ad66e9a6b
Improve docs, add targets and tests per https://github.com/wolfSSL/wolfBoot/pull/598#pullrequestreview-3492319645
2025-11-21 17:54:14 -08:00
gojimmypi
d513adc3b7
Introduce keygen --no-overwrite to avoid prompt
2025-11-13 17:59:22 +01:00
gojimmypi
8c48c5225b
Update project file line endings for Windows CRLF
2025-10-28 11:37:49 -07:00
gojimmypi
fbd8dcf8a2
Update Copyright year to 2025
2025-10-15 11:33:53 -07:00
Brett Nicholas
2e06a5fafe
Refactor Makefiles to allow overriding library dependency paths
2025-10-02 15:16:27 +02:00
David Garske
0b10eb0765
Fix issue with wolfssl submodule update and random.c change keytool failure because of NO_FILESYTEM.
2025-06-24 19:02: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
Brett Nicholas
23cf367c38
review feedback: remove use of unused intermediate variable
2025-05-28 12:24:26 -06:00
Brett Nicholas
7660bf66f8
Add wolfHSM cert chain verification for ECC and RSA
2025-05-27 15:42:59 -06:00
David Garske
8fff9cf3d7
Temp fix: `sign.c:67:5: error: implicit declaration of function '_chsize_s' [-Werror=implicit-function-declaration]`
2025-04-29 11:50:29 +02:00
David Garske
b86d7fc308
Renesas RX minor fixes and documentation updates. Fix for malformed GNUC macro causing clock to not be setup properly when building with RX-GCC compiler. Fix warnings with using `%zu` on older GCC.
2025-04-29 11:50:29 +02:00
Daniele Lacamera
a195efe608
Avoid enforcing alignment on stack for IAR
2025-02-27 16:46:26 +01:00
Daniele Lacamera
afcdefa733
Sign: use manifest header to retrieve base version
2024-12-30 16:36:00 +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
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
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
8cdefaae20
Fix to remove ext_XMS artifact from keytools Makefile. Caused mingw readdir error.
2024-12-05 10:45:52 -08:00
David Garske
eddf0bd234
Progress getting the Windows tools to build.
2024-12-05 08:36:02 -08: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
Daniele Lacamera
04d2ecd246
Remove dependency from PQC parameters. Speed up tests.
2024-12-02 18:55:32 +01:00
Daniele Lacamera
05d0e92ecf
Removed forced inflation of header size in `sign`
2024-12-02 14:07:43 +01:00
Daniele Lacamera
d3935774d9
Fix header size in hybrid mode
2024-12-02 12:03:32 +01:00
Daniele Lacamera
75efbd9cfb
Removed all compile-time dependency from keytools
2024-11-26 13:17:00 +01:00
Daniele Lacamera
93866f7376
Use minimum 512B of header with delta updates
2024-11-26 11:04:09 +01:00
Daniele Lacamera
6c8aafe09d
Remove keytools dependency on IMAGE_HEADER_SIZE.
...
- Added getenv() to override the value at runtime
- Removed doc on old python tools
2024-11-26 10:57:06 +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
Daniele Lacamera
7347f334b3
Delta update: check sha digest of base image
...
Only allow delta update if the sha digest of the base image matches the
expected value. This is to prevent the delta update from being applied
to an image that is not the expected base image, even if the version
matches.
The mismatch should never happen in real-life scenarios, but it is to check
for false positives during integration, testing and development.
2024-11-21 14:28:40 +01:00
Brett Nicholas
f9cbc57795
review feedback
2024-11-13 09:52:49 +01:00
Brett Nicholas
78e4275f99
Initial wolfHSM support for simulator and AURIX TC3xx
2024-11-13 09:52:49 +01:00
David Garske
aec2809212
Cleanups after hybrid signing PR.
2024-10-31 11:23:52 +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
cc447ea879
Support for hybrid authentication (2 ciphers)
2024-10-30 13:17:06 +01:00
jordan
b97abd4ace
Add ML-DSA support.
2024-10-14 10:13:52 +02:00
David Garske
48c7c356d5
Merge pull request #490 from danielinux/universal_keystore_padding
...
Keygen to allow multiple keystore types
2024-08-20 17:13:57 -07:00
Daniele Lacamera
837b8bf315
Keygen to allow multiple keystore types
...
when WOLFBOOT_UNIVERSAL_KEYSTORE=1, the keystore.der file should align
all the keys to the maximum slot size (576).
2024-08-20 14:58:50 +02:00