bootutil: ecdsa: Fix CC310 for nRF devices
This contains fixes for CC310 for nRF devices using the nrfxlib.
Removed some const for compilation warnings and added `NUM_ECC_BYTES`
define.
Signed-off-by: Sigvart Hovland <sigvart.m@gmail.com>
diff --git a/boot/zephyr/nrf52840dk_nrf52840_cc310_ecdsa.conf b/boot/zephyr/nrf52840dk_nrf52840_cc310_ecdsa.conf
new file mode 100644
index 0000000..d195965
--- /dev/null
+++ b/boot/zephyr/nrf52840dk_nrf52840_cc310_ecdsa.conf
@@ -0,0 +1,2 @@
+CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
+CONFIG_BOOT_ECDSA_CC310=y