Skip to content

Conversation

@de-nordic
Copy link
Collaborator

Two commits:

  • changes to boot_read_enc_key
  • removal of key loop check in boot_swap_image

Move code around to reduce ifdes and make it more clear,
and allow to reuse TLV read check loop for key read verification.

Signed-off-by: Dominik Ermel <[email protected]>
Check return code instead of running loop over the key,
to check if it has been read correctly.

Signed-off-by: Dominik Ermel <[email protected]>
@de-nordic de-nordic force-pushed the boot_read_enc_key_small_reafactor branch from e5a1cb4 to f9e096b Compare October 21, 2025 16:02
Copy link
Collaborator

@nvlsianpu nvlsianpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Analyzed deeply. The change is perfect

@nvlsianpu nvlsianpu added the area: core Affects core functionality label Oct 27, 2025
@de-nordic de-nordic merged commit 0ccce2f into mcu-tools:main Oct 28, 2025
65 checks passed
@de-nordic de-nordic deleted the boot_read_enc_key_small_reafactor branch October 28, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Affects core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants