Skip to content
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

boot/bootutil: add the option to use custom definitions for all crypto inline functions #1870

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Olstyle
Copy link

@Olstyle Olstyle commented Nov 30, 2023

As previously discussed in #1478 , this adds a define named MCUBOOT_USE_CUSTOM_CRYPT.
Using that define, headername_custom.h will be included in the crypto headers instead of enabling any pre defined code path.
Since the include calls throughout mcuboot are clean already, it is actually enough to implement only the used algorithms. So if e.g. RSA is not used, a definition of rsa_custom.h is NOT necessary.

…ons instead of the prepared ones as previously discussed in mcu-tools#1478

Signed-off-by: Oliver Mueller <olstyle@gmx.de>
@Olstyle Olstyle changed the title add the option to use custom definitions for all crypto inline functions boot/bootutil: add the option to use custom definitions for all crypto inline functions Nov 30, 2023
@d3zd3z d3zd3z self-requested a review December 14, 2023 15:30
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.

None yet

1 participant