mcuboot/sim/mcuboot-sys
David Brown 641af4530c boot: Support Mbed TLS ECDSA for signatures
Add Mbed TLS ECDSA signature verification as an option (in addition to
Tinycrypt and the CC310 hardware version).  Although the Mbed TLS ECDSA
verification code is both larger and slower, this will still save space
if there is another reason that the Mbed TLS code is already being
brought in for another reason (such as certificate management, for
example).

Mbed TLS's ECDSA verification works at a different level than the other
two libraries, so this takes a bit of reworking.  There are some
additional parameters passed to the various functions, and a new define
MCUBOOT_ECDSA_NEED_ASN1_SIG to indicate that the ecdsa verification
wants the original ASN1 signature, not a decoded key.

This adds the boot changes and simulator support to test this configuration.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-02-23 10:29:31 -07:00
..
csupport boot: Support Mbed TLS ECDSA for signatures 2021-02-23 10:29:31 -07:00
src sim: update alignment (aka write_sz) to u16 2020-10-05 17:11:14 -03:00
.gitignore sim: Naive move of binding into mcuboot-sys 2017-07-12 15:00:57 -06:00
Cargo.toml boot: Support Mbed TLS ECDSA for signatures 2021-02-23 10:29:31 -07:00
build.rs boot: Support Mbed TLS ECDSA for signatures 2021-02-23 10:29:31 -07:00