We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b7b35 commit 3d38fb0Copy full SHA for 3d38fb0
boot/mbed/app_enc_keys.c
@@ -66,6 +66,16 @@ const struct bootutil_key bootutil_enc_key = {
66
.key = enc_priv_key,
67
.len = &enc_priv_key_len,
68
};
69
+#elif defined(MCUBOOT_ENCRYPT_EC256)
70
+
71
+extern const unsigned char enc_priv_key[];
72
+extern const unsigned int enc_priv_key_len;
73
74
+const struct bootutil_key bootutil_enc_key = {
75
+ .key = enc_priv_key,
76
+ .len = &enc_priv_key_len,
77
+};
78
79
#elif defined(MCUBOOT_ENCRYPT_KW)
80
#error "Encrypted images with AES-KW is not implemented yet."
81
#endif
0 commit comments