-
Notifications
You must be signed in to change notification settings - Fork 238
[nrf noup] bootutil: Use correct set of KMU key slots #531
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
base: main
Are you sure you want to change the base?
Conversation
db03566
to
cc3ccda
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks correct
nrf-squash! [nrf noup] bootutil: Add support for KMU stored ED25519 signature key Will instead use the immutable bootloader key slot IDs if b0 is not enabled, adds a Kconfig which can be used to fall back to the previous slot IDs for previously deployed bootloaders Signed-off-by: Jamie McCrae <[email protected]>
|
|
||
#if CONFIG_MCUBOOT_MCUBOOT_IMAGE_NUMBER != -1 || \ | ||
defined(CONFIG_NCS_BOOT_SIGNATURE_KMU_ORIGINAL_MAPPING) | ||
#define PSA_KEY_STARTING_ID 226 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe use Kconfig for KMU base address?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would probably make sense and allow for future devices if they have different mappings, but will leave for someone else to implement
@frkv @nvlsianpu Please review. Would like to get this in to unblock the PR to NCS Bare Metal. |
nrf-squash! [nrf noup] bootutil: Add support for KMU stored ED25519 signature key
Will instead use the immutable bootloader key slot IDs if b0 is not enabled, adds a Kconfig which can be used to fall back to the previous slot IDs for previously deployed bootloaders