Commit 038e299e authored by David Brown's avatar David Brown Committed by David Brown
Browse files

samples/zephyr: Build ECDSA tests with ECDSA key

Set the public key for ECDSA tests to use the ECDSA.  This avoids a link
error with:

    ../app/libapp.a(keys.c.obj):(.rodata.bootutil_keys+0x0): undefined reference to `ecdsa_pub_key'
    ../app/libapp.a(keys.c.obj):(.rodata.bootutil_keys+0x4): undefined reference to `ecdsa_pub_key_len'

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 2bc2685b
Loading
Loading
Loading
Loading
+1
Changes for samples/zephyr/overlay-ecdsa-p256.conf: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
# Kconfig overlay for building with ECDSA-P256 signatures
CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"