Files
intel-linux-sgx/SampleCode/SampleCommonLoader/Include/sgx_enclave_ss.h
Li, Xun 4589daddd5 Linux 2.9 Open Source Gold Release
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-03-10 12:47:50 +08:00

150 lines
11 KiB
C

/*
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Intel Corporation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
const int sgx_enclave_ss_length = 1808;
const unsigned char sgx_enclave_ss[1808] = {
0x06,0x00,0x00,0x00,0xe1,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x26,0x09,0x18,0x20,0x01,0x01,0x00,0x00,0x60,0x00,0x00,0x00,
0x60,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x03,0x59,0xc5,0xd0,0xf6,0xc1,0x1a,0x71,0xfe,0x16,0x7a,0x77,0x71,0xe8,0x6a,0x78,
0xd2,0x9e,0x67,0xa0,0x92,0xf0,0xbe,0x9e,0x71,0x47,0xed,0x02,0xb8,0x6b,0x45,0x7c,
0x24,0x81,0x34,0x60,0x51,0x33,0x09,0xc3,0xc1,0xe8,0x2a,0x2c,0x55,0x9e,0x32,0x37,
0x7e,0xd6,0x52,0x34,0xe7,0x1f,0x08,0xb3,0xe3,0xcc,0xaf,0xcd,0xe3,0xd6,0xbb,0x52,
0x33,0x66,0x7e,0x3f,0xd6,0x72,0xa1,0x25,0xc7,0x6d,0xe2,0xf2,0xaa,0x54,0x1e,0x4d,
0xcf,0xee,0x75,0x51,0x19,0x88,0x2a,0x28,0x91,0x12,0xdd,0xfe,0x73,0xd7,0xee,0x2c,
0x79,0x2d,0x8d,0x22,0xcc,0x04,0xf3,0x2b,0x28,0x51,0x49,0x04,0xfa,0xeb,0xd8,0x88,
0xfd,0x4d,0xb2,0x5d,0xda,0xa9,0x62,0x66,0x3c,0xa0,0x1e,0xc1,0xd4,0xfb,0x9e,0xc5,
0x92,0xc4,0x09,0x9d,0x61,0x1a,0x43,0x3d,0x29,0xa9,0x63,0x29,0x2f,0x3b,0x46,0x02,
0xab,0x4d,0x3b,0x21,0x13,0x35,0xcf,0x43,0x13,0xcd,0xb3,0x5c,0xfd,0xbe,0x25,0x47,
0x42,0xb2,0x87,0x03,0x3b,0xc1,0x45,0xfa,0x16,0x0b,0xec,0xf4,0x02,0x9e,0x22,0xcf,
0x5e,0x43,0xdc,0x21,0x57,0x32,0x09,0x16,0x34,0xe6,0x30,0x32,0xc9,0xc0,0x11,0x1e,
0x95,0x52,0x7d,0xce,0x71,0x18,0x2f,0xb2,0x8e,0x8e,0xd0,0xff,0x17,0x81,0x49,0xeb,
0xeb,0x64,0x11,0x5e,0x82,0x97,0x7c,0x56,0x71,0xab,0xed,0x5b,0x91,0xe1,0x57,0x19,
0xd0,0x19,0x11,0xdf,0x97,0xd5,0x60,0xf0,0xf2,0x3c,0xc6,0x94,0xb3,0x15,0xf2,0xb9,
0xf2,0x22,0x1a,0xaf,0x94,0xa7,0x9d,0xeb,0x5d,0xdb,0xf8,0xdd,0x3d,0xcb,0x5b,0x53,
0x8c,0x03,0x2b,0xd7,0x88,0x6e,0xec,0xed,0xa5,0x23,0xa6,0x29,0x49,0x79,0x48,0xaf,
0x73,0x02,0x32,0xab,0x44,0x84,0xf6,0xa7,0x78,0x7b,0x3b,0x91,0x82,0x73,0x31,0xa3,
0xa9,0x9f,0xed,0x87,0x5e,0xc5,0xd7,0xd4,0x62,0x40,0x51,0xdc,0xf4,0x8c,0x8c,0x63,
0xd3,0x19,0x5a,0xfc,0xed,0x28,0x1f,0xf3,0xa4,0x82,0x6d,0x50,0x42,0xf8,0x4e,0x0c,
0xa1,0x7e,0xe8,0x81,0xf4,0xf7,0x53,0x8f,0x4d,0x52,0xb6,0xe8,0x6f,0xf9,0x96,0x09,
0x93,0x02,0x85,0x8a,0xde,0xef,0x25,0xfe,0xe2,0x0e,0x34,0xbd,0x79,0x57,0x09,0x6a,
0xa3,0x19,0x43,0xee,0x54,0x74,0x49,0xfd,0x5c,0x0d,0x34,0x92,0x4a,0x23,0x90,0x24,
0xea,0x28,0x57,0x15,0xd2,0xe6,0x36,0xc7,0x55,0xcd,0x3b,0x1f,0x46,0xae,0xde,0xac,
0x03,0x00,0x00,0x00,0xe4,0x65,0xf9,0x17,0x6a,0x7e,0xe9,0x2b,0xa6,0x85,0xc2,0xb1,
0x30,0x1a,0x7d,0x66,0x22,0xfa,0x97,0xe1,0xaa,0xab,0xba,0xec,0x21,0xf1,0x78,0xeb,
0x0e,0x1b,0x36,0xdf,0x12,0xa1,0x59,0xfd,0x7b,0x17,0xc5,0x43,0x85,0xfd,0x71,0xaa,
0x97,0xc4,0xbc,0x8b,0x5e,0xaa,0x0a,0x55,0x4a,0x89,0xe4,0x98,0x71,0x7e,0x3e,0x0f,
0xce,0x09,0xba,0x8c,0x9a,0xa4,0x63,0x21,0x47,0xae,0x15,0x79,0x85,0xfb,0xe2,0xc4,
0x2b,0xe6,0xfa,0x4d,0xb7,0x97,0xe5,0xf2,0x2c,0x28,0x04,0x17,0x7f,0xf9,0x5e,0xcc,
0x31,0x45,0xc0,0xed,0x80,0x1e,0x24,0x2d,0x61,0x7f,0x51,0x72,0xf9,0xfe,0x97,0xaf,
0xe3,0x20,0xc9,0x90,0x46,0xf6,0x7d,0x8d,0xf9,0xea,0x3c,0x68,0x8f,0x76,0x13,0xdd,
0x8d,0x2e,0x93,0x1a,0x5c,0x0a,0xa2,0x3b,0xe2,0x82,0x3c,0x99,0xaa,0x3d,0x87,0xa2,
0x57,0x6b,0x2d,0xfb,0x6f,0xae,0x4d,0x4e,0xda,0xbb,0x0a,0x92,0xc5,0xa8,0xe7,0xe7,
0x9b,0x25,0x08,0x23,0x2a,0x9d,0x7e,0xec,0x58,0x3b,0xe0,0x93,0x61,0x67,0x97,0xbe,
0xf5,0x28,0x2e,0x46,0xa9,0x23,0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0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xa1,0x4f,0x1e,0x13,0x01,0x17,0x31,0x2e,0x34,0x96,0xda,0x37,0xef,0x46,0x07,0x56,
0xb9,0xa1,0x88,0xd2,0xda,0x08,0xd1,0x9f,0xe9,0x97,0x26,0xa0,0x41,0x19,0xd6,0x3f,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x66,0x79,0x7b,0x23,0x58,0x95,0x73,0xf0,0x64,0x05,0x75,0xa4,0xa8,0x38,0xef,0x94,
0xbd,0x1d,0x60,0xed,0x17,0x5a,0xc6,0x84,0x0a,0x0c,0x55,0xce,0x24,0xcb,0x41,0x60,
0x34,0x0c,0xf2,0x07,0x68,0xef,0x75,0xad,0xc0,0xfd,0x92,0x30,0xec,0x7a,0x2d,0x1d,
0x3d,0x6e,0xe0,0xbb,0x81,0xa1,0x51,0x93,0x51,0xe4,0xee,0x94,0xc8,0xb3,0xe8,0xde,
0x7c,0xba,0x9a,0x5b,0x1e,0x9a,0x2d,0xd7,0x4e,0x12,0x22,0x3e,0x5f,0xb6,0x2b,0xcc,
0x44,0x06,0x6b,0xa3,0x6a,0x42,0x39,0x13,0x0f,0x88,0x14,0x0b,0x56,0xaf,0x3c,0x6f,
0x13,0x8b,0x28,0x9d,0x15,0x8d,0x20,0xdb,0x72,0xff,0x51,0x34,0x8b,0x09,0x20,0xee,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xf4,0x67,0x32,0xf8,
0xf2,0xda,0x6c,0xd3,0x09,0x41,0x01,0xec,0x3d,0x4b,0xa7,0x8f,0xda,0xf9,0x89,0xc1,
0xee,0xe5,0x40,0xab,0x05,0x03,0x67,0x06,0x0c,0x68,0xba,0xbd,0x8f,0x04,0xbd,0xda,
0xad,0x2b,0x2d,0x65,0x90,0x39,0x78,0xce,0x0f,0x5e,0x76,0x5f,0x34,0x04,0x49,0x9a,
0x36,0x41,0x24,0x1c,0xbf,0xa2,0xce,0xf6,0xb6,0xbe,0x1a,0xfc,0x4c,0x93,0xd0,0x60,
0x3b,0x23,0x99,0x81,0x47,0xe0,0x0c,0x0a,0x1b,0x68,0xd0,0x30,0xb4,0xf7,0x87,0xc6,
0x1d,0x27,0xcf,0xe5,0x9c,0x10,0xa9,0x21,0x00,0x13,0xfc,0x2e,0x0e,0x69,0xa4,0xad,
0x6c,0x52,0xeb,0x9e,0x72,0xc9,0xb1,0x29,0x08,0xb4,0xc5,0x91,0x28,0xe8,0x56,0xb1,
0x24,0xb5,0x76,0x2e,0x30,0xd7,0x7a,0xf6,0xae,0xe0,0x7a,0x31,0xa5,0x1f,0x63,0x64,
0x13,0x41,0xd7,0x94,0x91,0x0a,0x8b,0x3b,0xaa,0x32,0x2f,0x60,0x79,0x56,0xfc,0x1c,
0xdd,0xd7,0xcd,0xd4,0x9b,0x9b,0xec,0xf6,0x55,0xb8,0xfd,0x05,0xf9,0x10,0x40,0x5a,
0x9d,0x48,0x61,0x5a,0xaf,0xf0,0xb4,0xd8,0x68,0x4f,0x38,0x4b,0x18,0x3a,0x44,0xcc,
0xeb,0x40,0xd1,0xc5,0xd3,0x7b,0x43,0xd0,0xc9,0xa0,0x7b,0x8c,0xad,0x54,0xb4,0x00,
0x53,0x56,0x24,0xbb,0x66,0x09,0x96,0x7a,0x22,0xef,0x9c,0x68,0x13,0x96,0x58,0x11,
};