|
1 |
| -/* Autogenerated by imgtool.py, do not edit. */ |
2 |
| -const unsigned char rsa_pub_key[] = { |
3 |
| - 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, |
4 |
| - 0x00, 0xbc, 0x84, 0xfa, 0x41, 0x04, 0xc8, 0x06, |
5 |
| - 0x42, 0x97, 0x88, 0x49, 0x1a, 0x71, 0x8e, 0x69, |
6 |
| - 0x80, 0xe6, 0x09, 0x1c, 0xf7, 0x0e, 0x56, 0xf5, |
7 |
| - 0x69, 0x40, 0x92, 0x58, 0xfb, 0x05, 0x49, 0x17, |
8 |
| - 0x88, 0xbe, 0x92, 0x69, 0x8d, 0x8d, 0x76, 0x9f, |
9 |
| - 0x3f, 0xd1, 0x95, 0x9e, 0x13, 0xd9, 0x12, 0x91, |
10 |
| - 0x21, 0x65, 0x26, 0x30, 0x0f, 0x4a, 0xe1, 0xa1, |
11 |
| - 0x2c, 0x07, 0x98, 0xe8, 0x6c, 0x77, 0x5e, 0xa0, |
12 |
| - 0x84, 0xaa, 0x6f, 0xf3, 0x8c, 0x5e, 0x7c, 0x7c, |
13 |
| - 0x73, 0xbc, 0x1f, 0xf9, 0xff, 0xba, 0x08, 0x68, |
14 |
| - 0x43, 0x26, 0xc5, 0xce, 0x23, 0x24, 0x8c, 0xdc, |
15 |
| - 0xbd, 0xc1, 0x46, 0xe5, 0xad, 0xb9, 0x1a, 0x63, |
16 |
| - 0xa1, 0xf2, 0x01, 0xbc, 0xbc, 0x18, 0xd1, 0xdf, |
17 |
| - 0xd2, 0x2d, 0x76, 0x0b, 0xa9, 0x3f, 0xdf, 0x7c, |
18 |
| - 0x92, 0xa2, 0xc0, 0x90, 0x0d, 0x53, 0x3c, 0x52, |
19 |
| - 0x2a, 0xde, 0x00, 0xdd, 0x38, 0x9a, 0xbf, 0x7a, |
20 |
| - 0x6e, 0xcd, 0x69, 0x20, 0x32, 0x14, 0x74, 0xb8, |
21 |
| - 0xef, 0x8b, 0x46, 0x93, 0x70, 0xc8, 0xef, 0xb7, |
22 |
| - 0x1c, 0x84, 0xdf, 0xf4, 0xa7, 0x41, 0x2b, 0x69, |
23 |
| - 0x43, 0x06, 0xcd, 0xf5, 0x97, 0xef, 0xc3, 0x6f, |
24 |
| - 0xb5, 0x0b, 0x3b, 0x16, 0xdd, 0xe6, 0x7e, 0x33, |
25 |
| - 0x9c, 0xf3, 0xf2, 0x8f, 0xc7, 0x43, 0x95, 0x80, |
26 |
| - 0x9c, 0xb8, 0x16, 0xee, 0xfe, 0x21, 0x92, 0x0d, |
27 |
| - 0x22, 0xae, 0xfa, 0xdc, 0x03, 0xee, 0x6a, 0xe2, |
28 |
| - 0x94, 0xe2, 0xec, 0x0a, 0x87, 0xb8, 0x8e, 0x2f, |
29 |
| - 0x6e, 0x61, 0xe8, 0xcb, 0xf5, 0x78, 0x7c, 0x55, |
30 |
| - 0xff, 0xba, 0xdb, 0x45, 0xd1, 0x80, 0xa6, 0xb2, |
31 |
| - 0x21, 0x42, 0xd7, 0x99, 0xb6, 0x51, 0x47, 0x63, |
32 |
| - 0x6a, 0x38, 0x9e, 0x24, 0xdb, 0x0a, 0x25, 0xf2, |
33 |
| - 0x87, 0x72, 0x69, 0x01, 0xb6, 0xd6, 0x31, 0xb3, |
34 |
| - 0xb6, 0xfe, 0x63, 0x4f, 0x7d, 0xa5, 0xe2, 0x20, |
35 |
| - 0xc6, 0xac, 0x19, 0x38, 0xc8, 0x9b, 0x14, 0x48, |
36 |
| - 0x9d, 0x02, 0x03, 0x01, 0x00, 0x01, |
37 |
| -}; |
38 |
| -const unsigned int rsa_pub_key_len = 270; |
| 1 | +/* |
| 2 | + * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 3 | + * |
| 4 | + * Permission is hereby granted, free of charge, to any person obtaining a copy of |
| 5 | + * this software and associated documentation files (the "Software"), to deal in |
| 6 | + * the Software without restriction, including without limitation the rights to |
| 7 | + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
| 8 | + * the Software, and to permit persons to whom the Software is furnished to do so, |
| 9 | + * subject to the following conditions: |
| 10 | + * |
| 11 | + * The above copyright notice and this permission notice shall be included in all |
| 12 | + * copies or substantial portions of the Software. |
| 13 | + * |
| 14 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
| 16 | + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 17 | + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 18 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 19 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 20 | + * |
| 21 | + * http://www.FreeRTOS.org |
| 22 | + * http://aws.amazon.com/freertos |
| 23 | + * |
| 24 | + * 1 tab == 4 spaces! |
| 25 | + */ |
| 26 | + |
| 27 | +#include "mcuboot_config.h" |
| 28 | + |
| 29 | +#if defined( MCUBOOT_SIGN_RSA ) |
| 30 | + |
| 31 | +#error Please use MCUBoot imgtool.py to generate an RSA signing key \ |
| 32 | + and replace this file with the output of the tool. |
| 33 | + |
| 34 | +const unsigned char rsa_pub_key[] = { 0x00 }; |
| 35 | +const unsigned int rsa_pub_key_len = 0; |
| 36 | + |
| 37 | +#elif defined( MCUBOOT_SIGN_EC256 ) |
| 38 | + |
| 39 | +#error Please use MCUBoot imgtool.py to generate an EC signing key \ |
| 40 | + and replace this file with the output of the tool. |
| 41 | + |
| 42 | +const unsigned char ecdsa_pub_key[] = { 0x00 }; |
| 43 | +const unsigned int ecdsa_pub_key_len = 0; |
| 44 | + |
| 45 | +#endif /* if defined( MCUBOOT_SIGN_RSA ) */ |
0 commit comments