How can I enable both ed25519 and tinycrypt? #2389
-
I see from this page that With both image_ed25519.c clearly references mbedtls. Is the ed25519/tinycrypt combination no longer supported? Do I need to use an older version of image_ed25519.c? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm reporting in on this issue. I found a great hint in mcuboot/sim/mcuboot-sys/build.rs Lines 239 to 253 in c136f4a These lines list the include paths that need to be added and the source files that need to be compiled in order to use ed25519 with tinycrypt. |
Beta Was this translation helpful? Give feedback.
I'm reporting in on this issue.
MCUBOOT_SIGN_ED25519
andMCUBOOT_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 whenMCUBOOT_SIGN_ED25519
is defined but it assumes mbedtls)I found a great hint in
sim/mcuboot-sys/build.rs
:mcuboot/sim/mcuboot-sys/build.rs
Lines 239 to 253 in c136f4a