Shivaprasad Hongal | 6ea0161 | 2017-04-27 16:59:41 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * Redistribution and use in source and binary forms, with or without |
| 4 | * modification, are permitted provided that the following conditions are |
| 5 | * met: |
| 6 | * * Redistributions of source code must retain the above copyright |
| 7 | * notice, this list of conditions and the following disclaimer. |
| 8 | * * Redistributions in binary form must reproduce the above |
| 9 | * copyright notice, this list of conditions and the following |
| 10 | * disclaimer in the documentation and/or other materials provided |
| 11 | * with the distribution. |
| 12 | * * Neither the name of The Linux Foundation nor the names of its |
| 13 | * contributors may be used to endorse or promote products derived |
| 14 | * from this software without specific prior written permission. |
| 15 | * |
| 16 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 17 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 18 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 19 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 20 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 21 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 22 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 23 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 25 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 26 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
| 28 | #ifndef __OEM_PUBLIC_KEY_H__ |
| 29 | #define __OEM_PUBLIC_KEY_H__ |
| 30 | |
| 31 | /** |
| 32 | * Internal builds use TestKeyRSA4096Public |
| 33 | * OEM should replace this Array with public key used to sign boot.img |
| 34 | * avbtool extract_public_key --key KEY --output OUTPUT |
| 35 | */ |
| 36 | static const char OEMPublicKey[] = { |
Alexander Martinz | 3ede390 | 2020-02-13 15:49:59 +0100 | [diff] [blame] | 37 | 0x00,0x00,0x10,0x00,0xc1,0x79,0x02,0x4f,0xb6,0x2f,0xb8,0xcf,0x39,0x70,0x38,0x48, |
| 38 | 0x9a,0x00,0x85,0x15,0x58,0xb4,0x22,0xa1,0x44,0xdc,0x68,0xb9,0xc4,0xc8,0xfc,0xc0, |
| 39 | 0x78,0x35,0x0a,0xd7,0x2d,0x74,0xde,0xa9,0x93,0x36,0x3d,0xe6,0xfe,0x2f,0xd7,0x75, |
| 40 | 0x84,0x22,0x51,0x08,0xb5,0x4b,0xe4,0x9e,0x44,0xd1,0x49,0x67,0xd7,0x59,0x4a,0x50, |
| 41 | 0x95,0xfb,0xe1,0x6d,0xb0,0xec,0xd4,0x99,0x38,0xe9,0xcb,0xae,0xe4,0xbd,0xd7,0xac, |
| 42 | 0x92,0x96,0x72,0x89,0x3c,0xef,0x66,0xa4,0xf0,0x82,0xf6,0xdd,0x24,0x54,0xdf,0x87, |
| 43 | 0x5a,0x91,0xe3,0x8a,0xf4,0xfe,0x8e,0x0f,0xad,0x9b,0xc0,0xe3,0xcb,0x97,0x9a,0x45, |
| 44 | 0xf2,0xf5,0x97,0xa0,0x4f,0xc9,0x2a,0x07,0xb7,0x46,0x20,0x5f,0xf6,0x88,0x40,0xe7, |
| 45 | 0x81,0x90,0x6d,0x4c,0x0b,0x9f,0x4f,0x42,0xd8,0xec,0xea,0x00,0x01,0xa7,0x3e,0x09, |
| 46 | 0x47,0x58,0x4d,0x9b,0x76,0x79,0x75,0x2b,0x9b,0xf3,0x9b,0xe9,0xdc,0xdf,0xc8,0x05, |
| 47 | 0xe0,0x8d,0x71,0x46,0xf9,0xde,0x47,0xd2,0x08,0xa9,0x27,0x91,0x51,0xa6,0x54,0xd5, |
| 48 | 0x70,0x48,0xc2,0xd8,0x75,0x33,0x03,0x87,0x40,0xe1,0x4b,0x8a,0x84,0x4c,0x91,0x25, |
| 49 | 0x47,0xa5,0x23,0x4b,0xcc,0x5a,0x24,0x63,0xfa,0xbf,0xb4,0x08,0xc2,0x29,0x2e,0xaf, |
| 50 | 0x46,0xf1,0xf7,0xc3,0x4a,0x3e,0xe3,0xab,0x8e,0x0c,0x4a,0x42,0xa7,0xc2,0x19,0x86, |
| 51 | 0x36,0x71,0x18,0x2c,0x5f,0x65,0xb1,0x5b,0x4f,0x17,0x52,0x70,0xd5,0x36,0x1b,0xc5, |
| 52 | 0xbc,0x26,0x43,0x97,0xb7,0xf8,0x69,0xf0,0x8f,0x8a,0x62,0xc2,0x0f,0xb1,0xea,0x9a, |
| 53 | 0x22,0x2b,0x69,0xb7,0x7d,0x1c,0x9a,0x4b,0xf4,0x64,0x96,0x6f,0x56,0xf1,0x55,0x16, |
| 54 | 0x2d,0x93,0x80,0x0b,0xbe,0xb1,0xc1,0x95,0x68,0xe0,0x9c,0x0d,0x8f,0x55,0x99,0x85, |
| 55 | 0x46,0x7e,0xc8,0xf6,0xcf,0xa4,0x16,0xa8,0x26,0xf8,0x5a,0x90,0x83,0xaa,0x1c,0xaf, |
| 56 | 0x17,0x4c,0x1b,0xcf,0xaa,0xa1,0x88,0x0e,0xb4,0x79,0xad,0x78,0x02,0x1c,0xef,0x98, |
| 57 | 0x3b,0xb5,0xb6,0x9c,0xa6,0xf8,0xe6,0xf4,0xc9,0x92,0xee,0x79,0x9c,0xf7,0x47,0x3f, |
| 58 | 0x5e,0x59,0x9a,0x63,0x77,0xa9,0xf2,0xd1,0x2f,0xce,0xc6,0x89,0xa0,0xdd,0x97,0x3c, |
| 59 | 0xf8,0xd4,0xd9,0xa9,0xaf,0x9b,0x1a,0x5b,0xe2,0xf5,0x4e,0x3f,0x3f,0x08,0xd5,0x2e, |
| 60 | 0xad,0x8a,0x3f,0xc2,0xac,0x42,0x0c,0x10,0x60,0xd7,0x08,0x00,0x27,0x46,0xbe,0x55, |
| 61 | 0x91,0xcf,0x7a,0x42,0xac,0x5f,0xf2,0xa5,0x40,0xa5,0xc7,0x11,0xb8,0xa7,0x0a,0x3b, |
| 62 | 0xc3,0x2c,0x31,0x3d,0x5b,0x46,0xae,0x53,0xcf,0x18,0x9b,0x7b,0x0c,0x52,0xbe,0xba, |
| 63 | 0xb9,0x67,0xc8,0x75,0x04,0x60,0x24,0xde,0xf8,0xd7,0x00,0xdc,0xe7,0x45,0xbf,0x9e, |
| 64 | 0x4c,0x49,0x84,0x67,0x9f,0x6e,0x18,0x33,0xcb,0xc0,0x74,0x3d,0x00,0xd4,0xe2,0x97, |
| 65 | 0xd1,0x21,0x6f,0x11,0xc1,0x98,0x54,0x51,0x2e,0xd6,0xa2,0x3a,0x76,0xa5,0xc8,0x8d, |
| 66 | 0x67,0x8a,0xfa,0xa0,0xe3,0xa3,0x1d,0x66,0x2d,0xcd,0x05,0xbd,0xc4,0x62,0x49,0x0b, |
| 67 | 0x59,0xc1,0xf8,0xd4,0x3c,0x44,0x6f,0xbb,0x61,0x78,0x35,0x1b,0x9d,0x45,0x6f,0x90, |
| 68 | 0x89,0xa9,0x39,0x0b,0x13,0xf3,0x17,0x26,0x49,0x8e,0x3d,0x81,0x83,0xcd,0xf0,0x12, |
| 69 | 0xb3,0xa6,0x2a,0xca,0xef,0xbd,0x2b,0x51,0x19,0x9d,0xb2,0xff,0xe3,0x30,0xb5,0x65, |
| 70 | 0xad,0xf2,0x65,0x66,0x69,0x1f,0xd7,0x4d,0x2e,0xf9,0x2c,0xad,0x6c,0x92,0x93,0x72, |
| 71 | 0x00,0x06,0x5b,0x7d,0x7f,0x97,0xd6,0x61,0x62,0xc1,0xd5,0xde,0x16,0x78,0x7e,0x35, |
| 72 | 0x7a,0x2f,0xc3,0xa8,0xd1,0x4a,0xb1,0x9d,0x2f,0x49,0xe9,0xf0,0xcd,0x49,0x88,0xa5, |
| 73 | 0x93,0x15,0x29,0xe3,0xb2,0x43,0x51,0x44,0x47,0xf5,0x79,0x1a,0x7e,0xc4,0xfc,0xfc, |
| 74 | 0x93,0xd7,0x9c,0xe0,0x75,0x20,0xb6,0x74,0x77,0xa4,0x01,0x4b,0xf0,0x7c,0x5a,0x19, |
| 75 | 0xea,0xd5,0x5e,0x40,0xf2,0xc9,0xaa,0x4c,0x70,0x10,0xa9,0x9e,0x22,0x7f,0x98,0x77, |
| 76 | 0x97,0xde,0xc6,0x00,0xdc,0xa4,0x7d,0x5f,0x43,0x61,0xc4,0x45,0xdb,0xec,0xe6,0xa6, |
| 77 | 0x74,0xf0,0xb7,0x98,0x50,0x5d,0x47,0x31,0x99,0x00,0x6f,0x5d,0xc7,0x48,0xc4,0x55, |
| 78 | 0xb7,0x98,0x4a,0xaf,0xf8,0xe5,0xcf,0xe7,0xa5,0xf0,0xd2,0xe6,0xfd,0xb2,0x1d,0xcd, |
| 79 | 0x28,0x2e,0x6a,0xb3,0x23,0x82,0x22,0x44,0x54,0xeb,0x53,0x36,0xaa,0x72,0xf2,0x78, |
| 80 | 0xbb,0x1d,0x3a,0x01,0xa7,0xc3,0x07,0x6c,0x08,0x1a,0x2f,0x4c,0x19,0xcd,0xad,0x76, |
| 81 | 0x99,0xa0,0x6b,0xeb,0x63,0x70,0x51,0xa4,0x5d,0x0d,0x45,0x6b,0x2b,0xa2,0x5c,0x1e, |
| 82 | 0x81,0x5e,0xe7,0x66,0xa0,0x29,0x3c,0x2a,0x52,0x01,0x6c,0x6f,0x42,0x9e,0x8b,0xd7, |
| 83 | 0x94,0xe4,0xbb,0xbc,0xc5,0xbc,0x1e,0x89,0x3f,0xd6,0xaa,0x91,0x5c,0xaf,0x06,0x98, |
| 84 | 0xf8,0x31,0x79,0xe1,0xb9,0xef,0x54,0xc5,0x7b,0xbf,0x33,0x53,0x2d,0xa2,0x87,0x65, |
| 85 | 0x0a,0xee,0x56,0xa1,0x1a,0x79,0x13,0x4c,0x72,0xa7,0x4f,0x41,0x37,0x7d,0x6a,0x07, |
| 86 | 0x5c,0x47,0xbf,0x46,0xb2,0xf6,0x49,0xf5,0x45,0x2b,0xc4,0x48,0x54,0xd4,0xd7,0x2f, |
| 87 | 0xa7,0x93,0x7f,0xd3,0x2d,0xe3,0x61,0x67,0x0d,0xf3,0x3b,0xc1,0x23,0x14,0x1a,0x71, |
| 88 | 0x3d,0x1e,0x92,0xac,0x82,0xfd,0x8c,0x3d,0xad,0x62,0xe2,0x25,0xa7,0xd4,0x01,0x19, |
| 89 | 0x71,0x11,0x5d,0xd1,0xfc,0xed,0x7e,0xdb,0xbe,0x7c,0x74,0x38,0xe0,0x40,0x16,0x4b, |
| 90 | 0x02,0xad,0x83,0x50,0x89,0xbf,0xae,0x78,0x8b,0x7b,0x58,0xae,0xe5,0x7c,0x25,0xe8, |
| 91 | 0x27,0x3b,0x54,0xc8,0xab,0xd5,0x32,0xfb,0x41,0x6a,0x99,0x24,0xf5,0xf2,0xc7,0xef, |
| 92 | 0xae,0x80,0xfd,0xe4,0xaf,0xf2,0x28,0x70,0xac,0xc6,0xa7,0x77,0xef,0xb6,0xc3,0x8e, |
| 93 | 0xa0,0xd3,0xda,0x3a,0x66,0xa4,0x7f,0x48,0x4e,0xda,0xce,0x25,0xfe,0xfe,0x4f,0xac, |
| 94 | 0x50,0xb2,0xa1,0xb5,0x64,0xa2,0xb3,0x7c,0xd0,0xf5,0x18,0x8e,0xe4,0xea,0x5a,0xf1, |
| 95 | 0xdd,0x74,0xf8,0x6c,0xc1,0x2e,0x5c,0x57,0xb9,0x0b,0xa9,0x01,0xad,0xea,0x19,0xd0, |
| 96 | 0x26,0x01,0x35,0xd8,0x69,0x56,0x26,0x41,0xa6,0x3a,0x80,0x72,0x1f,0xfd,0x29,0x30, |
| 97 | 0x22,0xc5,0xd9,0x31,0xbf,0xd7,0xb2,0xb1,0xc6,0x98,0x0d,0x15,0x7e,0x59,0x58,0x40, |
| 98 | 0x14,0x10,0x3f,0x99,0x5a,0x5e,0x76,0x53,0xe0,0xf1,0x0e,0x38,0x0f,0x87,0x1d,0x08, |
| 99 | 0x6b,0x50,0x89,0x68,0x23,0x3e,0x98,0x6f,0xd7,0xb6,0x6c,0x7a,0xaf,0x8e,0x54,0x68, |
| 100 | 0xb7,0x62,0x6b,0x9f,0xdc,0x37,0xce,0xef,0xfe,0x3f,0xf8,0xe3,0x90,0x6a,0x80,0x6a, |
| 101 | 0xa2,0x61,0x2c,0xf9,0x6f,0xf4,0xf3,0xb7 |
| 102 | }; |
Shivaprasad Hongal | 6ea0161 | 2017-04-27 16:59:41 -0700 | [diff] [blame] | 103 | |
| 104 | #endif /* __OEM_PUBLIC_KEY_H__ */ |