-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87df8a0
commit e6f3e20
Showing
3 changed files
with
45 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,45 @@ | ||
/* Autogenerated by imgtool.py, do not edit. */ | ||
const unsigned char rsa_pub_key[] = { | ||
0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, | ||
0x00, 0xbc, 0x84, 0xfa, 0x41, 0x04, 0xc8, 0x06, | ||
0x42, 0x97, 0x88, 0x49, 0x1a, 0x71, 0x8e, 0x69, | ||
0x80, 0xe6, 0x09, 0x1c, 0xf7, 0x0e, 0x56, 0xf5, | ||
0x69, 0x40, 0x92, 0x58, 0xfb, 0x05, 0x49, 0x17, | ||
0x88, 0xbe, 0x92, 0x69, 0x8d, 0x8d, 0x76, 0x9f, | ||
0x3f, 0xd1, 0x95, 0x9e, 0x13, 0xd9, 0x12, 0x91, | ||
0x21, 0x65, 0x26, 0x30, 0x0f, 0x4a, 0xe1, 0xa1, | ||
0x2c, 0x07, 0x98, 0xe8, 0x6c, 0x77, 0x5e, 0xa0, | ||
0x84, 0xaa, 0x6f, 0xf3, 0x8c, 0x5e, 0x7c, 0x7c, | ||
0x73, 0xbc, 0x1f, 0xf9, 0xff, 0xba, 0x08, 0x68, | ||
0x43, 0x26, 0xc5, 0xce, 0x23, 0x24, 0x8c, 0xdc, | ||
0xbd, 0xc1, 0x46, 0xe5, 0xad, 0xb9, 0x1a, 0x63, | ||
0xa1, 0xf2, 0x01, 0xbc, 0xbc, 0x18, 0xd1, 0xdf, | ||
0xd2, 0x2d, 0x76, 0x0b, 0xa9, 0x3f, 0xdf, 0x7c, | ||
0x92, 0xa2, 0xc0, 0x90, 0x0d, 0x53, 0x3c, 0x52, | ||
0x2a, 0xde, 0x00, 0xdd, 0x38, 0x9a, 0xbf, 0x7a, | ||
0x6e, 0xcd, 0x69, 0x20, 0x32, 0x14, 0x74, 0xb8, | ||
0xef, 0x8b, 0x46, 0x93, 0x70, 0xc8, 0xef, 0xb7, | ||
0x1c, 0x84, 0xdf, 0xf4, 0xa7, 0x41, 0x2b, 0x69, | ||
0x43, 0x06, 0xcd, 0xf5, 0x97, 0xef, 0xc3, 0x6f, | ||
0xb5, 0x0b, 0x3b, 0x16, 0xdd, 0xe6, 0x7e, 0x33, | ||
0x9c, 0xf3, 0xf2, 0x8f, 0xc7, 0x43, 0x95, 0x80, | ||
0x9c, 0xb8, 0x16, 0xee, 0xfe, 0x21, 0x92, 0x0d, | ||
0x22, 0xae, 0xfa, 0xdc, 0x03, 0xee, 0x6a, 0xe2, | ||
0x94, 0xe2, 0xec, 0x0a, 0x87, 0xb8, 0x8e, 0x2f, | ||
0x6e, 0x61, 0xe8, 0xcb, 0xf5, 0x78, 0x7c, 0x55, | ||
0xff, 0xba, 0xdb, 0x45, 0xd1, 0x80, 0xa6, 0xb2, | ||
0x21, 0x42, 0xd7, 0x99, 0xb6, 0x51, 0x47, 0x63, | ||
0x6a, 0x38, 0x9e, 0x24, 0xdb, 0x0a, 0x25, 0xf2, | ||
0x87, 0x72, 0x69, 0x01, 0xb6, 0xd6, 0x31, 0xb3, | ||
0xb6, 0xfe, 0x63, 0x4f, 0x7d, 0xa5, 0xe2, 0x20, | ||
0xc6, 0xac, 0x19, 0x38, 0xc8, 0x9b, 0x14, 0x48, | ||
0x9d, 0x02, 0x03, 0x01, 0x00, 0x01, | ||
}; | ||
const unsigned int rsa_pub_key_len = 270; | ||
/* | ||
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
* this software and associated documentation files (the "Software"), to deal in | ||
* the Software without restriction, including without limitation the rights to | ||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
* the Software, and to permit persons to whom the Software is furnished to do so, | ||
* subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* http://www.FreeRTOS.org | ||
* http://aws.amazon.com/freertos | ||
* | ||
* 1 tab == 4 spaces! | ||
*/ | ||
|
||
#include "mcuboot_config.h" | ||
|
||
#if defined( MCUBOOT_SIGN_RSA ) | ||
|
||
#error Please use MCUBoot imgtool.py to generate an RSA signing key \ | ||
and replace this file with the output of the tool. | ||
|
||
const unsigned char rsa_pub_key[] = { 0x00 }; | ||
const unsigned int rsa_pub_key_len = 0; | ||
|
||
#elif defined( MCUBOOT_SIGN_EC256 ) | ||
|
||
#error Please use MCUBoot imgtool.py to generate an EC signing key \ | ||
and replace this file with the output of the tool. | ||
|
||
const unsigned char ecdsa_pub_key[] = { 0x00 }; | ||
const unsigned int ecdsa_pub_key_len = 0; | ||
|
||
#endif /* if defined( MCUBOOT_SIGN_RSA ) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters