641af4530c
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> |
||
---|---|---|
.. | ||
csupport | ||
src | ||
.gitignore | ||
Cargo.toml | ||
build.rs |