-
Notifications
You must be signed in to change notification settings - Fork 19
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
6d93840
commit 926e33e
Showing
10 changed files
with
147 additions
and
98 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,38 @@ | ||
/* | ||
* 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 ) */ | ||
/* Autogenerated by imgtool.py, do not edit. */ | ||
const unsigned char rsa_pub_key[] = { | ||
0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, | ||
0x00, 0xc7, 0x86, 0xd3, 0xf4, 0x7f, 0xf1, 0xba, | ||
0xfd, 0xa4, 0x63, 0x4f, 0x33, 0x13, 0x35, 0x9a, | ||
0xa1, 0xdc, 0x37, 0x87, 0x69, 0x96, 0x8d, 0xb5, | ||
0x2b, 0x82, 0xa6, 0x37, 0x6c, 0x20, 0x6d, 0x73, | ||
0x28, 0x36, 0x3d, 0x8e, 0x81, 0x96, 0x85, 0xe5, | ||
0xb8, 0x92, 0x2d, 0xd8, 0xb3, 0x7b, 0x8c, 0x36, | ||
0x74, 0xdf, 0x42, 0x5a, 0x2b, 0xc9, 0x71, 0xa2, | ||
0xd2, 0xc5, 0xd5, 0x7d, 0x68, 0x02, 0x8a, 0x91, | ||
0xd4, 0x37, 0x28, 0x62, 0x16, 0x10, 0xcc, 0xf0, | ||
0xdc, 0x94, 0x18, 0x4a, 0xc7, 0x74, 0xa4, 0x62, | ||
0x8d, 0x32, 0x4b, 0xb2, 0x26, 0xbd, 0x14, 0x7f, | ||
0x50, 0xca, 0x03, 0xf2, 0x8c, 0x1b, 0x75, 0x45, | ||
0x36, 0xb6, 0x17, 0xbd, 0x39, 0x05, 0x2e, 0xa0, | ||
0xdd, 0xab, 0xaa, 0xad, 0x8f, 0x9b, 0xe6, 0x6a, | ||
0x4a, 0xbc, 0xce, 0xc4, 0x23, 0xe9, 0x64, 0xbe, | ||
0xfb, 0x2a, 0x99, 0x32, 0x77, 0xe4, 0x83, 0x2e, | ||
0xa1, 0xc5, 0x89, 0xdb, 0x7d, 0x2b, 0xd1, 0x2b, | ||
0xdf, 0xcc, 0xee, 0xaf, 0xee, 0x60, 0xbe, 0xa8, | ||
0xeb, 0x08, 0xe4, 0xd0, 0x24, 0x56, 0xb3, 0xe6, | ||
0x7d, 0xd9, 0xf0, 0xec, 0x94, 0x89, 0xb6, 0x01, | ||
0xae, 0x66, 0xe7, 0xc7, 0xd3, 0xa1, 0xa0, 0xd1, | ||
0x96, 0xd7, 0x86, 0x1a, 0x91, 0x0c, 0xf5, 0xda, | ||
0x7b, 0xd2, 0xda, 0x7d, 0xdb, 0x23, 0x42, 0xda, | ||
0x61, 0xc1, 0xbf, 0x2e, 0xbe, 0x26, 0x47, 0xce, | ||
0xca, 0xd7, 0xe8, 0xb6, 0xc2, 0x8e, 0x6f, 0xa8, | ||
0xfc, 0xee, 0x53, 0x28, 0x1e, 0x9f, 0x32, 0x6f, | ||
0x95, 0xa9, 0x27, 0x8a, 0x3c, 0xb4, 0xcc, 0xca, | ||
0x70, 0xa7, 0x4d, 0xc2, 0xbe, 0x24, 0x2b, 0x52, | ||
0xa1, 0xe0, 0x24, 0x20, 0xed, 0x52, 0x60, 0xab, | ||
0x6a, 0xfe, 0x9f, 0x8f, 0x3c, 0xf2, 0xf9, 0x57, | ||
0xed, 0x78, 0xc4, 0x53, 0x9d, 0xc1, 0x88, 0x4a, | ||
0x56, 0xa8, 0xae, 0xd4, 0x2b, 0x3a, 0x25, 0x89, | ||
0x69, 0x02, 0x03, 0x01, 0x00, 0x01, | ||
}; | ||
const unsigned int rsa_pub_key_len = 270; |
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
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
Oops, something went wrong.