⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sblock_data.h

📁 s3c6400 ADS下官方测试程序
💻 H
字号:
#ifndef _SBLOCK_DATA_H_#define _SBLOCK_DATA_H_#include "def.h"#include "system.h" u32 uAesPlainText[]={	0xe2bec16b,	0x969f402e,	0x117e3de9,	0x2a179373,	0x578a2dae,	0x9cac031e,	0xac6fb79e,	0x518eaf45,	0x461cc830,	0x11e45ca3,	0x19c1fbe5,	0xef520a1a,	0x45249ff6,	0x179b4fdf,	0x7b412bad,	0x10376ce6};u32 uAesCipherText[][16]={	// ECB	0xb47bd73a,	0x60367a0d,	0xf3ca9ea8,	0x97ef6624,	0x85d5d3f5,	0x9d69b903,	0x5a8985e7,	0xafbafd96,	0x7fcdb143,	0x23ce8e59,	0xe3001b88,	0x880603ed,	0x5e780c7b,	0x3fade827,	0x71202382,	0xd45d7204,	// CBC	0xacab4976,	0x46b21981,	0x9b8ee9ce,	0x7d19e912,	0x9bcb8650,	0xee197250,	0x3a11db95,	0xb2787691,	0xb8d6be73,	0x3b74c1e3,	0x9ee61671,	0x16952222,	0xa1caf13f,	0x09ac1f68,	0x30ca0e12,	0xa7e18675,	// CTR	0x91614d87,	0x26e320b6,	0x6468ef1b,	0xceb60d99,		0x6bf60698,	0xfffd7079,	0x7b181786,	0xfffdffb9,		0x3edfe45a,	0x5ed3d5db,	0x02094f5b,	0xab3eb00d,		0xda1d031e,	0xd103be2f,	0xa0702179,	0xee9c00f3};u32 uAesCipherText128[]={	//CBC	0xacab4976,	0x46b21981,	0x9b8ee9ce,	0x7d19e912,	0x9bcb8650,	0xee197250,	0x3a11db95,	0xb2787691,	0xb8d6be73,	0x3b74c1e3,	0x9ee61671,	0x16952222,	0xa1caf13f,	0x09ac1f68,	0x30ca0e12,	0xa7e18675	};u32 uAesCipherText192[]={	//CBC	0xb21d024f,	0x3d63bc43,	0x3a187871,	0xe871a09f,	0xa9add9b4,	0xf4ed7dad,	0x7638e7e5,	0x5a14693f,	0x20241b57,	0xe07afb12,	0xacbaa97f,	0xe002f13d,	0x79e2b008,	0x81885988,	0xe6a920d9,	0xcd15564f	};u32 uAesCipherText256[]={	//CBC	0x044c8cf5,	0xbaf1e5d6,	0xfbab9e77,	0xd6fb7b5f,	0x964efc9c,	0x8d80db7e,	0x7b779f67,	0x7d2c70c6,	0x6933f239,	0xcfbad9a9,	0x63e230a5,	0x61142304,	0xe205ebb2,	0xfce99bc3,	0x07196cda,	0x1b9d6a8c	};const u32 uAesCTRCipherText[]={		0x08e2493c,	0xcd6d1d4b,	0x326cb23e,	0xbce71ec6,	0xe5829528,	0x7d6950d4,	0x813a55b5,	0x242bf801,	0x4fb1f6d0,	0x91ba9596,	0x74709d04,	0x5b1c21c3,	0x5337aa24,	0xe04b4df4,	0x85e36887,	0xbba033ac,	//192bit	0xfd7d95bf,	0xc53a970f,	0x04205a0d,	0x1fe19e7b,	0xf049df92,	0x9ade731c,	0x58bce96b,	0xfdc07322,	0x80ce4f94,	0x8b537ee8,	0x942157de,	0x2e6f2d88,	0x2169166c,	0x2b7b1e8a,	0x7c59edd2,	0xec59e6dc,	//256bit	0x58fb631d,	0xe09b8184,	0x55fa1d41,	0x3f2b5a85,	0x05ece1ba,	0x279995ac,	0xc748fdfe,	0xd06b94c1,	0x092b7884,	0xd9706a1c,	0x89131a94,	0x4841b0df,	0xf90cc0e4,	0xca8f6bb2,	0x89e3b24a,	0x9268a3f0,	//256_	0xea89ac17,	0xaf9d0566,	0xcf5058e1,	0xed834cb3,	0x72a5e5aa,	0xc6f26c16,	0xd4e8ef63,	0x7a545c91,	0x635d85a7,	0x232b3aac,	0x1c28e43f,	0xf15ab6af,	0x0fbe0a16,	0xd81c1573,	0x5b91a252,	0x00dfc89c		};const u32 uAesCTRCipherText_[]={		0x91614d87,	0x26e320b6,	0x6468ef1b,	0xceb60d99,	0x6bf60698,	0xfffd7079,	0x7b181786,	0xfffdffb9,		0x3edfe45a,	0x5ed3d5db,	0x02094f5b,	0xab3eb00d,	0xda1d031e,	0xd103be2f,	0xa0702179,	0xee9c00f3,	//192bit	0x2493bc1a,	0xa21c5217,	0x59042b4f,	0x0b6e7efe,	0xec390309,	0xeffaa60a,	0xc6c2ccd5,	0x948ecef4,	0x6bb2361e,	0x70c6ebd1,	0x661dbdd1,	0xf7ab2056,	0xf6a7784f,	0x580998d2,	0xecda975a,	0x50b0c658,	//256bit	0x13c31e60,	0xa5895777,	0x04f5a7b7,	0x28d2f3bb,	0xcae343f4,	0x9ab5624d,	0x90e984ca,	0xc5f5caca,	0xda30092b,	0x4ce93da2,	0xba1770e8,	0x8d98842d,	0x8dc5c9df,	0xa6ad7ab6,	0x08ddc213,	0xa6417945		};//u32 uDesPlainText[]=const u32 uDesPlainText[]=   // O.K{	0xe70ae5b0,	0xa69afff9,	0xbcbfdf74,	0xeac6cb56,	0x60eeac7b,	0xebc4566b,	0xdb3d950e,	0xb595fb2f,	0x9dea6cb3,	0x82976696,	0x075111a9,	0x35040a0d,	0xe16bef6d,	0xde72aaff,	0xe34b7e3a,	0x3b52d355};const u32 uDesCipherText[][16]={	// ECB	0x12dd62ef,	0xf547ac22,	0x07e184ca,	0x4bbf56f2,	0x22ce61ef,	0xf01ad82d,	0x7f6dba7f,	0x7a25aedb,	0xff6f619d,	0xf12a7fc0,	0x76c82300,	0xd9e2a30a,	0xbc6b88f0,	0xc608d038,	0x05e4e1b7,	0xd6e27424,	// CBC	0xec0b875b,	0xd5227916,	0x0abcab2a,	0x146fa6c1,	0xe3faa9f8,	0xb354d132,	0xf09f449f,	0xaae210ec,	0x70efb0cc,	0x33121850,	0x0fb66488,	0x181f54dc,	0xb5951afa,	0x904f4e90,	0x94c72c8d,	0xa7392589};const u32 uSha1CipherText16[]={	0x431ed237,	0x06143033,	0x5cde8bf6,	0x4eaca4a7,	0x5ab96b11};const u32 uSha1CipherText47[]={	0xa6086048,	0x4eb66d61,	0x95ac942e,	0xa1d4d5ac,	0x9c054323};const u32 uHmacCiperText19[]={	0x0f9de9e8,	0x787d2345,	0xa7ba6b6d,	0x08785c96,	0x911affbb};const u32 uHmacCiperText47[]={	0x32fb24c7,	0xffabfe1d,	0xcab4a00a,	0x130c381a,	0x64420583};const u32 uHmacPlainText19[]={	0x74736554,	0x69735520,	0x4c20676e,	0x65677261,		0x68542072,	0x42206e61,	0x6b636f6c,	0x7a69532d,		0x654b2065,	0x6e612079,	0x614c2064,	0x72656772,	0x61685420,	0x6e4f206e,	0x6c422065,	0x2d6b636f,	0x657a6953,	0x74614420,	0x00000061,};const u32 uHmacPlainText47[]={	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261, 0x64636261,	0x64636261};const u32 uSha1PlainText16[]={	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261};const u32 uSha1PlainText47[]={	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261};const u32 uSha1PlainText121[]={	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,			0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261, 0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,	0x64636261,		0x64636261};const u32 uSha1PlainText1[]={	0x64636261	};/*const u32 uSha1CipherText1_1[]={	0x37e4f786,	0xfca7a5fa,	0xdc1d5de1,	0xeaeaeab9,	0xb8677637};const u32 uSha1CipherText1_2[]={	0x4e6123da,	0x0d9a4602,	0xbdd17b7c,	0x479c5cab,	0xdc04194b};const u32 uSha1CipherText1_3[]={	0x363e99a9,	0x6a810647,	0x71253eba,	0x6cc25078,	0x9dd8d09c};const u32 uSha1CipherText1_4[]={	0x81fe8bfe,	0x87576c3e,	0xcb224267,	0x8e578473,	0x82917acf};*/const u32 uSha1CipherText1[]={	0x37e4f786,	0xfca7a5fa,	0xdc1d5de1,	0xeaeaeab9,	0xb8677637,	0x4e6123da,	0x0d9a4602,	0xbdd17b7c,	0x479c5cab,	0xdc04194b,	0x363e99a9,	0x6a810647,	0x71253eba,	0x6cc25078,	0x9dd8d09c,	0xfe8bfe81,	0x3e6c5787,	0x6f4222cb,	0x7384578e,	0xcf7a9182	};const u32 uSha1CipherText2[]={	0x23f24ed8,	0x4a3ac3fa,	0x1a68c45f,	0xbac02df2,	0x1ed2ff78,	0xf6f85bac,	0x3d43609e,	0x5cf00c05,	0x53f6cd2b,	0x68eef24f,	0x225ad2ed,	0xf6340e31,	0xc90d21f3,	0x916355e8,	0x41629c85,	0x128e37e0,	0x9a5facd7,	0xd85270f3,	0xf3e43b76,	0x4130d1e8	};const u32 uSha1CipherText3[]={	0x91ff75e8,	0x3a39a5da,	0xbcc11993,	0x8aecf835,	0x6862558b,	0xf6c16f0c,	0xbaa5cb31,	0xf3ad0972,	0xb9df8d4e,	0x5872a2fd,	0x09b2e601,	0xc515de53,	0x51e053f3,	0x7dbf05db,	0x6fa60f86,	0xf0aacecd,	0xe7f0848b,	0x93edd315,	0xbb35bb49,	0xbed26167	};const u32 uSha1CipherText4[]={	0xbfec68ec,	0x0252b7d4,	0x539ebd78,	0xcab3e6ac,	0xd96ef554,	0x92d57179,	0x4a2f18fe,	0x0c148048,	0x2ea1eee8,	0x80620789,	0x5a82529b,	0xdb2e3835,	0x519f756f,	0x7413d738,	0xed79be08,	0xf9f73c4e,	0x9475763b,	0x252e4d27,	0x26ca9ffb,	0xf97ac1e5	};const u32 uSha1CipherText5[]={	0xff27ee23,	0x3bb1e2ba,	0x39667619,	0x27232b48,	0x6d9a2133,	0x468dabdc,	0xdef964ad,	0xa53c26db,	0x9af96254,	0x349f1028,	0x4cc75f00,	0xe525cadf,	0xd941aa13,	0xd5d21f81,	0x574d6215,	0x3b8223b3,	0xfe1034d5,	0x4b15c855,	0x4856631f,	0x9235da15	};const u32 uSha1CipherText6[]={	0x050f2bad,	0xe581aaa3,	0xf0b065f7,	0x254b425c,	0x263eb185,	0x500bba8d,	0x282b89e0,	0xf687b968,	0x692cb5b1,	0x02bcec0c,	0x7f27ae17,	0x1164d76f,	0x2c16206b,	0x7600bd73,	0x73e94e0c,	0x458967e8,	0xa48d1fb4,	0x3dfdb0c3,	0xae74cfe9,	0x1c4a4e88	};const u32 uSha1CipherText7[]={	0x8fedf96f,	0xf93a2fb3,	0x6a6d8d4f,	0x43c94294,	0x07f6d98e,	0x7d008276,	0xc8a62247,	0x6d3bf7d2,	0x2dd1574c,	0xb46973b1,	0xbc617086,	0x33b05f31,	0xe81a6885,	0xc4d63b68,	0x0f29b401,	0x2b084fb5,	0x8d38beb7,	0xcc539c8d,	0x693688dc,	0x1cf98c7d	};const u32 uSha1CipherText8[]={	0x67cc608f,	0x5b88707e,	0x6f181d87,	0x8dca796d,	0x1661afd6,	0x8cb58552,	0xd8b923c9,	0xb5556531,	0xbc6540e1,	0xaa971775,	0x2a00edc7,	0x56f95c95,	0xbb297174,	0x36717c44,	0xbe24cb5b,	0x8caca8a9,	0xdbb13478,	0x65cec39f,	0xb14e7db6,	0x345e65d5	};const u32 uSha1CipherText9[]={	0xe9cadb42,	0xca364e17,	0x8ac5a673,	0x06ef093a,	0x8ca0f914,	0x0e3cee4e,	0x4270f080,	0xdfe72fd4,	0x03f7f71b,	0x6dcd88ae,	0x34cedf3b,	0x47e6aed3,	0x24c23fee,	0x363192e0,	0xbebc138b,	0x6b9b4d9d,	0xfc878b90,	0xb176c83f,	0xd3fcb0c1,	0xfd1e2d29	};const u32 uSha1CipherText10[]={	0xeece8597,	0x9459fcd4,	0xa1372396,	0x3246d23c,	0x8ad8fa44,	0x233e0673,	0x95a7713e,	0x05937105,	0x73814077,	0x057a0ad6,	0x158c4883,	0xd394c1a1,	0xcfb6edb1,	0xf5e8df2f,	0xd3fb2723,	0xca350bdf,	0xf5a9c925,	0x1a352f41,	0xc5cecaf9,	0x024d4c7c	};const u32 uSha1CipherText11[]={	0x8683a9a7,	0x78fed9d3,	0x78c4ecea,	0xb7641f7d,	0x4cb41f3b,	0x17d8305a,	0xb1d98027,	0xfd191768,	0xf1b001fc,	0x826ccf05,	0x755a6a2f,	0xca5b6d42,	0xf818a6ab,	0x30957140,	0x5a2b2d54,	0xe6ada803,	0x65251d7d,	0x135406d7,	0xf6de6673,	0xb3896972	};const u32 uSha1CipherText12[]={	0xb9bd0dc4,	0x30fb5df5,	0xdf0841fb,	0x08924be1,	0xc58c6ced,	0x63d8281c,	0x490ca514,	0x171b36b6,	0xb0858d7b,	0x9bb2e431,	0xfab95154,	0x4733aa3f,	0x6f72757b,	0x33883876,	0x3ff4beeb,	0xc96b04f7,	0x9b91cc12,	0xcdbace41,	0x81358340,	0xe8ef6a10	};const u32 uSha1CipherText13[]={	0xa3072b20,	0x1bfd788c,	0x46143fcb,	0x13130f74,	0x508fec87,	0x09f137cf,	0x9fd2eef7,	0x8c5d0889,	0xd8e45933,	0xc99705d7,	0x989af013,	0x1d297f3a,	0xa49f0efa,	0x1ca7c23f,	0xb9129fa9,	0xa8be4663,	0xfb9b93ab,	0x6e314683,	0x174ffe68,	0x50452edc	};const u32 uSha1CipherText14[]={	0x7d5b5112,	0x24cc3ea6,	0xdc99a98d,	0xde85c23c,	0x256c534c,	0x4f0981a9,	0x2ca55941,	0xf7d306df,	0xff053e18,	0x46473ea5,	0xc013b796,	0x7617f4a5,	0x7285bff8,	0xb0183f92,	0xa2254f57,	0xd8834163,	0xadf2b795,	0xec3be7e4,	0xcd4f46e1,	0xd45297d8	};const u32 uSha1CipherText15[]={	0x2f5018eb,	0xa5a8e0a1,	0x73f22ab4,	0xd42e3399,	0xf172e926,	0xafaaacd9,	0xeb638b93,	0xf0fb7b8b,	0x8694f366,	0xa4d2792d,	0x536a097f,	0x849adea1,	0xfcc2a591,	0xdc72e727,	0x82367d0d,	0xe073a18b,	0x15de9531,	0x74946929,	0x0764276f,	0x9a2a7657	};const u32 uSha1CipherText_Inter[]={	0x21f83e20,	0x362ae8ee,	0x38b8f219,	0x81fdc373,	0x1a56e095	};const u32 uSha1CipherText_InterValue[]={	0x579394FC,	0xB51EB631,	0x7944B91F,	0x1BEC6938,	0x303FE675	};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -