Initial commit
Initial commit.
This commit is contained in:
3
bootloader/mcuboot/testplan/mynewt/keys/ec256/pkg.yml
Normal file
3
bootloader/mcuboot/testplan/mynewt/keys/ec256/pkg.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
pkg.name: keys/ec256
|
||||
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
|
||||
pkg.homepage: "http://mynewt.apache.org/"
|
||||
19
bootloader/mcuboot/testplan/mynewt/keys/ec256/src/keys.c
Normal file
19
bootloader/mcuboot/testplan/mynewt/keys/ec256/src/keys.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <bootutil/sign_key.h>
|
||||
static unsigned char key[] = {
|
||||
0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02,
|
||||
0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03,
|
||||
0x42, 0x00, 0x04, 0x6e, 0x68, 0x61, 0x7f, 0xd7, 0xe2, 0xc9, 0x3d, 0xb4,
|
||||
0x0a, 0x2c, 0x6d, 0xb0, 0xd0, 0xce, 0xfe, 0x54, 0xb8, 0x96, 0xad, 0xfc,
|
||||
0x60, 0x87, 0x89, 0x41, 0xe9, 0x2d, 0x21, 0xc8, 0x3e, 0x1d, 0x5e, 0xc3,
|
||||
0x77, 0xfd, 0x62, 0x5f, 0xbb, 0xfb, 0xda, 0x10, 0xa7, 0x5a, 0x23, 0xaa,
|
||||
0xfc, 0x01, 0xb5, 0xdc, 0x73, 0x3d, 0x37, 0xc1, 0x45, 0x8f, 0x90, 0x3b,
|
||||
0x66, 0xfd, 0x2b, 0x95, 0x66, 0x9c, 0xc9
|
||||
};
|
||||
static unsigned int key_len = 91;
|
||||
const struct bootutil_key bootutil_keys[] = {
|
||||
[0] = {
|
||||
.key = key,
|
||||
.len = &key_len,
|
||||
},
|
||||
};
|
||||
const int bootutil_key_cnt = 1;
|
||||
9
bootloader/mcuboot/testplan/mynewt/keys/pkg.yml
Normal file
9
bootloader/mcuboot/testplan/mynewt/keys/pkg.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
pkg.name: keys
|
||||
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
|
||||
pkg.homepage: "http://mynewt.apache.org/"
|
||||
|
||||
pkg.deps.BOOTUTIL_SIGN_RSA:
|
||||
- keys/rsa
|
||||
|
||||
pkg.deps.BOOTUTIL_SIGN_EC256:
|
||||
- keys/ec256
|
||||
3
bootloader/mcuboot/testplan/mynewt/keys/rsa/pkg.yml
Normal file
3
bootloader/mcuboot/testplan/mynewt/keys/rsa/pkg.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
pkg.name: keys/rsa
|
||||
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
|
||||
pkg.homepage: "http://mynewt.apache.org/"
|
||||
34
bootloader/mcuboot/testplan/mynewt/keys/rsa/src/keys.c
Normal file
34
bootloader/mcuboot/testplan/mynewt/keys/rsa/src/keys.c
Normal file
@@ -0,0 +1,34 @@
|
||||
#include <bootutil/sign_key.h>
|
||||
static unsigned char key[] = {
|
||||
0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0xe2, 0x48, 0x5f,
|
||||
0x31, 0x08, 0x50, 0x2e, 0x4f, 0x6d, 0xbf, 0xcd, 0xd0, 0x09, 0xf1, 0x5c,
|
||||
0xd6, 0x08, 0xe9, 0x84, 0xcf, 0x75, 0x2c, 0x88, 0x07, 0xcc, 0x0e, 0xf9,
|
||||
0x53, 0xae, 0x4a, 0x9a, 0x93, 0xb4, 0x1b, 0x55, 0x43, 0xb7, 0x7e, 0x10,
|
||||
0xa8, 0x50, 0xd9, 0x14, 0x90, 0x05, 0x80, 0x15, 0xa0, 0x8c, 0xdb, 0xdc,
|
||||
0x1b, 0x03, 0x56, 0xd6, 0x47, 0x94, 0x44, 0xa1, 0xe8, 0x15, 0xf4, 0x77,
|
||||
0x49, 0x60, 0x45, 0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0x73, 0xc2, 0xff, 0xd1, 0x32, 0x55,
|
||||
0x1f, 0xda, 0x09, 0x23, 0xc1, 0x83, 0x51, 0xe1, 0x4f, 0xd5, 0x65, 0x3e,
|
||||
0x97, 0x02, 0x03, 0x01, 0x00, 0x01
|
||||
};
|
||||
static unsigned int key_len = 270;
|
||||
const struct bootutil_key bootutil_keys[] = {
|
||||
[0] = {
|
||||
.key = key,
|
||||
.len = &key_len,
|
||||
},
|
||||
};
|
||||
const int bootutil_key_cnt = 1;
|
||||
Reference in New Issue
Block a user