@@ -106,8 +106,10 @@ const unsigned char root_pub_der[] = {
106
106
};
107
107
const unsigned int root_pub_der_len = 398 ;
108
108
#endif
109
- #elif defined(MCUBOOT_SIGN_EC256 )
109
+ #elif defined(MCUBOOT_SIGN_EC256 ) || \
110
+ defined(MCUBOOT_SIGN_EC384 )
110
111
#define HAVE_KEYS
112
+ #ifndef MCUBOOT_SIGN_EC384
111
113
const unsigned char root_pub_der [] = {
112
114
0x30 , 0x59 , 0x30 , 0x13 , 0x06 , 0x07 , 0x2a , 0x86 ,
113
115
0x48 , 0xce , 0x3d , 0x02 , 0x01 , 0x06 , 0x08 , 0x2a ,
@@ -122,6 +124,26 @@ const unsigned char root_pub_der[] = {
122
124
0x8b , 0x68 , 0x34 , 0xcc , 0x3a , 0x6a , 0xfc , 0x53 ,
123
125
0x8e , 0xfa , 0xc1 , };
124
126
const unsigned int root_pub_der_len = 91 ;
127
+ #else /* MCUBOOT_SIGN_EC384 */
128
+ const unsigned char root_pub_der [] = {
129
+ 0x30 , 0x76 , 0x30 , 0x10 , 0x06 , 0x07 , 0x2a , 0x86 ,
130
+ 0x48 , 0xce , 0x3d , 0x02 , 0x01 , 0x06 , 0x05 , 0x2b ,
131
+ 0x81 , 0x04 , 0x00 , 0x22 , 0x03 , 0x62 , 0x00 , 0x04 ,
132
+ 0x0c , 0x76 , 0xca , 0xae , 0x72 , 0x3a , 0xa5 , 0xe8 ,
133
+ 0xf0 , 0xd4 , 0xf1 , 0x16 , 0xb5 , 0x02 , 0xef , 0x77 ,
134
+ 0xa1 , 0x1b , 0x93 , 0x61 , 0x78 , 0xc0 , 0x09 , 0x26 ,
135
+ 0x7b , 0x3b , 0x40 , 0x9c , 0xee , 0x49 , 0x85 , 0xe0 ,
136
+ 0xc9 , 0x4f , 0xe7 , 0xf2 , 0xba , 0x97 , 0x6c , 0xf3 ,
137
+ 0x82 , 0x65 , 0x14 , 0x2c , 0xf5 , 0x0c , 0x73 , 0x33 ,
138
+ 0x4d , 0x32 , 0xe7 , 0x9b , 0xd3 , 0x42 , 0xcc , 0x95 ,
139
+ 0x5a , 0xe5 , 0xe2 , 0xf5 , 0xf4 , 0x6e , 0x45 , 0xe0 ,
140
+ 0xed , 0x20 , 0x35 , 0x5c , 0xaf , 0x52 , 0x35 , 0x81 ,
141
+ 0xd4 , 0xdc , 0x9c , 0xe3 , 0x9e , 0x22 , 0x3e , 0xfb ,
142
+ 0x3f , 0x22 , 0x10 , 0xda , 0x70 , 0x03 , 0x37 , 0xad ,
143
+ 0xa8 , 0xf2 , 0x48 , 0xfe , 0x3a , 0x60 , 0x69 , 0xa5 ,
144
+ };
145
+ const unsigned int root_pub_der_len = 120 ;
146
+ #endif /* MCUBOOT_SIGN_EC384 */
125
147
#elif defined(MCUBOOT_SIGN_ED25519 )
126
148
#define HAVE_KEYS
127
149
const unsigned char root_pub_der [] = {
0 commit comments