Skip to content

Conversation

@de-nordic
Copy link
Collaborator

@de-nordic de-nordic commented Nov 19, 2025

Reduce call path.
Cuts down ~76 bytes from nrf54l15 build with ed25519 signature (non-pure).

All three commits will be squashed into one.

@de-nordic de-nordic force-pushed the ed25519-layers-reduced branch from 9271a4a to 8f49ad9 Compare November 20, 2025 17:58
@de-nordic de-nordic marked this pull request as ready for review November 20, 2025 18:08
* calls bootutil_verify to do the signature verification.
/* Signature verification function.
* Verifies message with provided signature.
* When compiled without MCUBOOT_SIGN_PURE, the funciton expects
Copy link
Collaborator

Choose a reason for hiding this comment

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

*function

@de-nordic de-nordic force-pushed the ed25519-layers-reduced branch from 8f49ad9 to 9d0f2c9 Compare November 21, 2025 15:45
With small changes the bootutil_verify_sig can now be used
for the same purpose as bootutil_verify_img.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
No longer needed.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
@de-nordic de-nordic force-pushed the ed25519-layers-reduced branch from 9d0f2c9 to 0626123 Compare December 3, 2025 12:46
@de-nordic de-nordic requested a review from nordicjm December 3, 2025 12:47
Comment on lines 88 to 89
uint8_t *sig, size_t slen,
uint8_t key_id)
Copy link
Collaborator

Choose a reason for hiding this comment

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

alignment off (can even move to less lines)

Reduce layers of calls.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
@de-nordic de-nordic force-pushed the ed25519-layers-reduced branch from 0626123 to 1586e18 Compare December 3, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants