-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PureEdDSA and support for calculating SHA directly on device #2080
base: main
Are you sure you want to change the base?
Commits on Oct 11, 2024
-
bootutil: Allow SHA512 with TinyCrypt
The commit enables SHA512 support, for image hashing, with TinyCrypt. Although on 32bit machines the SHA256 will be faster than SHA512, benefit of enabling the SHA512 is that you have only one algorithm compiled in which reduces size of code. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c19b56 - Browse repository at this point
Copy the full SHA 5c19b56View commit details -
bootutil: Enable hash calculation directly on storage
The commit add support for passing storage device address space to hash calculation functions, which allows to use hardware accelerated hash calculation on storage. This feature only works when image encryption is not enabled and all slots are defined within internal storage of device. The feature is enabled with MCUboot configuration option MCUBOOT_HASH_STORAGE_DIRECTLY. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b96a5de - Browse repository at this point
Copy the full SHA b96a5deView commit details -
bootutil: PureEdDSA using ED25519
The commit adds support for PureEdDSA, which validates signature of image rather than hash. This is most secure, available, ED25519 usage in MCUboot, but due to requirement of PureEdDSA to be able to calculate signature at whole message at once, here image, it only works on setups where entire image can be mapped to device address space, so that PSA functions calculating the signature can see the whole image at once. The feature is enabled with MCUBOOT_SIGN_PURE MCUboot configuration option. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d07abb1 - Browse repository at this point
Copy the full SHA d07abb1View commit details -
zephyr: Allow SHA512 with TinyCrypt
Select BOOT_IMG_HASH_ALG_SHA512_ALLOW via BOOT_ED25519_TINYCRYPT. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4eb04b1 - Browse repository at this point
Copy the full SHA 4eb04b1View commit details -
zephyr: Add Kconfig and configuration for SHA on storage
Adds CONFIG_BOOT_IMG_HASH_DIRECTLY_ON_STORAGE, which enables MCUBOOT_HASH_STORAGE_DIRECTLY for Zephyr. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20c3dab - Browse repository at this point
Copy the full SHA 20c3dabView commit details -
zephyr: Add Kconfig option to select PureEdDS
Commit adds CONFIG_BOOT_SIGNATURE_TYPE_PURE Kconfig option, which enables MCUBOOT_SIGN_PURE in MCUboot configuration. Signed-off-by: Dominik Ermel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75de637 - Browse repository at this point
Copy the full SHA 75de637View commit details