boot:crypto Add custom crypto support#2680
Open
OleksandrShkurchenko wants to merge 1 commit intomcu-tools:mainfrom
Open
boot:crypto Add custom crypto support#2680OleksandrShkurchenko wants to merge 1 commit intomcu-tools:mainfrom
OleksandrShkurchenko wants to merge 1 commit intomcu-tools:mainfrom
Conversation
d3zd3z
requested changes
Mar 30, 2026
Member
d3zd3z
left a comment
There was a problem hiding this comment.
Looks good. A minor textual change, and adding CI support.
In addition, can you please format the commit text to be less than 72 columns.
171fb82 to
e21234d
Compare
e21234d to
598d882
Compare
nordicjm
requested changes
Apr 9, 2026
d3zd3z
requested changes
Apr 10, 2026
The `MCUBOOT_USE_CUSTOM_CRYPTO` option allows to implement a custom backend that lets users plug in any crypto library, hardware accelerator, proprietary SDK, or another software implementation without modifying MCUboot's own source. Signed-off-by: Oleksandr Shkurchenko <Oleksandr.Shkurchenko@infineon.com>
598d882 to
e409790
Compare
d3zd3z
approved these changes
Apr 24, 2026
| return mbedtls_md_hmac_update(ctx, data, data_length); | ||
| } | ||
|
|
||
| static inline int bootutil_hmac_sha256_finish(bootutil_hmac_sha256_context *ctx, |
Member
There was a problem hiding this comment.
I wonder if we should have a comment explaining why we ignore taglen, and specifically, what taglen mbedtls is expecting?
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
MCUBOOT_USE_CUSTOM_CRYPTOoption allows to implement a custombackend that lets users plug in any crypto library, hardware
accelerator, proprietary SDK, or another software implementation
without modifying MCUboot's own source.