1653 lines
122 KiB
C
1653 lines
122 KiB
C
|
||
|
||
/* aes test array begin */
|
||
uint8_t aes_src_13[16] = {
|
||
0x4f, 0x5d, 0xb0, 0x8c, 0x0b, 0x94, 0x77, 0xb5, 0xb8, 0x5d, 0xd6, 0x26, 0xd1,
|
||
};
|
||
uint8_t aes_key_128[16] = {
|
||
0xf1, 0x63, 0x01, 0xbe, 0x61, 0x82, 0xd1, 0xf2, 0x3a, 0xdd, 0xf5, 0x38, 0xc2, 0x11, 0xd5, 0x33,
|
||
};
|
||
uint8_t aes_iv[16] = {
|
||
0xfe, 0x15, 0xe0, 0x76, 0xb2, 0xd4, 0x6f, 0x06, 0x08, 0xd1, 0xe5, 0xc4, 0x00, 0x4d, 0x81, 0x36,
|
||
};
|
||
uint8_t aes_128_ecb_13[16] = {
|
||
0x3f, 0x48, 0xf8, 0x0b, 0x53, 0x22, 0x3f, 0x01, 0x9b, 0x1b, 0xb1, 0xca, 0x1e, 0xe0, 0x9b, 0x44,
|
||
};
|
||
uint8_t aes_src_16[16] = {
|
||
0x96, 0x9d, 0xd1, 0xce, 0xda, 0x73, 0x5f, 0x7c, 0xf4, 0x60, 0xd5, 0x71, 0xfe, 0xe4, 0x02, 0x2f,
|
||
};
|
||
uint8_t aes_128_ecb_16[16] = {
|
||
0x28, 0xc8, 0x0a, 0xd3, 0x3b, 0xd3, 0x85, 0x8e, 0xce, 0x58, 0xe6, 0x84, 0x5b, 0x3c, 0xb6, 0x72,
|
||
};
|
||
uint8_t aes_src_192[192] = {
|
||
0x24, 0x56, 0x94, 0x2c, 0x5e, 0x82, 0xc4, 0x01, 0xbe, 0xf4, 0x6d, 0xde, 0x98, 0x45, 0x71, 0xb0,
|
||
0x3d, 0x97, 0x9f, 0x6e, 0x47, 0xeb, 0x27, 0x27, 0x80, 0x14, 0x89, 0x37, 0x92, 0x39, 0xeb, 0x60,
|
||
0xcb, 0x0d, 0x22, 0x7b, 0xa9, 0x55, 0xd4, 0x4c, 0x73, 0xcb, 0x68, 0x9f, 0x6b, 0xdc, 0x89, 0x79,
|
||
0x93, 0xc5, 0xb4, 0x51, 0x71, 0x55, 0x83, 0x16, 0xf2, 0xd8, 0x13, 0x65, 0xf5, 0x35, 0x36, 0x04,
|
||
0x05, 0x0b, 0xa5, 0x56, 0x65, 0xae, 0x63, 0x5d, 0x1c, 0x46, 0x5a, 0x9b, 0xb3, 0xdb, 0x69, 0x89,
|
||
0xea, 0xef, 0xbb, 0x5b, 0xa7, 0xe6, 0xc3, 0x02, 0xbe, 0x46, 0x26, 0xe3, 0x3c, 0xef, 0x01, 0x24,
|
||
0x8d, 0x54, 0x49, 0xce, 0x62, 0x28, 0x3f, 0xe3, 0x39, 0xb3, 0x49, 0x23, 0x19, 0xa9, 0xaf, 0x0d,
|
||
0x13, 0xaf, 0x69, 0x24, 0x4c, 0xa5, 0xd7, 0x9d, 0x00, 0xf5, 0x87, 0xb8, 0x95, 0xd9, 0x59, 0x39,
|
||
0xeb, 0x39, 0xaa, 0x44, 0xca, 0x9d, 0x24, 0xe0, 0xa4, 0xfa, 0xf5, 0x57, 0xab, 0xab, 0xb9, 0x7e,
|
||
0x11, 0x01, 0x78, 0x70, 0xdb, 0xe7, 0x4e, 0x71, 0x6c, 0x35, 0xc7, 0x29, 0x54, 0xe2, 0xcc, 0xc8,
|
||
0x9d, 0x10, 0x16, 0xb1, 0x1d, 0x2c, 0x56, 0x65, 0xbe, 0x28, 0xe6, 0x66, 0x36, 0x66, 0x55, 0xef,
|
||
0x39, 0x94, 0x4e, 0x9f, 0x67, 0x54, 0x3c, 0x1e, 0x67, 0x5f, 0xbf, 0xe0, 0xa0, 0x25, 0x2d, 0x13,
|
||
};
|
||
uint8_t aes_128_ecb_192[192] = {
|
||
0x18, 0x18, 0x7c, 0xf6, 0xfe, 0x5c, 0x60, 0x39, 0xec, 0x0e, 0xa2, 0xf7, 0x2a, 0xe6, 0x62, 0xb9,
|
||
0x02, 0x0b, 0x67, 0x01, 0x95, 0xb4, 0xa2, 0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b, 0xae, 0x5c, 0xd4, 0x76, 0x16, 0xc4, 0x81, 0x2e, 0x27, 0xf2, 0x27, 0x78, 0x2a,
|
||
0xa5, 0x76, 0xef, 0xea, 0x00, 0xc3, 0x86, 0x43, 0x9c, 0x07, 0x7e, 0x71, 0xea, 0xbd, 0x89, 0x45,
|
||
0xd5, 0x77, 0xcb, 0x58, 0x44, 0x1c, 0x4c, 0x78, 0xb6, 0x61, 0x7e, 0xcd, 0xa6, 0x9e, 0xa0,
|
||
};
|
||
uint8_t aes_128_ecb_223[224] = {
|
||
0xe3, 0xde, 0xcc, 0x67, 0x2c, 0x45, 0x75, 0x74, 0x41, 0x8d, 0x8c, 0xbf, 0x34, 0x45, 0x11, 0xae,
|
||
0xfa, 0x85, 0xf6, 0x90, 0x2a, 0xa0, 0xaf, 0x75, 0xef, 0xa8, 0xae, 0x46, 0x36, 0x0f, 0xb8, 0xcc,
|
||
0x26, 0x83, 0x95, 0x88, 0x9c, 0x9c, 0xed, 0xfe, 0xd3, 0x42, 0x2d, 0xa2, 0x30, 0xab, 0x3c, 0x93,
|
||
0x4d, 0xeb, 0xb9, 0xfb, 0xfd, 0x4b, 0x6e, 0x32, 0x95, 0x6a, 0x49, 0xd8, 0xbd, 0x4e, 0x05, 0x77,
|
||
0xf2, 0x51, 0x4b, 0xbd, 0x93, 0x6f, 0xbd, 0x96, 0x51, 0x83, 0x71, 0xa9, 0xef, 0x75, 0x3c, 0x5f,
|
||
0x74, 0xfa, 0x45, 0x28, 0xa5, 0xae, 0x24, 0xab, 0x2c, 0xf4, 0x6c, 0x0d, 0xbe, 0xa8, 0x29, 0x6b,
|
||
0x0f, 0x1c, 0x66, 0xd2, 0xc8, 0x17, 0x3a, 0xfd, 0x0d, 0xa2, 0xee, 0xea, 0xb8, 0xc6, 0xaf, 0x60,
|
||
0x82, 0x77, 0xf7, 0xe3, 0xea, 0x0c, 0xe7, 0x3c, 0xc0, 0x41, 0xd7, 0xcf, 0xdd, 0x7b, 0xcc, 0x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2, 0xe5, 0x48, 0x1e, 0x6e, 0x76, 0x91,
|
||
};
|
||
uint8_t aes_128_ecb_256[256] = {
|
||
0xa7, 0x87, 0x40, 0x71, 0x5a, 0x5b, 0xcd, 0x0a, 0x44, 0x7a, 0xb2, 0xde, 0xa7, 0xcf, 0x4c, 0x3e,
|
||
0x76, 0xd6, 0xbc, 0xd3, 0x8f, 0x16, 0x30, 0x67, 0xcf, 0x62, 0x20, 0x23, 0xbd, 0x2c, 0xd9, 0x71,
|
||
0x98, 0x8d, 0x2b, 0x3c, 0x88, 0x39, 0x69, 0x30, 0xa0, 0x9b, 0x47, 0xdf, 0xfb, 0x85, 0x4b, 0x8a,
|
||
0x8b, 0x7b, 0x99, 0x23, 0x74, 0x39, 0xe3, 0x35, 0x11, 0x3d, 0xf1, 0xc2, 0x02, 0x99, 0x28, 0x60,
|
||
0x0f, 0xb2, 0xf0, 0xa9, 0xd6, 0x07, 0x82, 0x8e, 0x3f, 0x0c, 0x27, 0xd8, 0x1c, 0x0a, 0x7a, 0xde,
|
||
0x54, 0xf7, 0x70, 0xd6, 0xbf, 0x43, 0xff, 0x06, 0x30, 0x98, 0xac, 0x6c, 0x99, 0xe5, 0x5f, 0xc3,
|
||
0x42, 0x8b, 0x61, 0x53, 0x1c, 0x5e, 0x0f, 0xa0, 0xf8, 0x87, 0xd7, 0x74, 0xbe, 0xec, 0x58, 0x4a,
|
||
0x6a, 0x42, 0xd3, 0x8d, 0x1c, 0xb2, 0xb7, 0x7d, 0xce, 0xab, 0x37, 0xa9, 0x84, 0x52, 0x18, 0x54,
|
||
0x3b, 0x32, 0xaf, 0x3e, 0x7d, 0x0a, 0xc6, 0xc7, 0xac, 0x7a, 0x7d, 0x45, 0x19, 0xcf, 0x36, 0x42,
|
||
0xc3, 0x43, 0x1e, 0x8b, 0x12, 0x45, 0x71, 0x26, 0x46, 0xe4, 0x17, 0x3f, 0x50, 0x2b, 0x59, 0x93,
|
||
0x05, 0x08, 0x18, 0x79, 0x1a, 0xa8, 0x6f, 0x58, 0xf5, 0x98, 0x86, 0xc2, 0xff, 0x2b, 0x53, 0xa1,
|
||
0xb9, 0xb6, 0x42, 0xda, 0x91, 0xe3, 0x5a, 0xee, 0x1f, 0x46, 0x9f, 0xa0, 0x65, 0xa1, 0x3c, 0x79,
|
||
0xaa, 0x42, 0xdb, 0x81, 0xb0, 0xf4, 0x9d, 0x2c, 0xd5, 0xa2, 0xa5, 0x43, 0x3d, 0x76, 0x05, 0xdb,
|
||
0x6b, 0x93, 0x42, 0x35, 0xd4, 0xf2, 0x0c, 0x8d, 0x80, 0xa0, 0x31, 0xfd, 0xc5, 0xad, 0x8b, 0xa1,
|
||
0xa8, 0xa5, 0x4d, 0x49, 0x10, 0xc5, 0xb4, 0xd8, 0xf9, 0x0a, 0x73, 0xbd, 0x5f, 0xc1, 0xf4, 0x85,
|
||
0x5a, 0xed, 0x48, 0x43, 0xe8, 0x05, 0x69, 0xff, 0x30, 0x56, 0x53, 0x55, 0xf5, 0x7f, 0x6d, 0x60,
|
||
};
|
||
uint8_t aes_key_192[24] = {
|
||
0x7e, 0xaa, 0xab, 0xae, 0x1a, 0xf7, 0x18, 0x6c, 0xa5, 0x38, 0x71, 0x91, 0xc0, 0xf2, 0x68, 0xc6,
|
||
0x53, 0xbc, 0x18, 0x12, 0xc9, 0xef, 0x6d, 0xa7,
|
||
};
|
||
uint8_t aes_192_ecb_13[16] = {
|
||
0xec, 0xbb, 0x58, 0x1c, 0xb6, 0x74, 0xc7, 0x59, 0xe4, 0xd0, 0xb1, 0xa7, 0xb1, 0x9c, 0x0f, 0xe3,
|
||
};
|
||
uint8_t aes_192_ecb_16[16] = {
|
||
0x01, 0x48, 0xfb, 0x79, 0x2f, 0x23, 0x02, 0x45, 0xc7, 0xbc, 0xb3, 0x81, 0x2f, 0x7c, 0x7c, 0x83,
|
||
};
|
||
uint8_t aes_192_ecb_192[192] = {
|
||
0xd8, 0x47, 0xb3, 0xed, 0x75, 0xf6, 0x27, 0xbc, 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 0xf5, 0x9b, 0xdc, 0x68, 0x59, 0xb5, 0x98, 0x45, 0xb7,
|
||
};
|
||
uint8_t aes_192_ecb_223[224] = {
|
||
0xc9, 0xb1, 0xdd, 0x94, 0xb6, 0x2e, 0x8c, 0xc7, 0xa0, 0xfc, 0x17, 0x7f, 0x90, 0xdb, 0x00, 0x00,
|
||
0xdb, 0x44, 0xb2, 0xe2, 0xc5, 0x21, 0x41, 0x52, 0x11, 0x5f, 0xa4, 0x70, 0x52, 0xd0, 0x26, 0x7d,
|
||
0x26, 0x9c, 0x8e, 0x64, 0x26, 0x16, 0xa5, 0x64, 0xc9, 0x36, 0x7a, 0xe8, 0x5d, 0x3d, 0xea, 0xe9,
|
||
0x74, 0xbd, 0x36, 0xe3, 0x51, 0xfd, 0x49, 0x32, 0xad, 0x72, 0xf1, 0xad, 0xbb, 0xe3, 0x9d, 0x72,
|
||
0xe6, 0x12, 0x59, 0x62, 0x53, 0xcb, 0xa2, 0x02, 0xc2, 0xbd, 0xfa, 0x8b, 0x16, 0x86, 0x03, 0xfa,
|
||
0x55, 0x39, 0xaf, 0x60, 0x8f, 0x25, 0xce, 0x5c, 0x88, 0x73, 0xb5, 0x43, 0x87, 0x63, 0x0f, 0x3e,
|
||
0xe2, 0xc7, 0x78, 0xa9, 0x90, 0x11, 0x45, 0x99, 0xf1, 0xe4, 0x52, 0x8a, 0xc5, 0x02, 0xde, 0xc0,
|
||
0x3e, 0xc7, 0x56, 0x02, 0x1b, 0x60, 0x3d, 0x58, 0x13, 0xa6, 0x40, 0x83, 0x50, 0xb6, 0xa5, 0xf4,
|
||
0x46, 0xa8, 0x1c, 0x0a, 0x0e, 0x59, 0x33, 0x43, 0x7e, 0xd6, 0x3f, 0xa6, 0x22, 0x2c, 0x90, 0x4d,
|
||
0x81, 0xd4, 0x17, 0x53, 0x92, 0x3b, 0xa6, 0x43, 0x6d, 0xc2, 0xef, 0xd4, 0x85, 0xef, 0x68, 0xad,
|
||
0x1e, 0xc6, 0x64, 0xe9, 0x22, 0x7c, 0x32, 0x28, 0x35, 0xcc, 0xbe, 0xc3, 0x3f, 0x60, 0x8c, 0x35,
|
||
0x18, 0x73, 0xc5, 0xe8, 0xab, 0xa8, 0xbb, 0x34, 0xf7, 0x78, 0x86, 0xca, 0x7b, 0x2c, 0xe7, 0x87,
|
||
0x17, 0x85, 0xfd, 0xbe, 0xd8, 0xe5, 0x6b, 0xda, 0x25, 0x05, 0x21, 0xb6, 0x63, 0x50, 0x0d, 0xc4,
|
||
0xbb, 0x4a, 0x59, 0xc0, 0xc4, 0x1b, 0x8d, 0x7e, 0xb2, 0xde, 0x0d, 0x1e, 0x13, 0x13, 0x4c, 0x8d,
|
||
};
|
||
uint8_t aes_192_ecb_256[256] = {
|
||
0x31, 0x06, 0x3f, 0x76, 0x41, 0xff, 0xff, 0xa8, 0x4a, 0x60, 0xbe, 0xbf, 0x66, 0xdc, 0x24, 0xac,
|
||
0xca, 0x7e, 0xa1, 0xa2, 0xf3, 0xf3, 0xc2, 0xdb, 0x8d, 0x2a, 0x01, 0x45, 0x6e, 0xe7, 0xf4, 0x76,
|
||
0xf0, 0xef, 0x1c, 0x07, 0xdf, 0x2b, 0x9c, 0x59, 0xda, 0x84, 0x21, 0xca, 0xf7, 0x9a, 0xeb, 0x88,
|
||
0xec, 0x10, 0x74, 0x72, 0xe9, 0x2c, 0x24, 0xf1, 0xf3, 0xc0, 0xce, 0x70, 0x6e, 0x5e, 0xfc, 0x1f,
|
||
0x59, 0x94, 0xcf, 0x59, 0x58, 0xa5, 0xc4, 0x30, 0x57, 0x5f, 0x38, 0x9f, 0x97, 0xa3, 0x7c, 0x1b,
|
||
0xdf, 0x9b, 0xb2, 0x03, 0x8e, 0xbf, 0xad, 0x15, 0xba, 0x7d, 0x1d, 0xbf, 0xcf, 0xd3, 0xc5, 0x31,
|
||
0x47, 0x4f, 0x81, 0xc2, 0x12, 0x77, 0xef, 0x96, 0xfc, 0x48, 0x01, 0x1e, 0x07, 0xd0, 0x11,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5, 0x79, 0x50, 0x0c, 0x6f, 0xd6,
|
||
};
|
||
uint8_t aes_256_ecb_13[16] = {
|
||
0xe6, 0x0b, 0x7b, 0xc8, 0x83, 0xc5, 0x10, 0xac, 0x73, 0xa7, 0xb8, 0x0e, 0x42, 0xf0, 0x6e, 0x62,
|
||
};
|
||
uint8_t aes_256_ecb_16[16] = {
|
||
0xb1, 0x24, 0xc1, 0x80, 0xc0, 0x7a, 0x46, 0x93, 0x78, 0x71, 0xb9, 0xa9, 0x65, 0x3c, 0x54, 0x68,
|
||
};
|
||
uint8_t aes_256_ecb_192[192] = {
|
||
0x06, 0xc9, 0x97, 0xce, 0xc8, 0xf6, 0x4e, 0x6f, 0x58, 0x58, 0x61, 0x2e, 0x3c, 0x9b, 0x9e, 0x48,
|
||
0xb1, 0xc7, 0xd2, 0x3c, 0xc7, 0x60, 0x07, 0xf5, 0x88, 0xa9, 0x4f, 0x9e, 0xe4, 0x1f, 0x06, 0x64,
|
||
0x9e, 0xf7, 0x72, 0xd2, 0xf7, 0x1f, 0x5b, 0xfa, 0x9e, 0xac, 0xfb, 0x4f, 0x96, 0x2f, 0x86, 0xf1,
|
||
0x4e, 0xda, 0x45, 0x02, 0xb0, 0xed, 0xe8, 0x91, 0x64, 0xa3, 0x71, 0xdb, 0xb4, 0xe9, 0x8c, 0x3e,
|
||
0x7e, 0xf5, 0x2b, 0x39, 0xdd, 0x52, 0x10, 0x33, 0x2f, 0x3f, 0x77, 0xdb, 0xf5, 0x4d, 0x31, 0x9c,
|
||
0xc5, 0xdd, 0xf3, 0x61, 0x75, 0x9d, 0xaa, 0x17, 0x71, 0x82, 0xa6, 0x17, 0xba, 0x59, 0x9c, 0x95,
|
||
0xc5, 0xf3, 0x09, 0x7a, 0x7e, 0x14, 0xab, 0xd7, 0x7c, 0xce, 0x0c, 0x15, 0x64, 0x5c, 0xb6, 0x2e,
|
||
0x6a, 0x4e, 0x3a, 0x55, 0x43, 0x01, 0xe2, 0x51, 0xe9, 0x2c,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ce, 0x27, 0xf7, 0x6b, 0x13, 0xc7, 0x4f, 0x18, 0xb9, 0x76, 0xec, 0xef, 0xfc,
|
||
0x19, 0xea, 0xee, 0x65, 0xd5, 0xfc, 0xaf, 0x9d, 0xd2, 0x70, 0xa1, 0x64, 0x89, 0x3b, 0x7e, 0xfb,
|
||
0x8c, 0xa8, 0xac, 0xec, 0x2e, 0xdf, 0x24, 0x73, 0xba, 0xd6, 0x82, 0xcb, 0x70, 0x7b, 0x41, 0x8f,
|
||
0x95, 0x70, 0xeb, 0x5c, 0x67, 0x5c, 0xb6, 0xc9, 0x22, 0xce, 0x1a, 0x26, 0xbd, 0x2f, 0xdb, 0x74,
|
||
0x96, 0x8d, 0x6a, 0xbb, 0xc3, 0xa1, 0xb4, 0x67, 0xd3, 0x2c, 0x4d, 0xb5, 0xae, 0x12, 0x14, 0xda,
|
||
0x94, 0x59, 0xd9, 0xe7, 0xe9, 0x6c, 0xb5, 0x0d, 0xc1, 0x21, 0x48, 0xe2, 0x46, 0x52, 0x22, 0xbb,
|
||
0xa1, 0x6c, 0x12, 0x00, 0x25, 0x1b, 0x5f, 0xac, 0x90, 0x2e, 0x84, 0xad, 0x20, 0xb8, 0xb2, 0x8c,
|
||
0x34, 0xb6, 0xd2, 0x90, 0xc0, 0xc4, 0xae, 0xd1, 0x90, 0x97, 0xde, 0x7f, 0x67, 0x44, 0xa5, 0x6b,
|
||
};
|
||
uint8_t aes_256_ecb_256[256] = {
|
||
0x3c, 0xe9, 0x3a, 0x11, 0x54, 0xfe, 0xdb, 0xac, 0x29, 0xb5, 0x88, 0x16, 0x63, 0xe2, 0x01, 0xce,
|
||
0x6c, 0x12, 0xa3, 0xe4, 0xf9, 0x7d, 0xd7, 0x83, 0x10, 0x0d, 0x51, 0x53, 0x43, 0x88, 0xe0, 0xc9,
|
||
0x10, 0x94, 0x0a, 0xaf, 0x41, 0x5d, 0x7a, 0x19, 0x5e, 0x3a, 0x8f, 0xe3, 0xaa, 0xba, 0x4a, 0x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,
|
||
0x3f, 0x14, 0x58, 0x9c, 0xe5, 0x8d, 0xc0, 0xb8, 0xf9, 0x4b, 0xcb, 0x54, 0x71, 0xa6, 0x52, 0xf8,
|
||
0x18, 0x42, 0x54, 0xa9, 0x1d, 0x48, 0x27, 0xa1, 0xbe, 0xc8, 0xe0, 0xa7, 0x60, 0x64, 0xaf, 0x12,
|
||
};
|
||
uint8_t aes_128_cbc_13[16] = {
|
||
0xa5, 0x1b, 0x36, 0x3c, 0x5d, 0x9a, 0xe2, 0x75, 0x29, 0x34, 0x0d, 0x8c, 0xe3, 0xdf, 0x6a, 0xfe,
|
||
};
|
||
uint8_t aes_128_cbc_16[16] = {
|
||
0x2a, 0x8c, 0x7b, 0xce, 0x8e, 0x51, 0x9e, 0x9b, 0xf3, 0xf9, 0xe7, 0x87, 0xd4, 0xf7, 0x8d, 0x71,
|
||
};
|
||
uint8_t aes_128_cbc_192[192] = {
|
||
0x48, 0xa0, 0x52, 0xa9, 0x80, 0x91, 0xdc, 0xde, 0xe8, 0x50, 0xc5, 0x43, 0xc6, 0xf8, 0xa1, 0xc6,
|
||
0xd8, 0x93, 0x66, 0xb8, 0x44, 0xab, 0x58, 0x64, 0x50, 0xe9, 0xe2, 0xfc, 0x7a, 0xc6, 0x53, 0x26,
|
||
0x12, 0xe8, 0xaa, 0x4f, 0xc1, 0x69, 0x14, 0x50, 0x46, 0xa4, 0xde, 0x18, 0xd5, 0x90, 0xfa, 0x84,
|
||
0x9a, 0xca, 0xfc, 0xaf, 0xc1, 0x3b, 0x38, 0x7f, 0xa4, 0x84, 0x8b, 0x34, 0xe6, 0x65, 0x2a, 0x68,
|
||
0xb1, 0xcd, 0xd5, 0x09, 0xbe, 0xd7, 0x43, 0x6f, 0x8e, 0x02, 0x91, 0x37, 0xd4, 0x98, 0x70, 0xd6,
|
||
0xd4, 0xbf, 0x8b, 0x8e, 0xd1, 0xba, 0xad, 0x10, 0xac, 0x59, 0x5e, 0x3d, 0x59, 0xc0, 0xef, 0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xd2, 0x45, 0x25, 0x35, 0xe4, 0xa8, 0x56,
|
||
0x67, 0xad, 0x68, 0xc1, 0xc8, 0xe6, 0x58, 0x64, 0x78, 0x11, 0x96, 0x7e, 0x58, 0x98, 0x18, 0x4c,
|
||
0xee, 0xae, 0x0f, 0x03, 0x9a, 0x50, 0xff, 0x39, 0x97, 0x07, 0x84, 0x36, 0x95, 0x64, 0x4e, 0xcb,
|
||
0x07, 0x05, 0xce, 0xa0, 0x17, 0x5f, 0x6d, 0x28, 0x4f, 0x28, 0xb2, 0xe5, 0x3b, 0x74, 0x64, 0x06,
|
||
0xf9, 0x23, 0xa5, 0x5c, 0xf4, 0x01, 0x87, 0x78, 0xd5, 0xbd, 0x85, 0x4c, 0xfe, 0x18, 0xd1, 0xac,
|
||
0x16, 0x01, 0xc3, 0x2e, 0x07, 0x4b, 0x97, 0x29, 0xe7, 0xfa, 0x2b, 0xe1, 0x78, 0xad, 0xe8, 0x09,
|
||
0xdc, 0x94, 0xb2, 0x54, 0xc0, 0xa3, 0xed, 0x14, 0xec, 0x24, 0xb0, 0x89, 0xdc, 0xef, 0xe7, 0x72,
|
||
0x31, 0x50, 0xe4, 0x4e, 0xdd, 0x9d, 0x4d, 0x52, 0x9f, 0x3c, 0x7b, 0xe5, 0x25, 0x7d, 0xba, 0xec,
|
||
0x5b, 0x2c, 0x2b, 0xe7, 0x81, 0x12, 0x59, 0xf7, 0x09, 0xc1, 0x71, 0x3b, 0xeb, 0xda, 0x67, 0x15,
|
||
0x32, 0x4b, 0x56, 0xe1, 0x54, 0x1f, 0xc8, 0x55, 0xc3, 0x7e, 0x85, 0x6f, 0xf9, 0xe4, 0x86, 0x69,
|
||
};
|
||
uint8_t aes_128_cbc_256[256] = {
|
||
0xf4, 0x13, 0x17, 0xd9, 0x82, 0xc3, 0x04, 0x4f, 0x15, 0xe3, 0x6c, 0xcb, 0x61, 0x42, 0x94, 0xb1,
|
||
0xae, 0xfd, 0x36, 0x84, 0x80, 0xeb, 0x22, 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x60, 0x8a, 0xab, 0x5b, 0xad, 0xf6, 0xbd, 0xda, 0x12, 0xfa,
|
||
0x57, 0x27, 0x15, 0x14, 0x9a, 0xae, 0x03, 0x98, 0xbf, 0xc5, 0x3e, 0x3a, 0xf5, 0x77, 0xde, 0xd8,
|
||
0x46, 0x84, 0xdf, 0x20, 0x2e, 0x82, 0xd7, 0xea, 0xd9, 0x2c, 0x2c, 0x42, 0xcc, 0x31, 0xa0, 0x39,
|
||
0xe8, 0x60, 0xfa, 0xd2, 0x4f, 0x3c, 0xc4, 0x3b, 0xc8, 0x73, 0x1f, 0x84, 0xf6, 0xb9, 0xed, 0xbb,
|
||
};
|
||
uint8_t aes_192_cbc_13[16] = {
|
||
0x8e, 0xe8, 0x32, 0xbd, 0x1b, 0x76, 0xe6, 0xaa, 0xcd, 0xe2, 0x46, 0xf0, 0xa1, 0xe9, 0xbd, 0x40,
|
||
};
|
||
uint8_t aes_192_cbc_16[16] = {
|
||
0x29, 0x06, 0xa3, 0xac, 0x04, 0x6b, 0xe2, 0xf9, 0x4c, 0x49, 0x51, 0xb7, 0xa3, 0x24, 0x10, 0x74,
|
||
};
|
||
uint8_t aes_192_cbc_192[192] = {
|
||
0xe2, 0x82, 0xaa, 0x56, 0xc5, 0xe5, 0x59, 0x12, 0xf2, 0xa3, 0x59, 0x98, 0x9d, 0x01, 0x76, 0x79,
|
||
0xbf, 0x9f, 0x6f, 0xa8, 0xec, 0x51, 0x13, 0x5c, 0x62, 0xe9, 0x36, 0x50, 0x5e, 0xf4, 0xb5, 0xf6,
|
||
0xb1, 0x1a, 0x29, 0x0e, 0x72, 0x1b, 0xa0, 0x29, 0x08, 0x22, 0x86, 0x08, 0x82, 0xc5, 0x99, 0x7c,
|
||
0x1b, 0xcd, 0xd4, 0x9d, 0x72, 0x66, 0xad, 0x51, 0xf2, 0xeb, 0x2a, 0xa0, 0x96, 0x0c, 0xf8, 0x91,
|
||
0x63, 0x3c, 0x27, 0xb8, 0xba, 0xa1, 0x55, 0x67, 0xc2, 0xe2, 0x6b, 0xde, 0x14, 0xc7, 0x4b, 0x3d,
|
||
0x4d, 0x1c, 0xf1, 0x82, 0xb3, 0xba, 0x53, 0x51, 0xe6, 0xa3, 0x67, 0x16, 0x7e, 0xd8, 0x56, 0x01,
|
||
0x4d, 0xd4, 0x57, 0x20, 0xd1, 0x25, 0xc3, 0xeb, 0x8e, 0xd4, 0x04, 0x62, 0x3c, 0x16, 0xc6, 0xa1,
|
||
0x70, 0x90, 0x44, 0xfd, 0x33, 0x09, 0x7c, 0x55, 0xf8, 0x9e, 0xde, 0xaa, 0x21, 0x90, 0x6a, 0xf0,
|
||
0x2a, 0xc2, 0x4d, 0x8e, 0x75, 0x8f, 0xee, 0xd8, 0x1c, 0xd2, 0x4d, 0xe6, 0x2a, 0x26, 0x6d, 0x7b,
|
||
0xc5, 0x7a, 0x59, 0x15, 0x88, 0x9f, 0xad, 0x55, 0xab, 0xf2, 0x41, 0x4f, 0xfb, 0x5a, 0xaa, 0x8a,
|
||
0xdd, 0xce, 0x54, 0x01, 0xfd, 0x49, 0xa5, 0x83, 0x85, 0x8a, 0x08, 0x6c, 0xeb, 0x93, 0x52, 0x91,
|
||
0xb5, 0xd8, 0x27, 0xe6, 0x41, 0x43, 0x65, 0x60, 0x34, 0x5d, 0x27, 0x18, 0xab, 0xf8, 0x67, 0xcf,
|
||
};
|
||
uint8_t aes_192_cbc_223[224] = {
|
||
0x6c, 0xfe, 0x65, 0x15, 0x6c, 0xee, 0x23, 0x10, 0x30, 0x74, 0x2c, 0x92, 0xcb, 0x1e, 0x00, 0x5b,
|
||
0xf7, 0x9f, 0x89, 0xdc, 0x6f, 0x9b, 0xa9, 0x04, 0xf8, 0x99, 0x0f, 0xaa, 0x89, 0xd8, 0x23, 0x46,
|
||
0xf2, 0x58, 0x5b, 0x63, 0xc0, 0x8c, 0xcd, 0x61, 0x7b, 0x2a, 0xe9, 0x5b, 0xb2, 0x21, 0xde, 0x98,
|
||
0xe9, 0x9a,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_cbc_256[256] = {
|
||
0x03, 0x21, 0x8a, 0xd9, 0xd2, 0x03, 0xa5, 0x31, 0x35, 0xae, 0xa3, 0x13, 0xe9, 0x0f, 0x07, 0x36,
|
||
0x9a, 0x28, 0x78, 0xf2, 0xb5, 0x44, 0xa1, 0x73, 0x44, 0x74, 0x95, 0x85, 0xcc, 0x85, 0x8f, 0xa1,
|
||
0x7f, 0xd7, 0x7f, 0xc2, 0x74, 0xcc, 0x6b, 0x7c, 0xb8, 0x76, 0x3d, 0x5d, 0x20, 0x17, 0xc2, 0x86,
|
||
0x59, 0xe8, 0x17, 0x3a, 0x4f, 0x59, 0xb8, 0x0a, 0x77, 0xee, 0xa8, 0x44, 0xac, 0x32, 0xdd, 0x71,
|
||
0x55, 0x10, 0x1c, 0x69, 0x49, 0x9b, 0x26, 0xd6, 0x8a, 0x2f, 0x96, 0xab, 0x06, 0x09, 0x41, 0x24,
|
||
0xd2, 0xd6, 0x67, 0x82, 0xae, 0x80, 0xaf, 0xa7, 0x26, 0xc9, 0x52, 0x28, 0x54, 0xbf, 0x93, 0x1b,
|
||
0x64, 0x77, 0xf6, 0xdb, 0xb5, 0x42, 0xda, 0x72, 0x05, 0xd7, 0xd2, 0xf4, 0x6c, 0x39, 0xb4, 0x7b,
|
||
0xae, 0xe3, 0x0d, 0x9e, 0xc0, 0xbc, 0xb9, 0x11, 0xf5, 0xd5, 0xd3, 0x67, 0x98, 0x81, 0x3e, 0x0f,
|
||
0xe6, 0x6e, 0x27, 0xe6, 0xf9, 0xd9, 0x39, 0xe5, 0x77, 0xb1, 0x12, 0xed, 0x9b, 0x22, 0xff, 0x74,
|
||
0x6e, 0x43, 0x23, 0xf8, 0xeb, 0x07, 0x03, 0x01, 0x41, 0xce, 0x7f, 0xf9, 0xbe, 0x16, 0xb6, 0xed,
|
||
0xd3, 0x8f, 0x70, 0x80, 0xf7, 0x04, 0x2e, 0xd9, 0x1a, 0x02, 0xe9, 0x7b, 0x92, 0xad, 0x6e, 0x1a,
|
||
0x81, 0x78, 0x94, 0x86, 0x47, 0xc9, 0xb9, 0x5b, 0xe1, 0x14, 0x92, 0x4d, 0xee, 0x18, 0x6d, 0x4e,
|
||
0xe9, 0xb1, 0xd9, 0x83, 0x1e, 0x84, 0x7f, 0xda, 0xda, 0x07, 0xd9, 0xeb, 0x93, 0xf0, 0x10, 0x94,
|
||
0xe5, 0x9f, 0x1a, 0x84, 0x8b, 0x4f, 0xce, 0x7d, 0x8e, 0xa5, 0x8a, 0x1b, 0x5f, 0xff, 0x20, 0x62,
|
||
0x18, 0xcc, 0xc5, 0xa4, 0xc6, 0xb7, 0x9b, 0xeb, 0x29, 0x41, 0x84, 0xaa, 0x5f, 0xf4, 0xa3, 0x92,
|
||
0x5a, 0x2e, 0xf1, 0x4d, 0xdd, 0x9e, 0x00, 0x66, 0x43, 0x91, 0x40, 0x5b, 0xd5, 0xb7, 0xd1, 0xda,
|
||
};
|
||
uint8_t aes_256_cbc_13[16] = {
|
||
0x53, 0x47, 0xa5, 0xb2, 0x97, 0xec, 0x98, 0xdd, 0x79, 0x35, 0xf1, 0x70, 0x82, 0x42, 0x99, 0x9c,
|
||
};
|
||
uint8_t aes_256_cbc_16[16] = {
|
||
0x85, 0xfe, 0x98, 0x56, 0x70, 0x6c, 0x00, 0x39, 0xde, 0xb3, 0xa3, 0xe0, 0x4d, 0x4e, 0xf1, 0xa7,
|
||
};
|
||
uint8_t aes_256_cbc_192[192] = {
|
||
0xf0, 0x9b, 0xfa, 0x12, 0x3b, 0xcf, 0x3e, 0x7e, 0xab, 0x74, 0x04, 0x9f, 0x39, 0x3e, 0x52, 0xdd,
|
||
0x89, 0x02, 0x53, 0x1d, 0x03, 0x81, 0x08, 0xdb, 0xda, 0x48, 0x4d, 0x41, 0x3a, 0xd8, 0x8a, 0x0a,
|
||
0xb6, 0x25, 0xb8, 0x7b, 0xfb, 0x56, 0x81, 0x35, 0x7e, 0x12, 0xcb, 0xe3, 0x93, 0x53, 0xff, 0xab,
|
||
0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e, 0xde, 0xd0, 0x74, 0x53, 0x82, 0x98, 0x7d, 0x53, 0xc8,
|
||
0xe2, 0x75, 0x3d, 0x43, 0xe9, 0x86, 0x75, 0xb7, 0xb7, 0xe2, 0x67, 0xb3, 0xa6, 0xc1, 0xe5, 0x40,
|
||
0x85, 0x91, 0x37, 0x79, 0xd2, 0xc4, 0x04, 0xb1, 0x4b, 0x44, 0x2a, 0x65, 0xe2, 0xc6, 0xdf, 0xc2,
|
||
0x98, 0x40, 0xe8, 0x0d, 0xd7, 0x7b, 0xc3, 0xe9, 0x75, 0xfa, 0x3e, 0x90, 0x01, 0x14, 0x24, 0x13,
|
||
0xb1, 0xa9, 0x68, 0xa6, 0x25, 0x27, 0xa6, 0x1e, 0xac, 0x75, 0x71, 0x29, 0x3c, 0xab, 0x16, 0x60,
|
||
0xbe, 0x33, 0x54, 0x03, 0xa3, 0xdc, 0x2a, 0x8f, 0x22, 0x67, 0xa5, 0x9e, 0x9b, 0x8f, 0x40, 0x5f,
|
||
0x62, 0xbc, 0xc1, 0x7b, 0x5d, 0xfa, 0xd9, 0x6f, 0x92, 0x49, 0xe0, 0x76, 0x98, 0xed, 0x60, 0xf5,
|
||
};
|
||
uint8_t aes_128_ctr_13[16] = {
|
||
0xb6, 0x27, 0xe8, 0x91, 0x25, 0x64, 0x99, 0x29, 0x8e, 0x6a, 0x34, 0x2b, 0x71,
|
||
};
|
||
uint8_t aes_128_ctr_16[16] = {
|
||
0x6f, 0xe7, 0x89, 0xd3, 0xf4, 0x83, 0xb1, 0xe0, 0xc2, 0x57, 0x37, 0x7c, 0x5e, 0xb9, 0x87, 0x9d,
|
||
};
|
||
uint8_t aes_128_ctr_192[192] = {
|
||
0xdd, 0x2c, 0xcc, 0x31, 0x70, 0x72, 0x2a, 0x9d, 0x88, 0xc3, 0x8f, 0xd3, 0x38, 0x18, 0xf4, 0x02,
|
||
0x05, 0xd9, 0x0c, 0xec, 0xcc, 0xfc, 0xcd, 0x48, 0xe9, 0xe4, 0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61, 0x3a, 0x4d, 0xea, 0x8b, 0xc2, 0x74, 0xaf, 0xeb, 0x22, 0xaa, 0x4b,
|
||
0xaf, 0x00, 0xff, 0x99, 0x82, 0xa3, 0x01, 0xc8, 0xd6, 0x71, 0x7b, 0xdc, 0xd9, 0x53, 0x98, 0xba,
|
||
0x11, 0xd7, 0xbb, 0x68, 0x4c, 0xc8, 0xb0, 0x73, 0x8d, 0x65, 0xf0, 0x77, 0xc3, 0x64, 0xec,
|
||
};
|
||
uint8_t aes_128_ctr_256[256] = {
|
||
0xaf, 0x58, 0x8b, 0xb8, 0x22, 0xd3, 0x35, 0x63, 0x4b, 0x3a, 0x76, 0x62, 0xa9, 0xb6, 0xf8, 0xfa,
|
||
0x02, 0x8d, 0x57, 0x7c, 0x57, 0x4d, 0x37, 0xe0, 0xc6, 0xa6, 0x7f, 0x46, 0x3e, 0x0f, 0xe6, 0x48,
|
||
0xa4, 0x76, 0x36, 0xa8, 0x19, 0xb7, 0x34, 0xe1, 0x14, 0x22, 0x96, 0xeb, 0xac, 0x57, 0x13, 0xb2,
|
||
0x8e, 0xc0, 0xb4, 0x4b, 0xfe, 0x6c, 0x6a, 0x08, 0x86, 0x8b, 0x1f, 0x2f, 0xbb, 0xbf, 0xa3, 0x0a,
|
||
0x05, 0xb1, 0xe4, 0x59, 0xba, 0x87, 0x0c, 0xc0, 0x76, 0x81, 0xec, 0xc2, 0x9e, 0x0b, 0x2d, 0xa2,
|
||
0x35, 0xae, 0x40, 0x17, 0x83, 0x13, 0x57, 0x35, 0x34, 0x35, 0x1b, 0x73, 0x68, 0x7e, 0xc1, 0xb2,
|
||
0xf1, 0x83, 0xb9, 0x39, 0x65, 0x31, 0x1b, 0x7d, 0x0b, 0xcc, 0xb6, 0x08, 0x96, 0x14, 0x8b, 0xc6,
|
||
0xc2, 0x9c, 0x07, 0x49, 0xf8, 0xea, 0x2b, 0x44, 0x6e, 0x53, 0x31, 0xea, 0xfd, 0xf1, 0x91, 0x21,
|
||
0x54, 0x63, 0x41, 0xb3, 0x2e, 0xaa, 0x62, 0x7e, 0x62, 0x66, 0xe4, 0x70, 0xc6, 0x22, 0x38, 0x70,
|
||
0x47, 0x1c, 0xea, 0xb6, 0xe4, 0x26, 0xa0, 0x4f, 0xb4, 0x4b, 0x9b, 0x64, 0x72, 0x24, 0x6c, 0xf6,
|
||
0x15, 0xaa, 0x42, 0x12, 0x32, 0x08, 0xfa, 0x95, 0x2e, 0xce, 0x55, 0xa8, 0xca, 0xd3, 0xb4, 0xe6,
|
||
0x40, 0x7c, 0x8a, 0xa8, 0x0e, 0x38, 0xa0, 0xfa, 0xcc, 0xcc, 0x14, 0xe0, 0xc6, 0x34, 0x74, 0xb3,
|
||
0x71, 0x0d, 0x22, 0xb7, 0x8f, 0x9a, 0x0f, 0x16, 0xf4, 0x12, 0xcb, 0x7c, 0x57, 0xbd, 0xaa, 0x5b,
|
||
0x0c, 0xdb, 0x96, 0x3f, 0xe4, 0x9a, 0xb9, 0x2b, 0x99, 0xb3, 0x08, 0x9c, 0x3a, 0x12, 0x45, 0xcd,
|
||
0x1a, 0x9a, 0xbb, 0x75, 0xa9, 0xb7, 0xe8, 0x59, 0x98, 0x50, 0x51, 0x8c, 0xc3, 0xb3, 0x62, 0x22,
|
||
0xaa, 0xd8, 0xfb, 0xe2, 0x91, 0x1a, 0xf7, 0x0e, 0x15, 0xbd, 0x39, 0xaa, 0x0b, 0xc7, 0x2b, 0x97,
|
||
};
|
||
uint8_t aes_192_ctr_13[16] = {
|
||
0x85, 0x90, 0x61, 0x15, 0xce, 0x07, 0x64, 0xa9, 0x85, 0xd0, 0xc3, 0xb1, 0xe6,
|
||
};
|
||
uint8_t aes_192_ctr_16[16] = {
|
||
0x5c, 0x50, 0x00, 0x57, 0x1f, 0xe0, 0x4c, 0x60, 0xc9, 0xed, 0xc0, 0xe6, 0xc9, 0x46, 0x52, 0xf7,
|
||
};
|
||
uint8_t aes_192_ctr_192[192] = {
|
||
0xee, 0x9b, 0x45, 0xb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 0x05, 0x5e, 0x47, 0x9b, 0x67, 0x2d, 0xa2, 0x98, 0x56, 0x28, 0x34, 0x19,
|
||
};
|
||
uint8_t aes_192_ctr_223[224] = {
|
||
0xfc, 0x0a, 0x0a, 0xe2, 0xb8, 0x59, 0xcc, 0x16, 0x6d, 0xbb, 0x3a, 0xee, 0x1a, 0x7a, 0x37, 0x4d,
|
||
0x41, 0xec, 0xcf, 0x94, 0xd8, 0x46, 0x39, 0xb2, 0x95, 0x9e, 0xf2, 0x6c, 0x2e, 0x94, 0x48, 0x18,
|
||
0xd4, 0x25, 0x34, 0x25, 0xa9, 0xd6, 0x1c, 0xaf, 0xd8, 0xdf, 0x29, 0x83, 0x9e, 0x5b, 0xf9, 0x1e,
|
||
0x74, 0xb8, 0x3c, 0x32, 0xd4, 0x14, 0xc3, 0x53, 0xfb, 0x9c, 0xfe, 0x9c, 0xb4, 0xcb, 0xc9, 0x03,
|
||
0xad, 0xab, 0x4b, 0x23, 0xbe, 0x7e, 0x22, 0xab, 0x50, 0x3a, 0x00, 0x2a, 0xc1, 0x20, 0x63, 0x02,
|
||
0x0f, 0x33, 0xe4, 0x08, 0x74, 0x98, 0x76, 0x9b, 0x94, 0xe8, 0xc9, 0xc8, 0x2f, 0x71, 0x0f, 0x97,
|
||
0x36, 0x9a, 0xec, 0x28, 0xa9, 0x80, 0xb9, 0x38, 0x6d, 0x0f, 0xab, 0xb9, 0xef, 0xdd, 0xbe, 0xa2,
|
||
0x64, 0x3f, 0x27, 0x10, 0xea, 0xe3, 0xf0, 0x5e, 0xd4, 0x14, 0xd8, 0xf4, 0xd0, 0x4a, 0x77, 0xa9,
|
||
0x24, 0xcc, 0xfc, 0x78, 0xd4, 0x15, 0xfd, 0xb9, 0xe2, 0x3b, 0x42, 0x23, 0x08, 0x22, 0x14, 0x60,
|
||
0x48, 0x9a, 0x05, 0x72, 0xb7, 0xbe, 0x27, 0xd2, 0x90, 0xde, 0xdc, 0x3e, 0x28, 0x38, 0x99, 0x2e,
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cd, 0x40, 0x19, 0xdb, 0x86, 0x3b, 0xab, 0xd4, 0x53, 0xef, 0xe5, 0x7e, 0x43, 0x35,
|
||
};
|
||
uint8_t aes_256_ctr_192[192] = {
|
||
0x58, 0x1b, 0x88, 0xa2, 0x9d, 0x2a, 0x1d, 0x46, 0xe1, 0x40, 0xeb, 0x40, 0x83, 0xdf, 0x30, 0xaa,
|
||
0x9e, 0x7e, 0x29, 0x43, 0x54, 0x6a, 0x35, 0xad, 0x9c, 0xb9, 0x07, 0xa7, 0x03, 0xdd, 0x6c, 0x96,
|
||
0x28, 0xec, 0xd5, 0x36, 0x59, 0xad, 0xa4, 0x4c, 0xe9, 0x33, 0x07, 0x25, 0xbb, 0x8a, 0x60, 0x8b,
|
||
0xda, 0x38, 0xe7, 0x7f, 0x6f, 0x96, 0x64, 0xa0, 0x88, 0xc7, 0x08, 0xe5, 0x05, 0x8f, 0x8e, 0x5d,
|
||
0xa1, 0x6c, 0x61, 0xf2, 0x12, 0x57, 0xb6, 0x04, 0xa5, 0xf5, 0xbc, 0x32, 0x67, 0x6d, 0xad, 0x49,
|
||
0xbd, 0xc6, 0x79, 0xc4, 0xbb, 0x72, 0x42, 0xfc, 0x50, 0xb1, 0x2e, 0xa6, 0xb0, 0xe2, 0x3b, 0xfc,
|
||
0x99, 0x31, 0x39, 0x22, 0xf1, 0x14, 0x56, 0x7a, 0xf0, 0x5a, 0xdf, 0x7b, 0xd8, 0x82, 0x3c, 0x5c,
|
||
0x61, 0x72, 0xc2, 0x98, 0x02, 0x51, 0x99, 0x27, 0xd6, 0x9e, 0xcf, 0xca, 0x36, 0xc4, 0x9d, 0x67,
|
||
0xab, 0x58, 0xf6, 0xa4, 0xc1, 0x24, 0x9a, 0xba, 0x16, 0x17, 0xf9, 0x65, 0x1b, 0xc2, 0x82, 0x3a,
|
||
0xd9, 0xb3, 0x80, 0x2a, 0x4a, 0xc0, 0xe7, 0x59, 0xa7, 0x05, 0x67, 0x87, 0x01, 0x45, 0x1e, 0x8d,
|
||
0x75, 0x60, 0xfb, 0xd4, 0x5f, 0xac, 0xe2, 0x06, 0xb1, 0x5f, 0x1d, 0x89, 0xcb, 0x5c, 0xd3, 0xaf,
|
||
0x34, 0x4f, 0x18, 0x62, 0xa1, 0xb2, 0xae, 0xef, 0xb7, 0xca, 0x9c, 0x20, 0x00, 0x01, 0xa3, 0xaf,
|
||
};
|
||
uint8_t aes_256_ctr_223[224] = {
|
||
0x4a, 0x8a, 0xc7, 0xf5, 0xbe, 0x62, 0x06, 0x4d, 0x0f, 0x82, 0xa9, 0xe7, 0x36, 0x42, 0x26, 0x8f,
|
||
0xdd, 0x17, 0x8f, 0x81, 0x40, 0x77, 0xda, 0xe6, 0xa2, 0xd2, 0x74, 0xc0, 0x2e, 0x13, 0x1b, 0xea,
|
||
0x54, 0x0a, 0x36, 0x43, 0x2f, 0x28, 0x94, 0xac, 0x06, 0x67, 0x30, 0x1f, 0xeb, 0x38, 0xec, 0xf7,
|
||
0x00, 0x84, 0x9d, 0xbb, 0xf3, 0x79, 0x51, 0x51, 0xa8, 0xa4, 0x79, 0x4b, 0xe8, 0xcd, 0xd3, 0xba,
|
||
0xeb, 0x8f, 0x41, 0x8c, 0x00, 0x19, 0x0e, 0x5a, 0x3f, 0xe8, 0x7b, 0x74, 0xd0, 0x2d, 0xe6, 0x41,
|
||
0x9c, 0x5c, 0x48, 0xfc, 0x0b, 0x33, 0x74, 0x8a, 0xb8, 0x85, 0x96, 0x03, 0x39, 0xbf, 0xa7, 0xe0,
|
||
0x34, 0xc4, 0x59, 0xd1, 0x2c, 0x81, 0x66, 0xa3, 0xf8, 0x5e, 0x68, 0x04, 0x90, 0xa4, 0x0b, 0x5b,
|
||
0x17, 0x5b, 0x94, 0xa8, 0x97, 0x95, 0x88, 0xd0, 0x14, 0x84, 0xca, 0x9d, 0xa9, 0x67, 0xb2, 0xfb,
|
||
0xf5, 0xc5, 0xde, 0x24, 0x6f, 0x06, 0x67, 0x95, 0xbe, 0x1c, 0x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 0xb4, 0x94, 0x75, 0xe5, 0xf8, 0xac, 0x16, 0x0a, 0x22, 0x97, 0x92,
|
||
0x48, 0xfc, 0x27, 0xd4, 0xae, 0x8a, 0xd3, 0x90, 0x48, 0x75, 0x21, 0x4b, 0x7f, 0x46, 0x83, 0x85,
|
||
0xe9, 0x49, 0x48, 0x5e, 0xd7, 0x4a, 0xa0, 0xb8, 0xcb, 0xc1, 0x26, 0xe3, 0x9f, 0x23, 0xe6, 0x81,
|
||
0x83, 0x01, 0xc5, 0x63, 0x70, 0x1f, 0xb5, 0x82, 0x92, 0x13, 0x65, 0xd7, 0x96, 0x97, 0xec, 0x77,
|
||
0xfa, 0xd9, 0x06, 0x55, 0xfc, 0x13, 0xd7, 0x4d, 0xb4, 0xac, 0x58, 0xb5, 0x79, 0xda, 0x51, 0xfd,
|
||
0x64, 0x26, 0x59, 0x13, 0xed, 0x2d, 0x56, 0x5a, 0x5a, 0x14, 0xdc, 0xd2, 0x08, 0x62, 0x55, 0xc5,
|
||
0x37, 0x4e, 0x7d, 0x15, 0xf5, 0x30, 0x09, 0xf7, 0x53, 0x1a, 0x6d, 0xa8, 0x7f, 0x15, 0x28, 0x6e,
|
||
0x74, 0xd6, 0x9f, 0x90, 0x8f, 0x55, 0xc9, 0x4d, 0x56, 0x8a, 0xa1, 0x07, 0xc5, 0x74, 0x51, 0xdb,
|
||
0x52, 0xd3, 0x45, 0xb0, 0x3c, 0xc1, 0xc5, 0xe7, 0x8a, 0xac, 0xdf, 0xc7, 0xcd, 0xfc, 0xd5, 0xf8,
|
||
0x73, 0x78, 0x69, 0xda, 0x4c, 0x7c, 0x68, 0xea, 0xb3, 0xb6, 0xe2, 0xe3, 0xeb, 0x6f, 0x6b, 0x8f,
|
||
0x4f, 0x0d, 0x86, 0xd5, 0x2c, 0x11, 0x8e, 0x18, 0x3f, 0xde, 0x63, 0xb2, 0xaf, 0x9b, 0x57, 0x01,
|
||
};
|
||
uint8_t aes_128_ofb_13[16] = {
|
||
0xb6, 0x27, 0xe8, 0x91, 0x25, 0x64, 0x99, 0x29, 0x8e, 0x6a, 0x34, 0x2b, 0x71,
|
||
};
|
||
uint8_t aes_128_ofb_16[16] = {
|
||
0x6f, 0xe7, 0x89, 0xd3, 0xf4, 0x83, 0xb1, 0xe0, 0xc2, 0x57, 0x37, 0x7c, 0x5e, 0xb9, 0x87, 0x9d,
|
||
};
|
||
uint8_t aes_128_ofb_192[192] = {
|
||
0xdd, 0x2c, 0xcc, 0x31, 0x70, 0x72, 0x2a, 0x9d, 0x88, 0xc3, 0x8f, 0xd3, 0x38, 0x18, 0xf4, 0x02,
|
||
0xd1, 0xa3, 0x78, 0x38, 0xfb, 0x4e, 0xcb, 0xed, 0x0a, 0xf7, 0x40, 0x5f, 0x54, 0x8e, 0x11, 0x56,
|
||
0xb0, 0x17, 0x03, 0x2c, 0x09, 0x15, 0x2a, 0xc3, 0x5c, 0xac, 0xd7, 0x1d, 0xc9, 0xdc, 0xce, 0x98,
|
||
0x90, 0xd6, 0xe7, 0x53, 0xf5, 0x22, 0xe1, 0x16, 0x00, 0xdb, 0xfd, 0xfc, 0xe5, 0xce, 0xb9, 0x21,
|
||
0x84, 0x3a, 0xec, 0x85, 0x8a, 0xa5, 0x9d, 0x12, 0xfe, 0xd6, 0xb0, 0xf6, 0x6d, 0xa8, 0xc7, 0x86,
|
||
0xfe, 0x4e, 0xaa, 0x7f, 0xf5, 0x29, 0xd7, 0x54, 0x8a, 0x20, 0x46, 0xb6, 0xb4, 0xac, 0xf8, 0xa1,
|
||
0x38, 0xda, 0x63, 0x30, 0x42, 0x9b, 0x5c, 0x68, 0x45, 0xea, 0xe7, 0x54, 0xe3, 0x80, 0x09, 0xb0,
|
||
0x87, 0x7d, 0x40, 0x2d, 0x46, 0x01, 0x90, 0x56, 0x5d, 0xb5, 0x5a, 0x68, 0x54, 0x8c, 0x11, 0x2c,
|
||
0x61, 0x88, 0x4e, 0x08, 0x58, 0xc2, 0xcc, 0x57, 0xec, 0x52, 0x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||
0xee, 0x25, 0x34, 0x81, 0x01, 0x46, 0xb4, 0x93, 0x5b, 0xf8, 0x58, 0xff, 0x37, 0x0d, 0x41, 0x50,
|
||
};
|
||
uint8_t aes_192_ofb_13[16] = {
|
||
0x85, 0x90, 0x61, 0x15, 0xce, 0x07, 0x64, 0xa9, 0x85, 0xd0, 0xc3, 0xb1, 0xe6,
|
||
};
|
||
uint8_t aes_192_ofb_16[16] = {
|
||
0x5c, 0x50, 0x00, 0x57, 0x1f, 0xe0, 0x4c, 0x60, 0xc9, 0xed, 0xc0, 0xe6, 0xc9, 0x46, 0x52, 0xf7,
|
||
};
|
||
uint8_t aes_192_ofb_192[192] = {
|
||
0xee, 0x9b, 0x45, 0xb5, 0x9b, 0x11, 0xd7, 0x1d, 0x83, 0x79, 0x78, 0x49, 0xaf, 0xe7, 0x21, 0x68,
|
||
0xea, 0x76, 0x37, 0xa3, 0xe0, 0x80, 0x77, 0xa3, 0x2e, 0x06, 0xe8, 0x4f, 0xa3, 0x57, 0x2c, 0x85,
|
||
0xbb, 0xc7, 0x25, 0xed, 0xf8, 0xb3, 0x10, 0x7b, 0x13, 0xf6, 0x09, 0xbb, 0x8c, 0x3a, 0xb8, 0x83,
|
||
0x51, 0xc1, 0xa2, 0x30, 0x1f, 0x29, 0xad, 0xa6, 0x78, 0x0c, 0x70, 0xa2, 0x88, 0x59, 0xfd, 0xe9,
|
||
0xbc, 0x90, 0x5c, 0x89, 0xac, 0x17, 0x2f, 0xb5, 0xa8, 0xcd, 0xd0, 0xba, 0xfa, 0xba, 0x63, 0x5b,
|
||
0x15, 0x91, 0x94, 0xf3, 0x1b, 0x8b, 0xfe, 0x4f, 0x55, 0x4e, 0x0f, 0x07, 0xc8, 0xe2, 0xa7, 0x52,
|
||
0x8c, 0x5e, 0x7c, 0x53, 0xcf, 0x6d, 0xa8, 0x90, 0xab, 0xb2, 0x0f, 0x34, 0x02, 0x33, 0xaa, 0x70,
|
||
0xc8, 0x20, 0x27, 0x18, 0x88,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a9, 0x94, 0x30, 0x20, 0x34, 0xf0, 0x63, 0x04,
|
||
0x47, 0xfe, 0x42, 0x7e, 0xb5, 0x1e, 0x1e, 0x7c, 0x4f, 0x39, 0x0a, 0xf1, 0x2c, 0xa4, 0x5c, 0xc2,
|
||
0x3c, 0xfd, 0x82, 0x8f, 0xc6, 0xe1, 0x5d, 0x9a, 0xf5, 0xec, 0x67, 0x36, 0xae, 0x98, 0xfc, 0x5a,
|
||
};
|
||
uint8_t aes_256_ofb_13[16] = {
|
||
0x33, 0x10, 0xac, 0x02, 0xc8, 0x3c, 0xae, 0xf2, 0xe7, 0xe9, 0x50, 0xb8, 0xca,
|
||
};
|
||
uint8_t aes_256_ofb_16[16] = {
|
||
0xea, 0xd0, 0xcd, 0x40, 0x19, 0xdb, 0x86, 0x3b, 0xab, 0xd4, 0x53, 0xef, 0xe5, 0x7e, 0x43, 0x35,
|
||
};
|
||
uint8_t aes_256_ofb_192[192] = {
|
||
0x58, 0x1b, 0x88, 0xa2, 0x9d, 0x2a, 0x1d, 0x46, 0xe1, 0x40, 0xeb, 0x40, 0x83, 0xdf, 0x30, 0xaa,
|
||
0x59, 0xf2, 0x9c, 0xa9, 0x99, 0x9a, 0x74, 0x0c, 0x4f, 0xe0, 0x15, 0x12, 0xe3, 0x6b, 0x9b, 0x93,
|
||
0x79, 0xd7, 0x79, 0x28, 0xf1, 0x9f, 0x7e, 0xfa, 0xfd, 0x23, 0x8c, 0xa4, 0xe7, 0x20, 0x03, 0x16,
|
||
0xd9, 0xd3, 0x94, 0x4e, 0xdf, 0x54, 0x83, 0x40, 0x01, 0x2c, 0xca, 0xd7, 0x0f, 0xac, 0x8d, 0xaa,
|
||
0x4e, 0xb1, 0x99, 0x33, 0x78, 0x7a, 0x6d, 0xcc, 0xb7, 0x4b, 0x5a, 0x8b, 0x04, 0x80, 0xa2, 0x0f,
|
||
0xb5, 0x5f, 0xa5, 0x1f, 0x9e, 0xb6, 0x94, 0x6c, 0x8a, 0x2f, 0x0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34, 0xd5, 0x92, 0x2d, 0x56, 0x9d, 0xcd, 0xb3, 0xc0, 0xe9, 0x07,
|
||
0x94, 0xc5, 0x94, 0x27, 0x2e, 0xf7, 0xa2, 0x1a, 0x62, 0x1b, 0xb5, 0x25, 0x8b, 0x00, 0xcd, 0x1d,
|
||
0x56, 0x69, 0x9e, 0x70, 0xd7, 0xab, 0x00, 0xc4, 0xff, 0x9e, 0x4b, 0x93, 0xf5, 0x99, 0x72, 0xce,
|
||
0xf7, 0x61, 0xc4, 0xdc, 0x1a, 0x65, 0xc5, 0x0e, 0x96, 0x7e, 0x7c, 0x2b, 0xc8, 0xc3, 0x2f, 0x44,
|
||
0xbc, 0xa6, 0x79, 0x53, 0x9e, 0xc3, 0x7c, 0x15, 0xd1, 0x00, 0x06, 0x05, 0xbc, 0xcd, 0xff, 0x4c,
|
||
0x6b, 0x48, 0xbc, 0xab, 0x57, 0xf4, 0xe5, 0xc3, 0x34, 0xae, 0xec, 0xbf, 0xe8, 0x5d, 0xa7, 0x92,
|
||
0xfa, 0x2f, 0xfc, 0xaf, 0xb1, 0x03, 0x35, 0x26, 0xb4, 0xd0, 0xe6, 0xfd, 0x22, 0x10, 0x37, 0x91,
|
||
0x4c, 0x84, 0x23, 0xa1, 0xdd, 0xcd, 0x77, 0x91, 0x60, 0xe0, 0x11, 0xb6, 0x8b, 0x04, 0xfe, 0x02,
|
||
0xea, 0x45, 0x00, 0xe3, 0xe4, 0xde, 0xe9, 0xf6, 0x11, 0x02, 0x42, 0xc0, 0xc3, 0x33, 0xc5, 0x59,
|
||
0x2e, 0x55, 0xde, 0x79, 0x3a, 0xb4, 0x88, 0x21, 0x34, 0x3f, 0x64, 0x55, 0x87, 0xad, 0x1b,
|
||
};
|
||
uint8_t aes_256_ofb_256[256] = {
|
||
0x2a, 0x6f, 0xcf, 0x2b, 0xcf, 0x8b, 0x02, 0xb8, 0x22, 0xb9, 0x12, 0xf1, 0x12, 0x71, 0x3c, 0x52,
|
||
0x5e, 0xa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48, 0xdd, 0xcd, 0xe9, 0xe7, 0xe7, 0x28, 0x33, 0x61, 0xf2, 0x60, 0x4d, 0xdd, 0xf7, 0xb8,
|
||
0x33, 0x59, 0xf3, 0x2e, 0x92, 0xe6, 0x81, 0x79, 0x20, 0xe9, 0x9c, 0xbe, 0x7e, 0xdb, 0xb2, 0xa0,
|
||
0xcc, 0x5f, 0x6d, 0x09, 0x78, 0x87, 0x73, 0xb1, 0xfa, 0xd6, 0x02, 0xf7, 0x15, 0x70, 0xd8, 0xd5,
|
||
0xf1, 0xd3, 0xa9, 0xfa, 0x33, 0xf4, 0xa0, 0x5e, 0xfd, 0xe9, 0xcf, 0x4e, 0x58, 0x8f, 0x63, 0xb7,
|
||
};
|
||
uint8_t aes_128_cfb8_13[16] = {
|
||
0xb6, 0xba, 0xdb, 0x28, 0x7f, 0xa7, 0x96, 0xc9, 0xf4, 0x11, 0x15, 0x6e, 0x36,
|
||
};
|
||
uint8_t aes_128_cfb8_16[16] = {
|
||
0x6f, 0xab, 0x27, 0x7e, 0xa0, 0xd0, 0x3e, 0x55, 0xd7, 0x82, 0x49, 0x21, 0x95, 0x8b, 0xcf, 0xea,
|
||
};
|
||
uint8_t aes_128_cfb8_192[192] = {
|
||
0xdd, 0x60, 0x3a, 0x6f, 0xb7, 0xac, 0x0c, 0x7a, 0x38, 0x1d, 0x0e, 0x3a, 0x12, 0x0c, 0xcd, 0x17,
|
||
0xdb, 0x73, 0x59, 0x6f, 0x1a, 0x2d, 0xae, 0x6c, 0x2d, 0xc2, 0x5a, 0x87, 0xa5, 0x2f, 0x52, 0xad,
|
||
0x31, 0x1e, 0x71, 0x3c, 0x28, 0x50, 0x52, 0x9e, 0x07, 0x3b, 0xc6, 0x1a, 0x69, 0xa5, 0xb3, 0xe2,
|
||
0xa9, 0x42, 0x76, 0xa7, 0x52, 0xfb, 0x38, 0x90, 0xb7, 0x5a, 0xf8, 0x9d, 0xea, 0xca, 0xbc, 0x72,
|
||
0xab, 0x56, 0xd7, 0x64, 0xe6, 0x12, 0x58, 0x41, 0xa0, 0x0e, 0xaf, 0x19, 0xf5, 0x31, 0xf4, 0x3c,
|
||
0xfd, 0xa4, 0xfd, 0x61, 0x79, 0x54, 0x6c, 0x11, 0x73, 0xf5, 0xbd, 0x60, 0x84, 0xe0, 0xf3, 0x27,
|
||
0x7b, 0x69, 0x16, 0x14, 0x4a, 0xca, 0x6c, 0x89, 0xa8, 0x6a, 0xc7, 0x0d, 0x9a, 0xcf, 0x88, 0x1f,
|
||
0x8b, 0x3a, 0xde, 0xbf, 0x82, 0xab, 0x79, 0xb7, 0x79, 0xad, 0x9b, 0xf2, 0x93, 0x51, 0x7d, 0x78,
|
||
0x5c, 0xb8, 0x2b, 0x80, 0x1e, 0xd6, 0x1d, 0x2f, 0x64, 0xee, 0x1b, 0x19, 0x6a, 0xc5, 0x79, 0xc4,
|
||
0x15, 0x6a, 0xc8, 0x69, 0x29, 0x70, 0xcc, 0xd9, 0x75, 0x99, 0xd3, 0xf5, 0x7a, 0x7d, 0x8c, 0xe5,
|
||
0xfe, 0x6c, 0xb5, 0x61, 0xb9, 0xbe, 0x50, 0xfd, 0xa8, 0x0d, 0xbb, 0xec, 0x81, 0x65, 0x87, 0x00,
|
||
0x28, 0xb5, 0x84, 0x15, 0x6d, 0x48, 0x6d, 0x56, 0x95, 0xde, 0x7b, 0xcd, 0xcd, 0xe0, 0xb0, 0x35,
|
||
};
|
||
uint8_t aes_128_cfb8_223[224] = {
|
||
0xcf, 0x92, 0x52, 0x4e, 0x86, 0x23, 0x53, 0xda, 0xad, 0x30, 0x36, 0x40, 0xfe, 0x6e, 0xd8, 0xe6,
|
||
0x61, 0x99, 0x50, 0xfb, 0x81, 0x35, 0x93, 0x6b, 0x12, 0xda, 0x8c, 0x1e, 0x90, 0x4f, 0x78, 0xd0,
|
||
0x84, 0xf0, 0x5f, 0x6b, 0x5e, 0x3a, 0x0d, 0x16, 0x5f, 0x46, 0x2c, 0x07, 0x64, 0x9b, 0x3d,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2, 0xf9, 0x68, 0x27, 0x27, 0x07, 0xbf, 0x07,
|
||
0xbe, 0xed, 0xff, 0xbf, 0xa7, 0x09, 0x5e, 0x53, 0x68, 0xb9, 0xf7, 0x10, 0x24, 0xb5, 0x9b, 0xe8,
|
||
0x83, 0x1a, 0x9b, 0xcd, 0xa2, 0x00, 0x3e, 0x5c, 0x20, 0x4b, 0x99, 0xa1, 0xfa, 0xbc, 0xbd, 0x6b,
|
||
0x08, 0xc2, 0xec, 0x25, 0x1d, 0x3d, 0x1f, 0xc9, 0xbb, 0xa5, 0xac, 0xb2, 0x53, 0xa4, 0x15, 0xd4,
|
||
0x5f, 0x96, 0x6f, 0xa6, 0x0c, 0x33, 0x6d, 0x8c, 0x1b, 0x2e, 0x8e, 0x9c, 0xa3, 0x00, 0x99, 0xb3,
|
||
0x6a, 0xac, 0x69, 0x6c, 0xa2, 0xbf, 0xea, 0x77, 0x2f, 0xc8, 0x49, 0x82, 0x6f, 0x87, 0xdd, 0x3f,
|
||
};
|
||
uint8_t aes_192_cfb8_13[16] = {
|
||
0x85, 0x63, 0xd0, 0xfa, 0x16, 0xe4, 0x29, 0xe7, 0x1e, 0xff, 0x98, 0x5f, 0x05,
|
||
};
|
||
uint8_t aes_192_cfb8_16[16] = {
|
||
0x5c, 0x37, 0xd5, 0x05, 0xe2, 0x4f, 0x7b, 0x58, 0x24, 0x1d, 0xd7, 0xdf, 0xb8, 0xa0, 0x2e, 0x91,
|
||
};
|
||
uint8_t aes_192_cfb8_192[192] = {
|
||
0xee, 0x26, 0x64, 0x58, 0xab, 0xf8, 0x95, 0x79, 0xcf, 0x1b, 0xd8, 0x92, 0x53, 0x9a, 0x56, 0xe0,
|
||
0x99, 0xa0, 0x16, 0x4c, 0xea, 0xc9, 0x56, 0x55, 0x7a, 0x60, 0x6c, 0x58, 0x7b, 0x4c, 0x88, 0x34,
|
||
0xe8, 0x5c, 0x9c, 0x31, 0x90, 0x84, 0x16, 0x47, 0x16, 0x9b, 0xa7, 0xb6, 0xed, 0x18, 0x0b, 0x6d,
|
||
0x69, 0x7e, 0xd3, 0xa5, 0x7b, 0xc3, 0x08, 0xfd, 0x51, 0x46, 0x72, 0x19, 0xa1, 0x3a, 0x53, 0xef,
|
||
0x58, 0x2f, 0x57, 0x79, 0x23, 0x53, 0x41, 0x3e, 0x48, 0x3e, 0x28, 0x0c, 0x33, 0xe3, 0x36, 0x53,
|
||
0xa4, 0xd3, 0x49, 0x91, 0x95, 0x1c, 0x71, 0xcf, 0x0a, 0x40, 0x73, 0x8a, 0xe8, 0x97, 0x1a, 0x8b,
|
||
0x21, 0x5a, 0x3e, 0x97, 0xef, 0xca, 0x3a, 0x9b, 0xd7, 0x1a, 0x54, 0x15, 0x64, 0xae, 0xfa, 0x44,
|
||
0x9a, 0xde, 0xe4, 0x90, 0x32, 0x35, 0xea, 0xff, 0x04, 0xec, 0x18, 0x90, 0xbb, 0x53, 0x97, 0x67,
|
||
0x4b, 0xa2, 0x21, 0x03, 0x0f, 0xee, 0xb3, 0x7e, 0x42, 0x83, 0x67, 0xf3, 0x29, 0xd9, 0xe8, 0x5d,
|
||
0x93, 0xf0, 0x09, 0x1d, 0x90, 0x20, 0xfd, 0xac, 0x59, 0xe3, 0xd3, 0x77, 0x14, 0x49, 0x9b, 0xc5,
|
||
0x60, 0x2a, 0x6b, 0x0c, 0xc6, 0xcb, 0x99, 0x2f, 0x17, 0x73, 0x7e, 0xe4, 0x28, 0x39, 0xfd, 0xca,
|
||
0x5f, 0xe0, 0xcc, 0x71, 0x35, 0x8a, 0xc7, 0xed, 0xd6, 0x07, 0x8a, 0xde, 0xac, 0xf0, 0x62, 0x0d,
|
||
};
|
||
uint8_t aes_192_cfb8_223[224] = {
|
||
0xfc, 0xb2, 0xcf, 0xed, 0x5f, 0x64, 0x12, 0x86, 0x52, 0x00, 0xa0, 0x3c, 0x94, 0x86, 0x7c, 0xcb,
|
||
0x4d, 0x96, 0x32, 0x4f, 0xb3, 0x3b, 0x09, 0x0a, 0x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b, 0xc7, 0xc9, 0x5f, 0xbc, 0xe9, 0x01, 0xab, 0x53,
|
||
0x79, 0x20, 0x97, 0x17, 0xea, 0xde, 0xf2, 0x64, 0x27, 0x1d, 0x9c, 0xb1, 0x5e, 0x82, 0x9b,
|
||
};
|
||
uint8_t aes_192_cfb8_256[256] = {
|
||
0x9c, 0x88, 0x2c, 0xb8, 0xae, 0xb5, 0x18, 0xd3, 0x3f, 0xd9, 0x62, 0xb7, 0x78, 0xf3, 0x03, 0x3f,
|
||
0xfa, 0x10, 0x03, 0xcb, 0x5a, 0xf1, 0xdc, 0xef, 0xe4, 0x30, 0x99, 0x64, 0x9f, 0x20, 0x32, 0x98,
|
||
0xbe, 0x76, 0xe0, 0x9a, 0x58, 0x2c, 0xe5, 0xb1, 0x62, 0xc8, 0xef, 0x39, 0x64, 0x16, 0x6f, 0xc7,
|
||
0xca, 0x69, 0x20, 0x7a, 0x95, 0x9d, 0xe7, 0xb1, 0x04, 0xa0, 0x60, 0x65, 0x26, 0x89, 0xbb, 0x6b,
|
||
0x91, 0xfa, 0x9c, 0x40, 0x19, 0x62, 0xb8, 0x50, 0x39, 0x64, 0x19, 0xdc, 0x60, 0xe8, 0x35, 0x3b,
|
||
0x97, 0xd7, 0x5a, 0xb7, 0x35, 0xe8, 0x26, 0x1c, 0x56, 0xed, 0x71, 0xff, 0x99, 0x58, 0xa8, 0x12,
|
||
0x6f, 0x3e, 0xf9, 0x3a, 0x67, 0x62, 0x0c, 0xe5, 0xbc, 0x4a, 0x9a, 0x04, 0x06, 0x91, 0x86, 0x9d,
|
||
0x05, 0x61, 0x6f, 0x08, 0xeb, 0x8a, 0x96, 0x79, 0x5f, 0x0b, 0x7a, 0x5d, 0x2c, 0x78, 0xca, 0x58,
|
||
0x88, 0x28, 0x7c, 0x32, 0xd1, 0x9a, 0x49, 0x19, 0x06, 0x9a, 0x1f, 0xb0, 0xc4, 0xb3, 0x04, 0x82,
|
||
0x14, 0xfe, 0x44, 0x92, 0x24, 0xbc, 0x6f, 0x09, 0x4b, 0x3f, 0x93, 0x8b, 0x15, 0xdd, 0xc7, 0x3c,
|
||
0xca, 0xa0, 0xc3, 0xff, 0xa7, 0x17, 0xce, 0xa8, 0x0b, 0x7a, 0x62, 0x78, 0x23, 0xff, 0x70, 0xaf,
|
||
0x37, 0x54, 0xb7, 0x41, 0x63, 0x4d, 0xdf, 0x42, 0x96, 0x4e, 0x6e, 0xf1, 0xa0, 0x0b, 0xab, 0x63,
|
||
0xd0, 0x92, 0x2a, 0xb0, 0x04, 0xe9, 0x1f, 0x90, 0x81, 0xea, 0xbd, 0x9d, 0xb1, 0xa1, 0x92, 0xae,
|
||
0xa4, 0x80, 0xa7, 0x9f, 0x23, 0x0f, 0xea, 0x60, 0x1e, 0x74, 0x01, 0x2e, 0x75, 0xde, 0x52, 0x07,
|
||
0xaf, 0x0c, 0xed, 0x77, 0xe7, 0xcd, 0x82, 0x48, 0x3d, 0xda, 0x31, 0xee, 0xd1, 0x61, 0xec, 0x8a,
|
||
0xc5, 0xac, 0x3e, 0xef, 0x86, 0x46, 0x22, 0x63, 0x94, 0xef, 0xbe, 0x5f, 0xb6, 0xc9, 0xff, 0xe5,
|
||
};
|
||
uint8_t aes_256_cfb8_13[16] = {
|
||
0x33, 0x10, 0x3d, 0x3d, 0xf0, 0x68, 0x71, 0x56, 0xdc, 0x79, 0x42, 0x9f, 0x4f,
|
||
};
|
||
uint8_t aes_256_cfb8_16[16] = {
|
||
0xea, 0xad, 0x2c, 0xfa, 0x07, 0x33, 0xe7, 0xb3, 0x99, 0x4d, 0x8a, 0xeb, 0xda, 0xe5, 0x1b, 0xf5,
|
||
};
|
||
uint8_t aes_256_cfb8_192[192] = {
|
||
0x58, 0x74, 0x5e, 0x1a, 0x7d, 0xd0, 0xfc, 0xda, 0x76, 0x05, 0x66, 0x9a, 0x3e, 0xe2, 0x22, 0xb3,
|
||
0x7b, 0x5b, 0xa9, 0x01, 0x1d, 0xf6, 0x58, 0x0c, 0x79, 0x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0x22, 0xe9, 0xc5, 0xb4, 0xcf, 0x5f, 0x11, 0x1d, 0x55, 0xef, 0xfa, 0xda, 0xc7, 0x51,
|
||
0xf2, 0x2f, 0x86, 0x06, 0x57, 0x35, 0x62, 0x8a, 0xb8, 0xa3, 0x51, 0xe2, 0xe5, 0x78, 0x1e, 0xbb,
|
||
0x77, 0x74, 0xed, 0x34, 0xd9, 0xd8, 0x93, 0x14, 0xa1, 0x28, 0x11, 0xcd, 0x01, 0x52, 0x42,
|
||
};
|
||
uint8_t aes_256_cfb8_256[256] = {
|
||
0x2a, 0xc3, 0xea, 0xff, 0xa6, 0xaf, 0xd7, 0x7a, 0xac, 0xea, 0x43, 0x48, 0x9d, 0xb9, 0xa1, 0xb5,
|
||
0xbc, 0x78, 0x2f, 0x10, 0xd0, 0x63, 0xab, 0xe2, 0xf3, 0xb5, 0x7a, 0xcc, 0x7b, 0xe2, 0x89, 0x4f,
|
||
0x05, 0x59, 0xee, 0xd3, 0x87, 0x4c, 0x5f, 0xab, 0x55, 0x98, 0x0c, 0xaa, 0x64, 0x65, 0x85, 0x91,
|
||
0x46, 0x7c, 0x22, 0x7a, 0x9e, 0xcb, 0x4b, 0xcd, 0xa8, 0xbe, 0x71, 0x28, 0x81, 0x2d, 0x61, 0x90,
|
||
0xcd, 0xf3, 0x53, 0xa1, 0x0d, 0xc0, 0x2c, 0x92, 0x70, 0x14, 0xef, 0x28, 0xfd, 0x15, 0x09, 0x9a,
|
||
0xbf, 0xa8, 0x72, 0x1f, 0x21, 0xd7, 0xaa, 0x97, 0x63, 0xa1, 0x62, 0x6f, 0xc1, 0x85, 0xf4, 0x08,
|
||
0xb2, 0x03, 0xaf, 0x0a, 0x38, 0x9f, 0xef, 0xce, 0x15, 0xc7, 0x1d, 0xe2, 0xac, 0xaf, 0x68, 0x60,
|
||
0x96, 0x78, 0x1e, 0x5d, 0xc1, 0x87, 0x13, 0xad, 0xf8, 0x0d, 0xe4, 0x68, 0xbf, 0x83, 0x5b, 0xb7,
|
||
0xe0, 0x13, 0x78, 0xa8, 0x52, 0x9b, 0xe5, 0x20, 0x24, 0xcd, 0xe1, 0xa1, 0x59, 0xad, 0x53, 0xff,
|
||
0xcc, 0x2f, 0x32, 0xac, 0xc1, 0x27, 0x10, 0x0c, 0x53, 0xd5, 0x95, 0xdc, 0x41, 0xc3, 0x45, 0xab,
|
||
0x53, 0x82, 0x89, 0x92, 0x52, 0xef, 0x6c, 0x2e, 0x43, 0x40, 0x30, 0x56, 0x15, 0x10, 0xc1, 0x7c,
|
||
0x09, 0x99, 0x94, 0xc1, 0xc7, 0x22, 0xc1, 0xb0, 0x5e, 0xdd, 0xea, 0x88, 0x06, 0xa8, 0x4c, 0xc2,
|
||
0xfd, 0x35, 0x40, 0x84, 0x5d, 0x38, 0x02, 0x67, 0x6d, 0x07, 0xdf, 0xe1, 0x39, 0x3f, 0xef, 0x82,
|
||
0x29, 0x06, 0x13, 0x5c, 0x57, 0x7f, 0x8b, 0x46, 0xd4, 0x04, 0xe4, 0x5b, 0x87, 0x3f, 0x8b, 0xe5,
|
||
0xcf, 0xed, 0xce, 0xd4, 0xbd, 0x5d, 0x81, 0x30, 0x45, 0xfc, 0x3d, 0xd0, 0x97, 0x36, 0xe7, 0x96,
|
||
0xc5, 0x34, 0x36, 0xd2, 0xad, 0xb0, 0x3f, 0x28, 0x9c, 0x2f, 0xf9, 0xb1, 0xc9, 0x0d, 0x31, 0x52,
|
||
};
|
||
uint8_t *aes_src[5] = {aes_src_13, aes_src_16, aes_src_192, aes_src_223, aes_src_256,};
|
||
uint32_t aes_src_len[5] = {13, 16, 192, 223, 256};
|
||
uint8_t *aes_key[3] = {aes_key_128, aes_key_192, aes_key_256,};
|
||
uint32_t aes_key_len[3] = {16, 24, 32};
|
||
uint8_t *aes_ecb[3][5] = {
|
||
aes_128_ecb_13, aes_128_ecb_16, aes_128_ecb_192, aes_128_ecb_223, aes_128_ecb_256,
|
||
aes_192_ecb_13, aes_192_ecb_16, aes_192_ecb_192, aes_192_ecb_223, aes_192_ecb_256,
|
||
aes_256_ecb_13, aes_256_ecb_16, aes_256_ecb_192, aes_256_ecb_223, aes_256_ecb_256,
|
||
};
|
||
uint8_t *aes_cbc[3][5] = {
|
||
aes_128_cbc_13, aes_128_cbc_16, aes_128_cbc_192, aes_128_cbc_223, aes_128_cbc_256,
|
||
aes_192_cbc_13, aes_192_cbc_16, aes_192_cbc_192, aes_192_cbc_223, aes_192_cbc_256,
|
||
aes_256_cbc_13, aes_256_cbc_16, aes_256_cbc_192, aes_256_cbc_223, aes_256_cbc_256,
|
||
};
|
||
uint8_t *aes_ctr[3][5] = {
|
||
aes_128_ctr_13, aes_128_ctr_16, aes_128_ctr_192, aes_128_ctr_223, aes_128_ctr_256,
|
||
aes_192_ctr_13, aes_192_ctr_16, aes_192_ctr_192, aes_192_ctr_223, aes_192_ctr_256,
|
||
aes_256_ctr_13, aes_256_ctr_16, aes_256_ctr_192, aes_256_ctr_223, aes_256_ctr_256,
|
||
};
|
||
uint8_t *aes_ofb[3][5] = {
|
||
aes_128_ofb_13, aes_128_ofb_16, aes_128_ofb_192, aes_128_ofb_223, aes_128_ofb_256,
|
||
aes_192_ofb_13, aes_192_ofb_16, aes_192_ofb_192, aes_192_ofb_223, aes_192_ofb_256,
|
||
aes_256_ofb_13, aes_256_ofb_16, aes_256_ofb_192, aes_256_ofb_223, aes_256_ofb_256,
|
||
};
|
||
uint8_t *aes_cfb8[3][5] = {
|
||
aes_128_cfb8_13, aes_128_cfb8_16, aes_128_cfb8_192, aes_128_cfb8_223, aes_128_cfb8_256,
|
||
aes_192_cfb8_13, aes_192_cfb8_16, aes_192_cfb8_192, aes_192_cfb8_223, aes_192_cfb8_256,
|
||
aes_256_cfb8_13, aes_256_cfb8_16, aes_256_cfb8_192, aes_256_cfb8_223, aes_256_cfb8_256,
|
||
};
|
||
/* aes test array end */
|
||
|
||
|
||
/* hash test array begin */
|
||
uint8_t hash_src_50[64] = {
|
||
0xa3, 0x9e, 0x6e, 0x83, 0x20, 0x91, 0xd3, 0x8b, 0x21, 0xb4, 0x67, 0xea, 0x50, 0xcc, 0x6b, 0x10,
|
||
0x18, 0x6d, 0x4c, 0xc4, 0xf1, 0x96, 0x99, 0x38, 0x37, 0xd5, 0x14, 0xaa, 0xa0, 0x25, 0xc4, 0x42,
|
||
0xe7, 0xd8, 0xca, 0x09, 0x0d, 0xd7, 0x15, 0x2f, 0xe2, 0xc2, 0xd0, 0xea, 0xac, 0x28, 0xf6, 0x2f,
|
||
0x2c, 0x75,
|
||
};
|
||
uint8_t hash_md5_50[MD5_DIGEST_SIZE] = {
|
||
0x81, 0x05, 0xa1, 0xfc, 0x50, 0x28, 0x42, 0x60, 0xb8, 0xb5, 0x4c, 0x77, 0xb4, 0x86, 0x72, 0x12,
|
||
};
|
||
uint8_t hash_src_124[128] = {
|
||
0x32, 0x2e, 0xd1, 0xde, 0x48, 0xaf, 0x78, 0xc7, 0xe6, 0x3f, 0xc6, 0x66, 0xa7, 0x3d, 0xfe, 0x96,
|
||
0xf3, 0xb0, 0xf6, 0x4d, 0x58, 0x1d, 0xd0, 0x4c, 0x4c, 0x6b, 0xbf, 0x6f, 0x09, 0x57, 0x02, 0xc0,
|
||
0xeb, 0xf1, 0x08, 0xeb, 0xc7, 0xd0, 0x16, 0x5e, 0x32, 0x8a, 0x4c, 0xdd, 0x34, 0x7c, 0xc7, 0x6f,
|
||
0xa8, 0x59, 0xdd, 0x11, 0xde, 0x8b, 0xf5, 0x8b, 0xaa, 0xac, 0xd7, 0x00, 0x44, 0x1a, 0x5d, 0x90,
|
||
0x52, 0x59, 0xf1, 0x4e, 0xf7, 0x27, 0x69, 0x5f, 0x05, 0x77, 0x3f, 0x44, 0xa9, 0x0d, 0x7b, 0x81,
|
||
0xb8, 0x0b, 0x5e, 0x83, 0x4e, 0xa1, 0xf6, 0x5c, 0xe1, 0xb7, 0xf0, 0xc2, 0x4d, 0x86, 0xfd, 0xcf,
|
||
0x1c, 0x1f, 0x65, 0x73, 0x22, 0x08, 0xd0, 0x7d, 0x18, 0xc1, 0xc0, 0x62, 0xb7, 0xeb, 0x96, 0x8d,
|
||
0x78, 0xac, 0xe0, 0x7c, 0x97, 0xdd, 0x94, 0x88, 0x35, 0x14, 0xc2, 0x02,
|
||
};
|
||
uint8_t hash_md5_124[MD5_DIGEST_SIZE] = {
|
||
0xa7, 0xe0, 0xa4, 0xe6, 0xb4, 0xdc, 0xb9, 0xf3, 0x15, 0xa3, 0xba, 0x17, 0x56, 0xf3, 0xbd, 0x13,
|
||
};
|
||
uint8_t hash_src_255[256] = {
|
||
0x10, 0x53, 0xe7, 0x06, 0x87, 0xe5, 0x7b, 0xb9, 0x12, 0x84, 0x88, 0xb9, 0x5e, 0x40, 0xb8, 0x23,
|
||
0x77, 0xc3, 0x2c, 0x53, 0x43, 0x97, 0x6b, 0xc2, 0x92, 0x7f, 0x65, 0xf0, 0x68, 0xb2, 0xa8, 0x72,
|
||
0xee, 0x35, 0x28, 0x3e, 0x3d, 0x19, 0x87, 0x53, 0xfc, 0xe2, 0x18, 0xf6, 0xbb, 0x1a, 0x31, 0x9d,
|
||
0x9a, 0x11, 0x31, 0xe9, 0xc9, 0xcb, 0x3a, 0xf3, 0xb7, 0x7a, 0x6a, 0x6c, 0xcb, 0xd5, 0x65, 0xde,
|
||
0x59, 0x40, 0x91, 0x56, 0x71, 0xf4, 0xcc, 0xad, 0x20, 0xc4, 0x8a, 0xfd, 0xf6, 0xa8, 0x4d, 0x42,
|
||
0x79, 0x07, 0x13, 0xd7, 0xa5, 0xc3, 0x23, 0xfd, 0x7e, 0x34, 0x1d, 0xb7, 0x90, 0x8e, 0x77, 0xc7,
|
||
0x2e, 0x19, 0x51, 0xb6, 0xd6, 0x51, 0x7c, 0xbd, 0x12, 0x4b, 0x09, 0x13, 0x1b, 0xe6, 0xf5, 0xb5,
|
||
0xf4, 0x0d, 0x60, 0x68, 0xda, 0x0c, 0x2d, 0x75, 0x8a, 0xe1, 0x9f, 0xf0, 0x17, 0xd4, 0x45, 0x05,
|
||
0x6a, 0xcd, 0x02, 0x24, 0xf1, 0x6c, 0xc3, 0xb2, 0x12, 0xcb, 0xfb, 0x45, 0x6c, 0x0a, 0xc7, 0xd0,
|
||
0x85, 0xd7, 0x95, 0x21, 0xa5, 0x82, 0x17, 0x03, 0xbc, 0xef, 0xa0, 0x7c, 0x10, 0xd0, 0x5e, 0x78,
|
||
0x91, 0x0b, 0xe5, 0x5c, 0x63, 0x27, 0x26, 0x52, 0x3d, 0x4f, 0xde, 0x13, 0xee, 0x98, 0x71, 0x3a,
|
||
0x10, 0xe1, 0x46, 0x9b, 0xa5, 0x92, 0x01, 0x1a, 0x42, 0x47, 0x46, 0xeb, 0xba, 0xee, 0x73, 0x32,
|
||
0x31, 0xad, 0x46, 0xbe, 0x4b, 0x9a, 0xb0, 0x3b, 0xc8, 0xb0, 0x5b, 0x84, 0x8b, 0xd9, 0xd7, 0xc6,
|
||
0xfa, 0x25, 0x71, 0x76, 0xba, 0x80, 0xac, 0xc8, 0x65, 0x96, 0x41, 0x29, 0x78, 0xb7, 0x54, 0xbe,
|
||
0xd2, 0x50, 0x0f, 0xbc, 0xa3, 0xe7, 0x9e, 0xa4, 0xce, 0x64, 0xb5, 0xeb, 0x9f, 0xa4, 0x98, 0x00,
|
||
0x6c, 0x71, 0xfa, 0x4e, 0xbe, 0x31, 0x35, 0x79, 0x4e, 0xee, 0x17, 0xcb, 0x10, 0x29, 0x40,
|
||
};
|
||
uint8_t hash_md5_255[MD5_DIGEST_SIZE] = {
|
||
0x66, 0x74, 0x77, 0xab, 0x98, 0x5d, 0x7f, 0x99, 0xfd, 0x80, 0xca, 0x77, 0x37, 0x75, 0x1f, 0xeb,
|
||
};
|
||
uint8_t hash_src_512[512] = {
|
||
0x47, 0xa1, 0x1a, 0x1d, 0x56, 0x20, 0x84, 0x12, 0x0b, 0x12, 0xf0, 0x74, 0x94, 0x66, 0xf6, 0xd7,
|
||
0xff, 0x1c, 0x17, 0x78, 0xf9,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0x62, 0x65, 0x6b, 0xb6, 0xd6, 0x33, 0x1d, 0xa7, 0xf4, 0x60,
|
||
0x30, 0x7e, 0xd2, 0xc2, 0xbf, 0x5e, 0x8f, 0x61, 0xd7, 0xcf, 0x99, 0x20, 0xeb, 0xc5, 0xaa, 0x4b,
|
||
0xb2, 0x95, 0x18, 0x40, 0xc4, 0x72, 0x7a, 0xa6, 0x75, 0x05, 0x1f, 0x5d, 0x63, 0x34, 0x24, 0x80,
|
||
0x0a, 0xfd, 0xa9, 0x1e, 0x57, 0x5a, 0xf4, 0x8e, 0x7a, 0xd4, 0xb4, 0xbd, 0xad, 0x19, 0x21, 0x8f,
|
||
0x34, 0xe9, 0xea, 0xcf, 0x44, 0x10, 0x10, 0x5a, 0xce, 0xc0, 0x46, 0xda, 0xe7, 0xb2, 0x82, 0xa9,
|
||
0xd5, 0xfd, 0xe3, 0x96, 0x53, 0x07, 0xf2, 0x10, 0x15, 0x6e, 0x5e, 0xfb, 0xbe, 0xdc, 0x2e, 0x20,
|
||
0x52, 0x96, 0xc2, 0xdf, 0x5e, 0x2b, 0x1f, 0x8c, 0x2d, 0x10, 0x2a, 0x20, 0x36, 0x98, 0x32, 0x6c,
|
||
0x31, 0x66, 0x7b, 0x95, 0x90, 0x3c, 0x5a, 0x04, 0x81, 0x29, 0xf5, 0x36, 0x01, 0x89, 0x79, 0xf8,
|
||
0x1d, 0x87, 0x32, 0x2e, 0x16, 0x50, 0xf3, 0xcd, 0xef, 0x19, 0x83, 0x2d, 0x68, 0xe8, 0x53, 0x68,
|
||
};
|
||
uint8_t hash_md5_512[MD5_DIGEST_SIZE] = {
|
||
0x5e, 0xa6, 0x8f, 0xe9, 0xd3, 0x9c, 0x8a, 0xe8, 0x37, 0x3e, 0x52, 0x12, 0x21, 0x35, 0x5e, 0x20,
|
||
};
|
||
uint8_t hash_sha1_50[SHA1_DIGEST_SIZE] = {
|
||
0x99, 0x3b, 0x7b, 0x85, 0xa7, 0x65, 0xba, 0x37, 0x83, 0xb6, 0x0d, 0xb4, 0x82, 0x55, 0x43, 0x85,
|
||
0x2e, 0x07, 0x1b, 0x0a,
|
||
};
|
||
uint8_t hash_sha1_124[SHA1_DIGEST_SIZE] = {
|
||
0x47, 0xf5, 0x9d, 0xd1, 0xb6, 0x1c, 0x11, 0x9e, 0x0d, 0x3d, 0x1f, 0xd9, 0x96, 0x8a, 0x4a, 0x2a,
|
||
0x66, 0x90, 0xd8, 0x63,
|
||
};
|
||
uint8_t hash_sha1_255[SHA1_DIGEST_SIZE] = {
|
||
0x08, 0x56, 0x6c, 0xc3, 0xac, 0x42, 0x83, 0x0a, 0x33, 0xb8, 0x7c, 0xd9, 0x61, 0xef, 0x89, 0x0e,
|
||
0x46, 0x32, 0xf9, 0x21,
|
||
};
|
||
uint8_t hash_sha1_512[SHA1_DIGEST_SIZE] = {
|
||
0x63, 0x79, 0xd0, 0x69, 0x76, 0xe3, 0x69, 0x1f, 0xb6, 0x4e, 0xf3, 0xe9, 0x08, 0xba, 0x7a, 0x8d,
|
||
0xbe, 0xa0, 0xef, 0xa4,
|
||
};
|
||
uint8_t hash_sha224_50[SHA224_DIGEST_SIZE] = {
|
||
0x14, 0x53, 0x42, 0xaf, 0xbe, 0x75, 0xd8, 0x93, 0xd3, 0xa2, 0xd8, 0xab, 0xc5, 0x36, 0x28, 0x5e,
|
||
0x4e, 0xa2, 0x91, 0xee, 0x22, 0x09, 0x35, 0x4d, 0xf8, 0x74, 0x24, 0xc6,
|
||
};
|
||
uint8_t hash_sha224_124[SHA224_DIGEST_SIZE] = {
|
||
0x5d, 0xce, 0x66, 0x78, 0x2b, 0xa8, 0xb2, 0xd1, 0xd6, 0x27, 0xff, 0x07, 0x38, 0xff, 0x6a, 0x2b,
|
||
0x96, 0x75, 0x25, 0x7c, 0x8b, 0x49, 0x6a, 0xa5, 0x65, 0x50, 0xec, 0x7d,
|
||
};
|
||
uint8_t hash_sha224_255[SHA224_DIGEST_SIZE] = {
|
||
0x6b, 0x85, 0x10, 0x4f, 0x88, 0x85, 0x74, 0x2e, 0x2a, 0x6b, 0x0d, 0xdd, 0xc8, 0x63, 0xe2, 0x53,
|
||
0xe6, 0xe5, 0x2d, 0xd3, 0x15, 0x8e, 0x2f, 0xb1, 0xbd, 0x15, 0xe9, 0x97,
|
||
};
|
||
uint8_t hash_sha224_512[SHA224_DIGEST_SIZE] = {
|
||
0x6c, 0xa9, 0x6f, 0xc7, 0xe2, 0xa7, 0x95, 0xdb, 0x59, 0x18, 0x66, 0xb6, 0xea, 0xf5, 0x79, 0x33,
|
||
0x05, 0x9a, 0x2d, 0x1e, 0x9e, 0xad, 0x3a, 0x67, 0x8e, 0xa4, 0xee, 0x13,
|
||
};
|
||
uint8_t hash_sha256_50[SHA256_DIGEST_SIZE] = {
|
||
0x2c, 0x41, 0x79, 0x46, 0x85, 0x63, 0xf4, 0xbe, 0xa6, 0x27, 0xdb, 0x3e, 0x6e, 0x50, 0xa0, 0xe8,
|
||
0x5c, 0x9a, 0xd6, 0x8b, 0xa2, 0xa5, 0xe1, 0x1a, 0xd9, 0x6a, 0xfd, 0x38, 0x6c, 0x0e, 0xd9, 0xc2,
|
||
};
|
||
uint8_t hash_sha256_124[SHA256_DIGEST_SIZE] = {
|
||
0xe5, 0xd6, 0xcc, 0x06, 0x17, 0x34, 0x34, 0x64, 0xa0, 0xba, 0x1f, 0xf2, 0x55, 0x9d, 0x25, 0x35,
|
||
0xce, 0x75, 0x84, 0x01, 0x52, 0xe1, 0x4c, 0x27, 0x8a, 0xaa, 0x50, 0x8e, 0x09, 0xc2, 0x0f, 0x00,
|
||
};
|
||
uint8_t hash_sha256_255[SHA256_DIGEST_SIZE] = {
|
||
0x0a, 0x2c, 0x7e, 0x1a, 0x77, 0xb0, 0x9f, 0x56, 0xb0, 0xaa, 0xd1, 0xfb, 0x98, 0xae, 0x6d, 0xac,
|
||
0x3f, 0xcf, 0xec, 0x30, 0x26, 0x15, 0xb1, 0x8c, 0xb4, 0x6d, 0xf5, 0xea, 0x89, 0x6d, 0x07, 0x6b,
|
||
};
|
||
uint8_t hash_sha256_512[SHA256_DIGEST_SIZE] = {
|
||
0x90, 0x88, 0x71, 0xc3, 0xb0, 0x66, 0x28, 0x04, 0x0d, 0x0f, 0x28, 0xf8, 0x89, 0xb4, 0xd0, 0x7d,
|
||
0x4a, 0x33, 0x63, 0x55, 0xec, 0x99, 0x47, 0x07, 0xf8, 0x0c, 0xd2, 0x83, 0x0e, 0xcc, 0xba, 0x36,
|
||
};
|
||
uint8_t hash_sha384_50[SHA384_DIGEST_SIZE] = {
|
||
0xf6, 0x50, 0xbf, 0x13, 0x8f, 0x68, 0xcd, 0x9e, 0x82, 0x1f, 0x7e, 0xbf, 0x0b, 0x33, 0x2d, 0x73,
|
||
0xc4, 0x0a, 0x8a, 0xb2, 0xb6, 0x15, 0x55, 0x80, 0xd4, 0x17, 0x4a, 0x4a, 0x35, 0x4e, 0x2f, 0xb3,
|
||
0xa9, 0x77, 0x7a, 0x73, 0x70, 0x14, 0x0b, 0x2c, 0xd9, 0x0b, 0xc0, 0x00, 0x05, 0x96, 0xa8, 0x27,
|
||
};
|
||
uint8_t hash_sha384_124[SHA384_DIGEST_SIZE] = {
|
||
0x41, 0x24, 0xcd, 0x26, 0x05, 0xab, 0x6e, 0xb8, 0x7d, 0x76, 0x8f, 0xd6, 0x57, 0x59, 0x78, 0x2d,
|
||
0xcc, 0x74, 0xb5, 0xd9, 0x0d, 0xef, 0x54, 0x99, 0xfb, 0x95, 0x8d, 0x16, 0x8b, 0x3f, 0x25, 0xf1,
|
||
0x07, 0xb7, 0x2c, 0xa8, 0x32, 0x21, 0xba, 0xea, 0x1c, 0x27, 0xcd, 0x06, 0x71, 0xb1, 0xd5, 0x0c,
|
||
};
|
||
uint8_t hash_sha384_255[SHA384_DIGEST_SIZE] = {
|
||
0x0d, 0x58, 0xb8, 0x54, 0x12, 0x55, 0xd9, 0x44, 0xe7, 0x16, 0x1c, 0x9e, 0x1d, 0x66, 0xfb, 0xca,
|
||
0xf2, 0xb2, 0xd1, 0x71, 0x21, 0x8f, 0x86, 0xd0, 0x7b, 0xa3, 0x37, 0xac, 0x1d, 0x83, 0x2f, 0x74,
|
||
0x60, 0xc5, 0x36, 0x89, 0x2d, 0x03, 0x5c, 0x3c, 0x2c, 0x76, 0x2e, 0x43, 0x5b, 0xe9, 0x35, 0xcf,
|
||
};
|
||
uint8_t hash_sha384_512[SHA384_DIGEST_SIZE] = {
|
||
0x60, 0x1e, 0xd6, 0x58, 0x46, 0x8f, 0x5b, 0xad, 0xac, 0xab, 0x07, 0x7e, 0x27, 0x88, 0x8e, 0xa0,
|
||
0xd1, 0x93, 0xa4, 0xc9, 0xf5, 0x21, 0x27, 0x09, 0x9c, 0x0e, 0x5d, 0x6e, 0x9f, 0x84, 0x8c, 0x45,
|
||
0x14, 0xe6, 0xc9, 0xfe, 0x87, 0x31, 0xbc, 0x1f, 0x9e, 0xea, 0x80, 0xdc, 0xe5, 0x80, 0x06, 0x91,
|
||
};
|
||
uint8_t hash_sha512_50[SHA512_DIGEST_SIZE] = {
|
||
0xc0, 0x9d, 0x5e, 0x88, 0xb9, 0xe1, 0x86, 0x55, 0x42, 0x1d, 0xa9, 0x74, 0xa2, 0xde, 0x2d, 0x2c,
|
||
0x6d, 0xb3, 0x36, 0x0a, 0x94, 0x7c, 0xde, 0xf5, 0x3c, 0x35, 0x79, 0xa3, 0xd4, 0x11, 0xe8, 0x41,
|
||
0x1e, 0x83, 0xa0, 0x22, 0xff, 0x17, 0xa4, 0x8c, 0xf5, 0xf1, 0xb0, 0x40, 0xf4, 0x60, 0xa4, 0x6e,
|
||
0xe2, 0xc6, 0x28, 0x7d, 0xf3, 0x9c, 0x35, 0x49, 0xab, 0xd2, 0x8a, 0x3e, 0x8e, 0xc7, 0xd0, 0x6d,
|
||
};
|
||
uint8_t hash_sha512_124[SHA512_DIGEST_SIZE] = {
|
||
0x0f, 0x11, 0x8f, 0x16, 0xbd, 0x35, 0x50, 0xed, 0x87, 0x05, 0x8b, 0x3f, 0x4a, 0xf9, 0x9e, 0x43,
|
||
0x4e, 0xe2, 0xd4, 0x4a, 0xea, 0xc2, 0x8c, 0xd9, 0x46, 0xcb, 0x81, 0x2d, 0x48, 0xc8, 0xe2, 0x0d,
|
||
0x6b, 0xb1, 0xb6, 0x9f, 0xcc, 0x1d, 0x6e, 0x35, 0xf6, 0x37, 0xcf, 0x26, 0xf7, 0x1d, 0x52, 0x0d,
|
||
0x77, 0xb5, 0x3f, 0xf1, 0x97, 0x22, 0x76, 0x01, 0xb5, 0xee, 0x54, 0x1c, 0x71, 0x09, 0xdf, 0x0c,
|
||
};
|
||
uint8_t hash_sha512_255[SHA512_DIGEST_SIZE] = {
|
||
0xd5, 0x1b, 0xab, 0x29, 0x10, 0x81, 0x5b, 0xb1, 0xa8, 0x2c, 0xce, 0xd3, 0x01, 0x69, 0x92, 0x10,
|
||
0x09, 0xf3, 0xc3, 0x34, 0x53, 0x36, 0x1c, 0x7a, 0x19, 0x54, 0x00, 0x40, 0xf1, 0x6c, 0x1f, 0x39,
|
||
0xa9, 0x1e, 0x23, 0x4c, 0x9e, 0x54, 0x8e, 0xc1, 0x64, 0x19, 0xc0, 0x8b, 0xb1, 0xbd, 0x56, 0xda,
|
||
0x9f, 0x50, 0x9b, 0x3f, 0xc8, 0xea, 0x31, 0xdf, 0x4b, 0x3c, 0x8c, 0x52, 0xb0, 0x29, 0xdb, 0x39,
|
||
};
|
||
uint8_t hash_sha512_512[SHA512_DIGEST_SIZE] = {
|
||
0xc0, 0x3f, 0x97, 0x4a, 0xff, 0xb1, 0xc5, 0x1c, 0xb3, 0xfc, 0x93, 0xa4, 0x5d, 0xd8, 0xe2, 0x2c,
|
||
0xd1, 0xf7, 0x88, 0x67, 0xac, 0x76, 0x60, 0x17, 0x35, 0x20, 0xfd, 0xd6, 0x05, 0x65, 0xc1, 0x0e,
|
||
0x55, 0x1a, 0x76, 0x0e, 0xa6, 0xb2, 0x1c, 0xeb, 0xfa, 0xfc, 0x9a, 0x97, 0x81, 0x6c, 0x3c, 0xef,
|
||
0x60, 0x18, 0xdb, 0x68, 0x30, 0x05, 0x68, 0xf1, 0xe0, 0xfe, 0xe5, 0xb2, 0x9c, 0x67, 0x86, 0xad,
|
||
};
|
||
uint8_t *hash_src[4] = {hash_src_50, hash_src_124, hash_src_255, hash_src_512,};
|
||
uint32_t hash_src_len[4] = {50, 124, 255, 512};
|
||
uint8_t *hash_md5[4] = {hash_md5_50, hash_md5_124, hash_md5_255, hash_md5_512,};
|
||
uint8_t *hash_sha1[4] = {hash_sha1_50, hash_sha1_124, hash_sha1_255, hash_sha1_512,};
|
||
uint8_t *hash_sha224[4] = {hash_sha224_50, hash_sha224_124, hash_sha224_255, hash_sha224_512,};
|
||
uint8_t *hash_sha256[4] = {hash_sha256_50, hash_sha256_124, hash_sha256_255, hash_sha256_512,};
|
||
uint8_t *hash_sha384[4] = {hash_sha384_50, hash_sha384_124, hash_sha384_255, hash_sha384_512,};
|
||
uint8_t *hash_sha512[4] = {hash_sha512_50, hash_sha512_124, hash_sha512_255, hash_sha512_512,};
|
||
/* hash test array end */
|
||
|
||
|
||
/* rsa test array begin */
|
||
uint8_t rsa512_keyn[64] = {
|
||
0xcf, 0xa0, 0xff, 0x8a, 0x43, 0xd9, 0x8c, 0xe1, 0xb7, 0xc5, 0x42, 0x6f, 0xf6, 0xc5, 0x61, 0x7d,
|
||
0x90, 0xca, 0x01, 0xa1, 0x03, 0xc4, 0x24, 0x46, 0x1f, 0x14, 0x9f, 0xa9, 0x5f, 0xf9, 0xa7, 0x23,
|
||
0xed, 0x22, 0xe9, 0x1f, 0x80, 0x8a, 0xe0, 0xfc, 0xc2, 0x58, 0x8f, 0x68, 0xab, 0x30, 0x53, 0xb6,
|
||
0x9c, 0x83, 0xa4, 0x07, 0xab, 0xa5, 0xa8, 0x8d, 0xf0, 0xd9, 0xae, 0xd4, 0xa9, 0xfe, 0x84, 0xc9,
|
||
};
|
||
uint8_t rsa512_keye[64] = {
|
||
0x01, 0x00, 0x01
|
||
};
|
||
uint8_t rsa512_keyd[64] = {
|
||
0x79, 0x6f, 0x16, 0x46, 0x0d, 0xac, 0xdd, 0x62, 0xde, 0x92, 0x76, 0x6a, 0xf9, 0x8f, 0x33, 0x97,
|
||
0xb6, 0xe9, 0x0e, 0xce, 0xd7, 0x5f, 0x0e, 0x40, 0x1c, 0xc9, 0x79, 0x20, 0x1c, 0xcb, 0xec, 0xde,
|
||
0x5e, 0x14, 0x54, 0x1d, 0x0b, 0x5e, 0xd2, 0x5e, 0x24, 0x3a, 0xda, 0x44, 0xdf, 0xd5, 0x3a, 0xc6,
|
||
0x1f, 0x7b, 0x0b, 0x45, 0x5e, 0x4d, 0x1b, 0x79, 0x53, 0x98, 0xd8, 0x1c, 0x65, 0xfa, 0x3d, 0x21,
|
||
};
|
||
uint8_t rsa512_src[64] = {
|
||
0x00, 0x19, 0xd8, 0x24, 0x07, 0xa5, 0x38, 0x7c, 0xeb, 0xa1, 0x08, 0xc4, 0x9b, 0x86, 0xd9, 0x0c,
|
||
0x03, 0x89, 0x59, 0x3d, 0x73, 0xf0, 0x8c, 0x4f, 0x2c, 0x13, 0x5c, 0x97, 0xa4, 0xc5, 0x76, 0xfc,
|
||
0x40, 0xaf, 0x87, 0xbc, 0xfb, 0x3c, 0x51, 0x29, 0x25, 0x18, 0xbe, 0x82, 0x4f, 0x5b, 0x58, 0x1d,
|
||
0x36, 0x8f, 0xfa, 0xc0, 0x49, 0xaa, 0x8b, 0x56, 0x2f, 0x22, 0xfc, 0x19, 0x34, 0xb8, 0xdd, 0xa0,
|
||
};
|
||
uint8_t rsa512_enc[64] = {
|
||
0xb9, 0xc8, 0xee, 0x76, 0xd9, 0xc7, 0x99, 0x22, 0x20, 0xc6, 0xba, 0x7e, 0x3e, 0xaf, 0x74, 0xdb,
|
||
0x21, 0xfe, 0xb8, 0x9e, 0x09, 0x78, 0x9c, 0x97, 0xc9, 0x1c, 0xe5, 0xaa, 0xbe, 0xf1, 0xd8, 0xaa,
|
||
0x03, 0xfc, 0xa6, 0x3c, 0x42, 0x34, 0x90, 0x4d, 0x81, 0xe7, 0x7a, 0xee, 0x40, 0xba, 0xa0, 0x94,
|
||
0x28, 0x74, 0x25, 0xb2, 0xce, 0x7d, 0x6d, 0x68, 0x4f, 0x6a, 0x29, 0x2b, 0xc6, 0x0f, 0xc6, 0xd9,
|
||
};
|
||
uint8_t rsa512_sha256[32] = {
|
||
0xa5, 0xea, 0xa5, 0x1c, 0x53, 0xd5, 0x2c, 0xbe, 0x55, 0xa7, 0xb1, 0x97, 0x84, 0x26, 0xd4, 0xc3,
|
||
0xb6, 0x67, 0xab, 0xa6, 0x92, 0x22, 0xbe, 0x2b, 0xc2, 0x1d, 0xa4, 0xb7, 0x3f, 0xc3, 0x11, 0x2f,
|
||
};
|
||
uint8_t rsa512_sha256_raw[64] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
|
||
0xa5, 0xea, 0xa5, 0x1c, 0x53, 0xd5, 0x2c, 0xbe, 0x55, 0xa7, 0xb1, 0x97, 0x84, 0x26, 0xd4, 0xc3,
|
||
0xb6, 0x67, 0xab, 0xa6, 0x92, 0x22, 0xbe, 0x2b, 0xc2, 0x1d, 0xa4, 0xb7, 0x3f, 0xc3, 0x11, 0x2f,
|
||
};
|
||
uint8_t rsa512_sha256_sign[64] = {
|
||
0x9c, 0x61, 0x1f, 0x0b, 0x5a, 0x7f, 0x1d, 0x2e, 0x7e, 0xe7, 0xad, 0xf4, 0x4f, 0x9b, 0x82, 0x1a,
|
||
0xc4, 0xc7, 0xe2, 0x7b, 0xc7, 0xb0, 0x89, 0xba, 0x3a, 0xdb, 0x32, 0x43, 0xab, 0x8b, 0xc5, 0x6a,
|
||
0x1b, 0x97, 0x57, 0xc7, 0xf0, 0x5c, 0xbe, 0x72, 0xe7, 0xe6, 0x92, 0x10, 0x44, 0xe5, 0x99, 0xe3,
|
||
0xe4, 0xdd, 0x43, 0xed, 0x7e, 0x7d, 0xc3, 0x01, 0xbf, 0xf8, 0x4b, 0x7b, 0xc4, 0x28, 0x45, 0x6c,
|
||
};
|
||
uint8_t rsa512_sign_raw[64] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30,
|
||
0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20,
|
||
0xa5, 0xea, 0xa5, 0x1c, 0x53, 0xd5, 0x2c, 0xbe, 0x55, 0xa7, 0xb1, 0x97, 0x84, 0x26, 0xd4, 0xc3,
|
||
0xb6, 0x67, 0xab, 0xa6, 0x92, 0x22, 0xbe, 0x2b, 0xc2, 0x1d, 0xa4, 0xb7, 0x3f, 0xc3, 0x11, 0x2f,
|
||
};
|
||
uint8_t rsa512_sign[64] = {
|
||
0x62, 0x0c, 0x86, 0x0d, 0x83, 0xc4, 0xa8, 0xbc, 0x9e, 0x14, 0xb2, 0xab, 0xa0, 0xd6, 0x15, 0x7b,
|
||
0xf6, 0xbe, 0x8a, 0x94, 0xd9, 0xeb, 0xa5, 0xe3, 0x4b, 0xf9, 0xea, 0xd3, 0x75, 0xac, 0xa6, 0x84,
|
||
0x0f, 0xb1, 0x92, 0xf4, 0xc2, 0x5f, 0x40, 0x44, 0x84, 0xc4, 0x60, 0x60, 0xdf, 0x29, 0x55, 0xd1,
|
||
0xae, 0x94, 0x2d, 0xb9, 0xf8, 0x63, 0x00, 0xb4, 0x1f, 0x11, 0xb1, 0xd5, 0xff, 0xe4, 0x78, 0x02,
|
||
};
|
||
uint8_t rsa1024_keyn[128] = {
|
||
0xc2, 0x66, 0xa1, 0xa2, 0x46, 0x2c, 0x42, 0xf7, 0x1c, 0x3c, 0xdb, 0xbc, 0x2d, 0xeb, 0xa6, 0xda,
|
||
0xaf, 0x87, 0x3b, 0xc9, 0x33, 0xf0, 0xf1, 0x02, 0x31, 0x29, 0xe7, 0xf0, 0x27, 0x0f, 0x46, 0xb2,
|
||
0x75, 0x34, 0xe8, 0xe3, 0x32, 0xc4, 0x11, 0xc2, 0xe7, 0xa0, 0xb6, 0xe9, 0x2b, 0x92, 0xb0, 0xe6,
|
||
0x5b, 0x18, 0x41, 0x39, 0x5e, 0xde, 0x85, 0x5f, 0xae, 0x68, 0xaa, 0x93, 0x46, 0x58, 0xea, 0x5f,
|
||
0xe3, 0xe4, 0x45, 0x7f, 0xc4, 0x90, 0x80, 0x14, 0x26, 0xfb, 0xf2, 0x57, 0x57, 0x8a, 0xc3, 0xbe,
|
||
0xa2, 0xed, 0x2c, 0x27, 0x16, 0x88, 0x08, 0x01, 0xfe, 0x09, 0x1d, 0x49, 0xff, 0x23, 0x82, 0xac,
|
||
0x20, 0xbc, 0x61, 0xa2, 0xa0, 0x33, 0x11, 0xc5, 0x68, 0x46, 0x37, 0xfa, 0xe1, 0x4d, 0x4b, 0xbc,
|
||
0x46, 0xc3, 0x79, 0xe6, 0x90, 0x9a, 0x51, 0x69, 0x7b, 0x60, 0x85, 0x8a, 0x96, 0x7b, 0x61, 0x09,
|
||
};
|
||
uint8_t rsa1024_keye[128] = {
|
||
0x01, 0x00, 0x01
|
||
};
|
||
uint8_t rsa1024_keyd[128] = {
|
||
0xa1, 0xac, 0x89, 0x30, 0x53, 0xfb, 0xeb, 0x95, 0x67, 0xbe, 0x95, 0x60, 0x63, 0x30, 0x60, 0x8b,
|
||
0xee, 0xff, 0x21, 0x11, 0xac, 0x48, 0xed, 0xa7, 0x4d, 0x0b, 0xf5, 0x01, 0x1c, 0xfa, 0xef, 0x68,
|
||
0xeb, 0x61, 0x1d, 0x6e, 0x16, 0x82, 0x49, 0xe3, 0x36, 0x8f, 0xca, 0x8f, 0x10, 0xd5, 0xe6, 0x99,
|
||
0x2d, 0x99, 0x76, 0x65, 0x28, 0x29, 0x17, 0xf3, 0x03, 0x31, 0xb8, 0xea, 0xd2, 0xce, 0x8f, 0xdb,
|
||
0xca, 0x6f, 0xb1, 0xc4, 0x9e, 0xab, 0xd7, 0x33, 0xfb, 0xa5, 0xbb, 0x67, 0xaf, 0x3c, 0xed, 0x62,
|
||
0xee, 0xcf, 0xe2, 0x1a, 0x85, 0x2e, 0xcf, 0x11, 0x9b, 0x5b, 0x72, 0xb4, 0x2d, 0xee, 0x7e, 0x69,
|
||
0x59, 0xe2, 0x49, 0x54, 0x44, 0xa6, 0x37, 0x9f, 0x49, 0xe5, 0x20, 0x20, 0xe1, 0xa7, 0xdc, 0x1a,
|
||
0x95, 0x07, 0x57, 0xee, 0xff, 0x03, 0xe6, 0x2b, 0x24, 0x1c, 0x24, 0xa4, 0x73, 0xf4, 0xa4, 0x01,
|
||
};
|
||
uint8_t rsa1024_src[128] = {
|
||
0x00, 0xd9, 0x14, 0xa1, 0xa9, 0x66, 0x41, 0x13, 0x85, 0xf8, 0xc1, 0xbb, 0x7d, 0x04, 0x6d, 0x5b,
|
||
0x6f, 0x11, 0xe2, 0xa5, 0xe3, 0xd4, 0xe7, 0x55, 0xe6, 0x46, 0x7b, 0xe8, 0xc1, 0x9f, 0xad, 0x91,
|
||
0x6a, 0x69, 0xb9, 0x74, 0x2b, 0xfa, 0xd3, 0x9f, 0x74, 0x60, 0xd5, 0xb7, 0xad, 0xd8, 0x84, 0xd6,
|
||
0xeb, 0x18, 0x1e, 0x7e, 0x3b, 0x50, 0xe7, 0x2f, 0x35, 0x12, 0x63, 0x2c, 0x70, 0xff, 0x2c, 0xd7,
|
||
0x31, 0x63, 0xd6, 0xd0, 0x09, 0x94, 0x92, 0xd9, 0x2f, 0x06, 0xfd, 0x4c, 0xf9, 0x59, 0x72, 0x62,
|
||
0xc6, 0x98, 0x80, 0xc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
|
||
};
|
||
uint8_t rsa1024_sha256[32] = {
|
||
0x81, 0x88, 0xfd, 0x2e, 0xb4, 0xf2, 0x0f, 0x22, 0xd2, 0x14, 0xa6, 0xb9, 0x80, 0x71, 0xa2, 0x8e,
|
||
0x66, 0xfc, 0xd7, 0x7a, 0xcc, 0x22, 0xb7, 0x60, 0x58, 0xfe, 0x04, 0xa1, 0x1b, 0x86, 0x71, 0xb4,
|
||
};
|
||
uint8_t rsa1024_sha256_raw[128] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
|
||
0x81, 0x88, 0xfd, 0x2e, 0xb4, 0xf2, 0x0f, 0x22, 0xd2, 0x14, 0xa6, 0xb9, 0x80, 0x71, 0xa2, 0x8e,
|
||
0x66, 0xfc, 0xd7, 0x7a, 0xcc, 0x22, 0xb7, 0x60, 0x58, 0xfe, 0x04, 0xa1, 0x1b, 0x86, 0x71, 0xb4,
|
||
};
|
||
uint8_t rsa1024_sha256_sign[128] = {
|
||
0x10, 0xbb, 0xf1, 0x23, 0x5b, 0x3d, 0x1b, 0x03, 0x5c, 0xfb, 0x99, 0xcc, 0xc3, 0x4d, 0xed, 0x30,
|
||
0x6f, 0x4d, 0xd7, 0x2f, 0xfd, 0x22, 0xb6, 0x63, 0x31, 0xca, 0x7f, 0xb1, 0x03, 0x23, 0x4c, 0x8d,
|
||
0x38, 0xf9, 0x68, 0xc0, 0xda, 0x7c, 0x29, 0xc6, 0x9b, 0x41, 0x7d, 0x7e, 0x44, 0x09, 0x1b, 0x4c,
|
||
0x81, 0x4e, 0x77, 0x39, 0x7d, 0xf0, 0xde, 0xd9, 0xe0, 0x8e, 0xd5, 0x60, 0x25, 0x94, 0xae, 0x4a,
|
||
0x55, 0xf4, 0x2a, 0x94, 0x48, 0xce, 0xa5, 0x5e, 0xa4, 0x54, 0x20, 0x99, 0x84, 0xa5, 0x2b, 0xc4,
|
||
0xeb, 0xee, 0x6d, 0x74, 0xe4, 0xe7, 0xb7, 0x96, 0x32, 0x1d, 0x53, 0xc0, 0x8d, 0x23, 0xc9, 0x4b,
|
||
0x50, 0x0e, 0xb6, 0x55, 0x21, 0x38, 0x73, 0x84, 0x2e, 0x43, 0xde, 0xd7, 0x60, 0x80, 0xae, 0x31,
|
||
0x46, 0x35, 0xe5, 0xb1, 0x1e, 0x15, 0xe8, 0x3d, 0x70, 0x7c, 0x6e, 0x4f, 0x53, 0xa1, 0x42, 0x21,
|
||
};
|
||
uint8_t rsa1024_sign_raw[128] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30,
|
||
0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20,
|
||
0x81, 0x88, 0xfd, 0x2e, 0xb4, 0xf2, 0x0f, 0x22, 0xd2, 0x14, 0xa6, 0xb9, 0x80, 0x71, 0xa2, 0x8e,
|
||
0x66, 0xfc, 0xd7, 0x7a, 0xcc, 0x22, 0xb7, 0x60, 0x58, 0xfe, 0x04, 0xa1, 0x1b, 0x86, 0x71, 0xb4,
|
||
};
|
||
uint8_t rsa1024_sign[128] = {
|
||
0x64, 0x8c, 0x04, 0x33, 0x98, 0x8f, 0xd0, 0x5c, 0x2a, 0x32, 0x2b, 0x79, 0x69, 0x48, 0x11, 0x89,
|
||
0x2a, 0xe9, 0x66, 0x37, 0xcb, 0x15, 0xbc, 0x16, 0x60, 0x5f, 0x38, 0x82, 0xd8, 0x63, 0x39, 0xbc,
|
||
0xb9, 0xa2, 0x88, 0x9d, 0xac, 0x6f, 0x26, 0xa1, 0x2f, 0x91, 0xb5, 0xbb, 0xfd, 0x93, 0x82, 0xcc,
|
||
0x8d, 0xc8, 0xf7, 0xf5, 0x6d, 0x96, 0x70, 0xc6, 0xe9, 0xad, 0x76, 0x42, 0x5b, 0x65, 0xdb, 0x85,
|
||
0x3a, 0x2e, 0xc2, 0x1c, 0x80, 0xe4, 0xdb, 0x8e, 0x89, 0x04, 0xa4, 0x0c, 0x93, 0xa9, 0x7e, 0x6c,
|
||
0x27, 0xa9, 0x98, 0x5b, 0xaa, 0xa0, 0x3b, 0x35, 0x81, 0x19, 0xa1, 0x0e, 0x89, 0x90, 0xda, 0xbe,
|
||
0x9c, 0x9e, 0x22, 0xcd, 0x25, 0x3d, 0xbb, 0x1d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0b, 0x8e, 0x33, 0x29, 0x88, 0xfe, 0x23, 0xa2, 0xc9, 0x0a, 0xa7, 0xcd, 0x20, 0x2b, 0xc7,
|
||
0x51, 0x6e, 0x15, 0x34, 0xec, 0xda, 0x2b, 0x32, 0x1d, 0x6b, 0x41, 0xc1, 0xcc, 0xfc, 0x86, 0x10,
|
||
0x85, 0xaa, 0x21, 0x5a, 0xad, 0x1f, 0xae, 0xdc, 0xb5, 0xf5, 0xef, 0x33, 0xd3, 0xe3, 0x3b, 0x3f,
|
||
0x69, 0xdd, 0x11, 0x50, 0x6f, 0x05, 0xe1, 0x64, 0x78, 0xbe, 0x27, 0x3e, 0xbc, 0x6a, 0xf4, 0x2e,
|
||
0xbf, 0x01, 0x66, 0xa1, 0x36, 0x35, 0xb5, 0xe6, 0x4a, 0x38, 0xb2, 0xc9, 0x34, 0xa5, 0xdf, 0x47,
|
||
0x5c, 0xb5, 0x62, 0xd3, 0xcd, 0xa9, 0x48, 0x74, 0x91, 0xb5, 0x12, 0x9f, 0x21, 0xfa, 0x60, 0xb3,
|
||
0x18, 0x57, 0x5b, 0x35, 0x1d, 0xc6, 0x82, 0xb6, 0xd1, 0xc8, 0x3b, 0xd0, 0x8c, 0x38, 0x4f, 0xa7,
|
||
};
|
||
uint8_t rsa2048_keye[256] = {
|
||
0x01, 0x00, 0x01
|
||
};
|
||
uint8_t rsa2048_keyd[256] = {
|
||
0x43, 0xec, 0x3a, 0x6e, 0xf3, 0x0d, 0xe8, 0x7e, 0xe4, 0x0e, 0xc0, 0x75, 0x90, 0xf5, 0x94, 0x39,
|
||
0x79, 0x3a, 0xdf, 0x09, 0x1b, 0x1e, 0x31, 0x7c, 0x30, 0x40, 0x11, 0x43, 0x18, 0x7f, 0x34, 0xe6,
|
||
0xff, 0x31, 0x97, 0xe0, 0xe2, 0x63, 0xe9, 0xcf, 0x41, 0x6e, 0x07, 0x13, 0x88, 0xc8, 0x60, 0xd4,
|
||
0x4f, 0x02, 0x7a, 0xbc, 0x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
0x5e, 0x4b, 0x25, 0xf8, 0xc9, 0x84, 0xba, 0x4e, 0x93, 0x9f, 0x72, 0xf7, 0xa2, 0xc1, 0x10, 0x6d,
|
||
0x77, 0xdd, 0xaf, 0x54, 0x02, 0x9a, 0xb3, 0x50, 0x22, 0xba, 0xce, 0x36, 0x90, 0xd5, 0x7b, 0xb5,
|
||
0xbf, 0xaf, 0x23, 0x35, 0x5b, 0xca, 0x3d, 0xbf, 0x44, 0xd2, 0xb0, 0xf1, 0x89, 0xd2, 0x32, 0x0e,
|
||
0xa8, 0x2b, 0x5a, 0xd3, 0x5b, 0xe1, 0x3a, 0xef, 0x2e, 0xa3, 0x2c, 0x7e, 0x23, 0xe4, 0x5a, 0x24,
|
||
0xcb, 0xb4, 0x93, 0x7e, 0x79, 0x91, 0xe3, 0x53, 0x03, 0xc8, 0x03, 0x07, 0xd3, 0x88, 0x9b, 0xfb,
|
||
0x12, 0xa7, 0x60, 0x96, 0xb8, 0xa9, 0x02, 0x99, 0x24, 0xf8, 0xc8, 0xd5, 0x8c, 0x23, 0x74, 0x72,
|
||
0x53, 0x14, 0x0c, 0x6f, 0xa4, 0xa7, 0x24, 0x60, 0x76, 0xb4, 0x52, 0x6c, 0x85, 0x77, 0xe8, 0xbe,
|
||
};
|
||
uint8_t rsa2048_enc[256] = {
|
||
0x4d, 0x85, 0xc7, 0x34, 0x22, 0x32, 0x15, 0x6b, 0x16, 0x71, 0x8d, 0xeb, 0xa4, 0x89, 0x34, 0x49,
|
||
0x4a, 0x5e, 0x92, 0xf5, 0xb6, 0x32, 0xe4, 0x10, 0xf7, 0x6d, 0x8a, 0x17, 0xfc, 0x9a, 0x16, 0xa9,
|
||
0x03, 0x49, 0xa8, 0xae, 0xc0, 0x18, 0xbe, 0xf9, 0x40, 0xea, 0x08, 0xf9, 0x4c, 0x6c, 0x43, 0x5e,
|
||
0x1d, 0x26, 0x16, 0xf5, 0x52, 0x00, 0x76, 0x0b, 0xfe, 0x63, 0x79, 0x77, 0x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, 0x72, 0x36, 0x1e,
|
||
0x31, 0x8b, 0x86, 0x23, 0x90, 0x76, 0xb3, 0xf5, 0xbe, 0xc9, 0xcb, 0xa1, 0x54, 0x1e, 0xae, 0x88,
|
||
};
|
||
uint8_t rsa2048_sha256[32] = {
|
||
0xbf, 0xb3, 0xc6, 0x00, 0xe9, 0x00, 0x0a, 0x4b, 0xa5, 0x3b, 0x4a, 0xba, 0x66, 0x64, 0x88, 0x64,
|
||
0xa3, 0xd1, 0x72, 0xab, 0x15, 0x25, 0xf5, 0x5f, 0xfb, 0x31, 0x4d, 0x46, 0x08, 0xd5, 0x61, 0x58,
|
||
};
|
||
uint8_t rsa2048_sha256_raw[256] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
|
||
0xbf, 0xb3, 0xc6, 0x00, 0xe9, 0x00, 0x0a, 0x4b, 0xa5, 0x3b, 0x4a, 0xba, 0x66, 0x64, 0x88, 0x64,
|
||
0xa3, 0xd1, 0x72, 0xab, 0x15, 0x25, 0xf5, 0x5f, 0xfb, 0x31, 0x4d, 0x46, 0x08, 0xd5, 0x61, 0x58,
|
||
};
|
||
uint8_t rsa2048_sha256_sign[256] = {
|
||
0x54, 0xe3, 0x33, 0x0b, 0x69, 0xd1, 0x6f, 0x29, 0xd2, 0x59, 0x30, 0x3c, 0x15, 0xa9, 0xc0, 0xb2,
|
||
0x93, 0x95, 0x75, 0x07, 0x22, 0x19, 0xc6, 0x89, 0xab, 0xb7, 0x1a, 0x88, 0x57, 0x7e, 0x6e, 0x21,
|
||
0xb9, 0xa3, 0xea, 0xc3, 0x20, 0x25, 0x9d, 0x3b, 0x78, 0xe3, 0x6e, 0x01, 0x1d, 0x94, 0x9f, 0x67,
|
||
0x0a, 0x8b, 0xba, 0x3c, 0xeb, 0xaa, 0x73, 0x17, 0x09, 0x42, 0x60, 0x32, 0xdd, 0x15, 0xea, 0x29,
|
||
0x7d, 0x43, 0x46, 0xde, 0xd2, 0x5f, 0x77, 0xad, 0x65, 0xf6, 0xa7, 0x6e, 0x10, 0x2c, 0xdf, 0x96,
|
||
0x1f, 0xd6, 0xd8, 0x9d, 0x8e, 0x08, 0xbd, 0x58, 0x3a, 0x52, 0x83, 0x07, 0x50, 0x61, 0x8a, 0xb5,
|
||
0x80, 0xd8, 0x12, 0xfa, 0x4c, 0x68, 0x66, 0x8d, 0x2b, 0xf4, 0x5d, 0x93, 0xa0, 0x13, 0x90, 0x66,
|
||
0x53, 0x46, 0x3e, 0x9e, 0x10, 0x4d, 0xb1, 0x25, 0x60, 0x2f, 0x18, 0xc9, 0x43, 0xcc, 0xda, 0x5d,
|
||
0x3c, 0xea, 0x34, 0x3f, 0x27, 0x4c, 0xb9, 0x56, 0xc1, 0x4a, 0x7e, 0xb7, 0x24, 0x64, 0xed, 0x2d,
|
||
0x28, 0xb2, 0xf0, 0xbe, 0x5f, 0x38, 0x55, 0xba, 0x1b, 0x25, 0x23, 0xf8, 0x53, 0x80, 0x49, 0x19,
|
||
0xae, 0xfe, 0x58, 0x97, 0x84, 0x9f, 0x24, 0x33, 0xcb, 0x59, 0x58, 0x45, 0x32, 0x39, 0x67, 0xd4,
|
||
0x01, 0x4f, 0x04, 0x42, 0x9c, 0x43, 0x55, 0x27, 0x98, 0x1c, 0x5c, 0xdf, 0xf5, 0x65, 0x24, 0xc5,
|
||
0xf4, 0x98, 0xe4, 0x93, 0xb0, 0x46, 0x50, 0xad, 0x8e, 0xfc, 0xeb, 0x33, 0x67, 0x99, 0x99, 0xf9,
|
||
0xaf, 0x4c, 0x93, 0x50, 0x74, 0x20, 0xf6, 0x6a, 0x09, 0xaf, 0x5a, 0xa5, 0xcd, 0x9e, 0xce, 0x11,
|
||
0x15, 0xe7, 0xbc, 0x7a, 0xaa, 0x79, 0x34, 0xd0, 0x84, 0x61, 0x41, 0x2e, 0x76, 0x43, 0xc4, 0x17,
|
||
0xf3, 0xcc, 0x6b, 0xb6, 0x72, 0xde, 0x86, 0x5c, 0x62, 0xf6, 0x6a, 0xe5, 0x1f, 0xbb, 0x66, 0x90,
|
||
};
|
||
uint8_t rsa2048_sign_raw[256] = {
|
||
0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30,
|
||
0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20,
|
||
0xbf, 0xb3, 0xc6, 0x00, 0xe9, 0x00, 0x0a, 0x4b, 0xa5, 0x3b, 0x4a, 0xba, 0x66, 0x64, 0x88, 0x64,
|
||
0xa3, 0xd1, 0x72, 0xab, 0x15, 0x25, 0xf5, 0x5f, 0xfb, 0x31, 0x4d, 0x46, 0x08, 0xd5, 0x61, 0x58,
|
||
};
|
||
uint8_t rsa2048_sign[256] = {
|
||
0x00, 0x7f, 0xc2, 0x86, 0x43, 0x98, 0x77, 0x7f, 0x26, 0xfa, 0x87, 0x92, 0x79, 0x2a, 0x9d, 0x26,
|
||
0x56, 0x24, 0xdb, 0x19, 0x95, 0xa1, 0x09, 0x50, 0xd6, 0xcc, 0xc6, 0xd5, 0x8a, 0xe2, 0x26, 0x09,
|
||
0xd8, 0xd3, 0xa0, 0xb9, 0x86, 0xc1, 0xaf, 0xf5, 0x83, 0xe1, 0xcd, 0x21, 0x56, 0xcd, 0x54, 0xd8,
|
||
0xcf, 0xdc, 0x67, 0x8b, 0x0d, 0x3e, 0x90, 0x7d, 0xf6, 0x54, 0x23, 0x8d, 0x5e, 0xa0, 0xe6, 0x98,
|
||
0xe2, 0x2e, 0x9d, 0xda, 0xa6, 0xd2, 0xbe, 0xbe, 0x5e, 0x43, 0x85, 0xdc, 0x42, 0x1a, 0xb0, 0x42,
|
||
0x2a, 0xe9, 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32_t rsa_bitwidth[3] = {512, 1024, 2048};
|
||
uint8_t *rsa_keyn[3] = {rsa512_keyn, rsa1024_keyn, rsa2048_keyn,};
|
||
uint8_t *rsa_keye[3] = {rsa512_keye, rsa1024_keye, rsa2048_keye,};
|
||
uint8_t *rsa_keyd[3] = {rsa512_keyd, rsa1024_keyd, rsa2048_keyd,};
|
||
uint8_t *rsa_src[3] = {rsa512_src, rsa1024_src, rsa2048_src,};
|
||
uint8_t *rsa_enc[3] = {rsa512_enc, rsa1024_enc, rsa2048_enc,};
|
||
uint8_t *rsa_sha256[3] = {rsa512_sha256, rsa1024_sha256, rsa2048_sha256,};
|
||
uint8_t *rsa_sha256_raw[3] = {rsa512_sha256_raw, rsa1024_sha256_raw, rsa2048_sha256_raw,};
|
||
uint8_t *rsa_sha256_sign[3] = {rsa512_sha256_sign, rsa1024_sha256_sign, rsa2048_sha256_sign,};
|
||
uint8_t *rsa_sign_raw[3] = {rsa512_sign_raw, rsa1024_sign_raw, rsa2048_sign_raw,};
|
||
uint8_t *rsa_signature[3] = {rsa512_sign, rsa1024_sign, rsa2048_sign,};
|
||
/* rsa test array end */
|
||
|
||
|
||
|
||
#if 0
|
||
################################### generate scripts ###################################
|
||
#!/bin/bash
|
||
|
||
if [ $# -ne 1 ]; then
|
||
echo "USAGE: $0 <header_file>"
|
||
exit
|
||
fi
|
||
|
||
HEADER_FILE=$1
|
||
rm -f $1
|
||
|
||
dump_to_header_file()
|
||
{
|
||
ARRAY_NAME=$1
|
||
ARRAY_SIZE=$2
|
||
FILE_NAME=$3
|
||
|
||
echo "uint8_t ${ARRAY_NAME}[${ARRAY_SIZE}] = {" >> ${HEADER_FILE}
|
||
hexdump -v -e '"\t" 16/1 "%02x " "\n"' ${FILE_NAME} -n ${ARRAY_SIZE} | awk '{ i = 1; printf("\t"); while (i <= NF) { printf("0x%s, ", $i); i++} printf("\n"); }' >> ${HEADER_FILE}
|
||
echo "};" >> ${HEADER_FILE}
|
||
}
|
||
|
||
function generate_aes_test_array()
|
||
{
|
||
AES=$1
|
||
KEYLEN=$2
|
||
SRCLEN=$3
|
||
KEYLEN_BYTE=$((${KEYLEN} / 8))
|
||
|
||
# generate random source data
|
||
if [ ! -f aes_src_${SRCLEN}.bin ]; then
|
||
dd if=/dev/urandom of=aes_src_${SRCLEN}.bin bs=1 count=${SRCLEN} > /dev/null 2>&1
|
||
SRC_ALIGN_LEN=$(((${SRCLEN} + 15)/16*16))
|
||
dump_to_header_file "aes_src_${SRCLEN}" "${SRC_ALIGN_LEN}" "aes_src_${SRCLEN}.bin"
|
||
fi
|
||
|
||
# generate random key data
|
||
if [ ! -f aes_key_${KEYLEN}.bin ]; then
|
||
dd if=/dev/urandom of=aes_key_${KEYLEN}.bin bs=1 count=$((${KEYLEN}/8)) > /dev/null 2>&1
|
||
dump_to_header_file "aes_key_${KEYLEN}" "${KEYLEN_BYTE}" "aes_key_${KEYLEN}.bin"
|
||
fi
|
||
|
||
# generate random iv data
|
||
if [ ! -f aes_iv.bin ]; then
|
||
dd if=/dev/urandom of=aes_iv.bin bs=1 count=16 > /dev/null 2>&1
|
||
dump_to_header_file "aes_iv" "16" "aes_iv.bin"
|
||
fi
|
||
|
||
AES_KEY=`hexdump -v -e '32/1 "%02x" "\n"' aes_key_${KEYLEN}.bin`
|
||
AES_IV=`hexdump -v -e '32/1 "%02x" "\n"' aes_iv.bin`
|
||
openssl enc -aes-${KEYLEN}-${AES} -K ${AES_KEY} -iv ${AES_IV} -in aes_src_${SRCLEN}.bin -out aes_src_${SRCLEN}.bin.${AES}_${KEYLEN}.enc
|
||
if [ $? -ne 0 ]; then
|
||
echo "aes-${KEYLEN}-${AES} ${LEN} encrypt failed"
|
||
exit
|
||
fi
|
||
|
||
openssl enc -d -aes-${KEYLEN}-${AES} -K ${AES_KEY} -iv ${AES_IV} -in aes_src_${SRCLEN}.bin.${AES}_${KEYLEN}.enc -out aes_src_${SRCLEN}.bin.${AES}_${KEYLEN}.dec
|
||
if [ $? -ne 0 ]; then
|
||
echo "aes-${KEYLEN}-${AES} ${LEN} decrypt failed"
|
||
exit
|
||
fi
|
||
|
||
diff aes_src_${SRCLEN}.bin aes_src_${SRCLEN}.bin.${AES}_${KEYLEN}.dec
|
||
if [ $? -ne 0 ]; then
|
||
echo "aes-${KEYLEN}-${AES} ${LEN} encrypt/decrypt failed"
|
||
exit
|
||
fi
|
||
|
||
ENC_ALIGN_LEN=$(((${SRCLEN} + 16 - 1) / 16 * 16))
|
||
dump_to_header_file "aes_${KEYLEN}_${AES}_${SRCLEN}" "${ENC_ALIGN_LEN}" "aes_src_${SRCLEN}.bin.${AES}_${KEYLEN}.enc"
|
||
}
|
||
|
||
function generate_hash_test_array()
|
||
{
|
||
HASH=$1
|
||
LEN=$2
|
||
STR=`echo $HASH | tr 'a-z' 'A-Z'`
|
||
|
||
# generate random source data、key and iv
|
||
if [ ! -f hash_src_${LEN}.bin ]; then
|
||
dd if=/dev/urandom of=hash_src_${LEN}.bin bs=1 count=${LEN} > /dev/null 2>&1
|
||
SRC_ALIGN_LEN=$(((${LEN} + 15)/16*16))
|
||
dump_to_header_file "hash_src_${LEN}" "${SRC_ALIGN_LEN}" "hash_src_${LEN}.bin"
|
||
fi
|
||
|
||
openssl ${HASH} -binary -out hash_src_${LEN}.bin.${HASH} hash_src_${LEN}.bin
|
||
|
||
echo "uint8_t hash_${HASH}_${LEN}[${STR}_DIGEST_SIZE] = {" >> ${HEADER_FILE}
|
||
hexdump -v -e '"\t" 16/1 "%02x " "\n"' hash_src_${LEN}.bin.${HASH} | awk '{ i = 1; printf("\t"); while (i <= NF) { printf("0x%s, ", $i); i++} printf("\n"); }' >> ${HEADER_FILE}
|
||
echo "};" >> ${HEADER_FILE}
|
||
}
|
||
|
||
function generate_rsa_test_array()
|
||
{
|
||
LEN=$1
|
||
COUNT=`expr $LEN / 8`
|
||
COUNT_1=`expr $COUNT - 1`
|
||
|
||
# generate random source data,set the first byte to 0x00 to reduce the probability of "data too large for modulus" errors
|
||
dd if=/dev/zero of=rsa_src_${LEN}.bin bs=1 count=1 > /dev/null 2>&1
|
||
dd if=/dev/urandom of=rsa_src_${LEN}.bin seek=1 bs=1 count=${COUNT_1} > /dev/null 2>&1
|
||
|
||
# generate rsa keys
|
||
openssl genrsa -out rsa_${LEN}_pri.pem ${LEN} > /dev/null 2>&1
|
||
openssl rsa -in rsa_${LEN}_pri.pem -pubout -out rsa_${LEN}_pub.pem > /dev/null 2>&1
|
||
|
||
# get n(modulus), d(privateExponent)
|
||
openssl rsa -in rsa_${LEN}_pri.pem -modulus -noout | awk -F = '{print $2}' | xxd -ps -r > rsa_${LEN}_keyn.bin
|
||
openssl rsa -in rsa_${LEN}_pri.pem -inform pem -text -noout | awk '/^[^ ]/{if($1 == "privateExponent:") {dump=1} else {dump=0}} /^ /{if(dump==1){gsub(":","");printf "%s", $1}}END{print ""}' | xxd -ps -r > rsa_${LEN}_keyd.bin
|
||
firstbyte=`head -c 1 rsa_${LEN}_keyd.bin | xxd -p`
|
||
keyd_len=`stat --printf="%s" rsa_${LEN}_keyd.bin`
|
||
if [ "x${firstbyte}" == "x00" ]; then
|
||
if (( ${keyd_len} == ${COUNT} + 1 )); then
|
||
dd if=rsa_${LEN}_keyd.bin of=rsa_${LEN}_keyd_real.bin bs=1 count=${COUNT} skip=1 > /dev/null 2>&1
|
||
mv rsa_${LEN}_keyd_real.bin rsa_${LEN}_keyd.bin
|
||
fi
|
||
fi
|
||
|
||
# rsa encrypt and decrypt, note: src data size should be $COUNT
|
||
openssl rsautl -encrypt -raw -pubin -inkey rsa_${LEN}_pub.pem -in rsa_src_${LEN}.bin -out rsa_src_${LEN}.bin.enc
|
||
if [ $? -ne 0 ]; then
|
||
echo "rsa ${LEN} encrypt failed, maybe rsa_src_${LEN}.bin is bigger than modulus, please try again."
|
||
exit
|
||
fi
|
||
openssl rsautl -decrypt -raw -inkey rsa_${LEN}_pri.pem -in rsa_src_${LEN}.bin.enc -out rsa_src_${LEN}.bin.dec
|
||
diff rsa_src_${LEN}.bin rsa_src_${LEN}.bin.dec
|
||
if [ $? -ne 0 ]; then
|
||
echo "rsa ${LEN} encrypt/decrypt failed"
|
||
exit
|
||
fi
|
||
|
||
# rsa sign/verify sha256 hash value
|
||
openssl dgst -sha256 -binary -out rsa_src_${LEN}.bin.sha256 rsa_src_${LEN}.bin
|
||
openssl rsautl -sign -in rsa_src_${LEN}.bin.sha256 -inkey rsa_${LEN}_pri.pem -out rsa_src_${LEN}.bin.sha256.sign
|
||
openssl rsautl -verify -in rsa_src_${LEN}.bin.sha256.sign -pubin -inkey rsa_${LEN}_pub.pem -out rsa_src_${LEN}.bin.sha256v
|
||
diff rsa_src_${LEN}.bin.sha256 rsa_src_${LEN}.bin.sha256v
|
||
if [ $? -ne 0 ]; then
|
||
echo "rsa ${LEN} sign/veirfy sha256 hash value failed"
|
||
exit
|
||
fi
|
||
# get raw src data which sign (PKCS#1 v1.5 padding)
|
||
openssl rsautl -verify -in rsa_src_${LEN}.bin.sha256.sign -pubin -inkey rsa_${LEN}_pub.pem -raw -out rsa_src_${LEN}.bin.sha256_raw
|
||
|
||
# rsa dgst sign/verify src file
|
||
openssl dgst -sign rsa_${LEN}_pri.pem -sha256 -out rsa_src_${LEN}.bin.sign rsa_src_${LEN}.bin
|
||
openssl dgst -verify rsa_${LEN}_pub.pem -sha256 -signature rsa_src_${LEN}.bin.sign rsa_src_${LEN}.bin > /dev/null
|
||
if [ $? -ne 0 ]; then
|
||
echo "rsa ${LEN} sign/veirfy src file failed"
|
||
exit
|
||
fi
|
||
# get raw src data which sign (ASN1 structure + PKCS#1 v1.5 padding)
|
||
openssl rsautl -verify -in rsa_src_${LEN}.bin.sign -pubin -inkey rsa_${LEN}_pub.pem -raw -out rsa_src_${LEN}.bin.sign_raw
|
||
|
||
dump_to_header_file "rsa${LEN}_keyn" "${COUNT}" "rsa_${LEN}_keyn.bin"
|
||
|
||
echo "uint8_t rsa${LEN}_keye[$COUNT] = {" >> ${HEADER_FILE}
|
||
echo -e "\t0x01, 0x00, 0x01" >> ${HEADER_FILE}
|
||
echo "};" >> ${HEADER_FILE}
|
||
|
||
dump_to_header_file "rsa${LEN}_keyd" "${COUNT}" "rsa_${LEN}_keyd.bin"
|
||
|
||
dump_to_header_file "rsa${LEN}_src" "${COUNT}" "rsa_src_${LEN}.bin"
|
||
|
||
dump_to_header_file "rsa${LEN}_enc" "${COUNT}" "rsa_src_${LEN}.bin.enc"
|
||
dump_to_header_file "rsa${LEN}_sha256" "32" "rsa_src_${LEN}.bin.sha256"
|
||
dump_to_header_file "rsa${LEN}_sha256_raw" "${COUNT}" "rsa_src_${LEN}.bin.sha256_raw"
|
||
dump_to_header_file "rsa${LEN}_sha256_sign" "${COUNT}" "rsa_src_${LEN}.bin.sha256.sign"
|
||
dump_to_header_file "rsa${LEN}_sign_raw" "${COUNT}" "rsa_src_${LEN}.bin.sign_raw"
|
||
dump_to_header_file "rsa${LEN}_sign" "${COUNT}" "rsa_src_${LEN}.bin.sign"
|
||
}
|
||
|
||
rm -rf rsa_* hash_* aes_*
|
||
|
||
################################### generate aes test array ###################################
|
||
echo -e "\n\n/* aes test array begin */" >> ${HEADER_FILE}
|
||
aes_srclen="13 16 192 223 256"
|
||
#aes_method="ecb cbc ctr cts ofb cfb"
|
||
aes_method="ecb cbc ctr ofb cfb8"
|
||
aes_keylen="128 192 256"
|
||
|
||
for i in ${aes_method}; do
|
||
for j in ${aes_keylen}; do
|
||
for k in ${aes_srclen}; do
|
||
generate_aes_test_array $i $j $k
|
||
done
|
||
done
|
||
done
|
||
AES_SRC_NUM=`echo ${aes_srclen} | wc -w`
|
||
echo "uint8_t *aes_src[${AES_SRC_NUM}] = {"`grep "aes_src_" ${HEADER_FILE} | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint32_t aes_src_len[${AES_SRC_NUM}] = {"`echo "${aes_srclen}" | sed 's/ /, /g'`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *aes_key[3] = {"`grep "aes_key_" ${HEADER_FILE} | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint32_t aes_key_len[3] = {16, 24, 32};" >> ${HEADER_FILE}
|
||
|
||
for i in ${aes_method}; do
|
||
echo "uint8_t *aes_${i}[3][${AES_SRC_NUM}] = {" >> ${HEADER_FILE}
|
||
grep "${i}_" ${HEADER_FILE} | awk '{print $2}' | awk -F [ '{print $1","}' | xargs -n ${AES_SRC_NUM} | awk '{print "\t"$0}' >> ${HEADER_FILE}
|
||
echo "};" >> ${HEADER_FILE}
|
||
done
|
||
|
||
echo "/* aes test array end */" >> ${HEADER_FILE}
|
||
|
||
################################### generate hash test array ###################################
|
||
echo -e "\n\n/* hash test array begin */" >> ${HEADER_FILE}
|
||
hash_srclen="50 124 255 512"
|
||
hash_method="md5 sha1 sha224 sha256 sha384 sha512"
|
||
for i in ${hash_method}; do
|
||
for j in ${hash_srclen}; do
|
||
generate_hash_test_array $i $j
|
||
done
|
||
done
|
||
HASH_SRC_NUM=`echo ${hash_srclen} | wc -w`
|
||
echo "uint8_t *hash_src[${HASH_SRC_NUM}] = {"`grep "hash_src" ${HEADER_FILE} | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint32_t hash_src_len[${HASH_SRC_NUM}] = {"`echo "${hash_srclen}" | sed 's/ /, /g'`"};" >> ${HEADER_FILE}
|
||
|
||
for i in ${hash_method}; do
|
||
echo "uint8_t *hash_${i}[${HASH_SRC_NUM}] = {"`grep "hash_${i}" ${HEADER_FILE} | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
done
|
||
|
||
echo "/* hash test array end */" >> ${HEADER_FILE}
|
||
|
||
################################### generate rsa test array ###################################
|
||
echo -e "\n\n/* rsa test array begin */" >> ${HEADER_FILE}
|
||
rsa_keylen="512 1024 2048"
|
||
for i in ${rsa_keylen}; do
|
||
generate_rsa_test_array $i
|
||
done
|
||
RSA_KEY_NUM=`echo ${rsa_keylen} | wc -w`
|
||
echo "uint32_t rsa_bitwidth[${RSA_KEY_NUM}] = {"`echo "${rsa_keylen}" | sed 's/ /, /g'`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_keyn[${RSA_KEY_NUM}] = {"`grep "_keyn" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_keye[${RSA_KEY_NUM}] = {"`grep "_keye" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_keyd[${RSA_KEY_NUM}] = {"`grep "_keyd" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_src[${RSA_KEY_NUM}] = {"`grep "_src\[" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_enc[${RSA_KEY_NUM}] = {"`grep "_enc" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_sha256[${RSA_KEY_NUM}] = {"`grep "_sha256\[" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_sha256_raw[${RSA_KEY_NUM}] = {"`grep "_sha256_raw" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_sha256_sign[${RSA_KEY_NUM}] = {"`grep "_sha256_sign" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_sign_raw[${RSA_KEY_NUM}] = {"`grep "_sign_raw" ${HEADER_FILE} | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "uint8_t *rsa_signature[${RSA_KEY_NUM}] = {"`grep "_sign\[" ${HEADER_FILE} | grep -v sha256 | grep rsa | awk '{print $2}' | awk -F [ '{print $1","}' | xargs`"};" >> ${HEADER_FILE}
|
||
echo "/* rsa test array end */" >> ${HEADER_FILE}
|
||
|
||
echo -e "\n\n\n#if 0" >> ${HEADER_FILE}
|
||
echo "################################### generate scripts ###################################" >> ${HEADER_FILE}
|
||
cat $0 >> ${HEADER_FILE}
|
||
echo -e "#endif" >> ${HEADER_FILE}
|
||
#endif
|