Skip to content

How can I enable both ed25519 and tinycrypt? #2389

Discussion options

You must be logged in to vote

I'm reporting in on this issue. MCUBOOT_SIGN_ED25519 and MCUBOOT_USE_TINYCRYPT can indeed be used together, but it's not as simple as just defining them in your mcuboot_config.h file. (image_ed25519.c is used when MCUBOOT_SIGN_ED25519 is defined but it assumes mbedtls)

I found a great hint in sim/mcuboot-sys/build.rs:

} else if sig_ed25519 {
conf.conf.define("MCUBOOT_SIGN_ED25519", None);
conf.conf.define("MCUBOOT_USE_TINYCRYPT", None);
conf.conf.include("../../ext/tinycrypt/lib/include");
conf.conf.include("../../ext/tinycrypt-sha512/lib/include");
conf.conf.include("../../ext/mbedtls/i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dillonj-sentient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant