Files
HiSTBLinuxV100R005C00SPC060/sample/cipher/sample_cenc.h
T
2024-08-12 23:03:27 +08:00

1180 lines
89 KiB
C

/******************************************************************************
Copyright (C), 2011-2021, Hisilicon Tech. Co., Ltd.
******************************************************************************
File Name : sample_rng.c
Version : Initial Draft
Author : Hisilicon
Created : 2012/07/10
Last Modified :
Description : sample for cipher
Function List :
History :
******************************************************************************/
#include "hi_type.h"
#include "hi_unf_cipher.h"
#define MAX_SUBSAMPLE_CNT 10
typedef struct
{
HI_U8 enc[1024];
HI_U8 dec[1024];
HI_U8 key[16];
HI_U8 iv[16];
HI_UNF_CIPHER_WORK_MODE_E mode;
HI_U32 length;
HI_U32 u32FirstEncryptOffset;
HI_U32 subsampleNum;
HI_UNF_CIPHER_SUBSAMPLE_EX_S subsample[MAX_SUBSAMPLE_CNT];
}cenc_gold_s;
static cenc_gold_s cenc_sample_data[] =
{
{//sample 0
{//enc
0xa,0x95,0x9,0xb6,0x45,0x6b,0xf6,0x42,0xf9,0xca,0x9e,0x53,0xca,0x5e,0xe4,0x55,
0x12,0x72,0xfe,0x87,0x72,0xd,0x64,0x81,0x82,0xc3,0xe7,0x14,0x57,0xb9,0x11,0xc3,
0x3a,0xc,0xb6,0x90,0x35,0x39,0x83,0xdf,0x95,0xeb,0xe2,0x66,0xe0,0x4,0xc2,0x68,
0x7d,0x3a,0x99,0xe1,0xad,0x6a,0xa9,0x30,0x5a,0x1a,0x1e,0x53,0x7b,0x88,0xed,0x31,
0xcd,0x72,0xb3,0x6b,0x2,0x7e,0xce,0xa8,0x9b,0xb1,0xef,0x6e,0x49,0x4f,0x4d,0x36,
0x5b,0xe9,0x55,0x21,0xf5,0x9c,0x7c,0x62,0x7c,0x3b,0xb7,0xff,0x5b,0x42,0xe8,0x99,
0x97,0xe2,0xa3,0xce,0xd4,0x49,0x6a,0xab,0x1b,0x6b,0x1b,0xe5,0xd2,0xa0,0x9c,0x7e,
0x66,0x3c,0x31,0x87,0xfd,0x64,0x6c,0x2e,0x86,0x41,0x16,0x8,0x29,0x4f,0x61,0x94,
0x29,0x83,0xa2,0x81,0x99,0xee,0x99,0xf3,0x39,0xb9,0x3c,0xd0,0x31,0x80,0xe8,0x47,
0x5f,0x84,0x16,0xcb,0x37,0xe3,0x89,0xa,0x25,0xdd,0xe0,0xad,0x7d,0x21,0x36,0x7,
0xd0,0x64,0x34,0x15,0x65,0x9f,0xd6,0x48,0x4b,0x83,0x74,0xa4,0xde,0xb7,0xe,0xdf,
0xf5,0x40,0x1e,0x36,0x2a,0x75,0x7f,0xb6,0x8,0x97,0xc,0x6,0xff,0xa5,0xda,0x41,
0xa2,0xfc,0xb5,0xb6,0x1c,0x94,0x2,0x3d,0x76,0x53,0xe6,0x47,0x15,0xec,0x13,0x55,
0x47,0xe3,0x15,0x51,0x26,0x4c,0xeb,0xc8,0x60,0x61,0xb9,0xc7,0x9b,0xf9,0x33,0x37,
0xdf,0xf9,0xf,0x80,0x60,0x48,0x2d,0xc5,0xb4,0x31,0x3d,0xea,0x3b,0x19,0x2b,0x99,
0x91,0x4e,0xca,0x2e,0x6a,0xc7,0x33,0x95,0x74,0xbb,0x5b,0x71,0x9,0xce,0x67,0x6a,
0x3e,0xde,0x53,0xa8,0xf2,0x84,0xfe,0xda,0x1a,0xd2,0x7a,0xce,0x88,0xd0,0xbe,0x4b,
0xd0,0x9,0x29,0x65,0x10,0x7b,0xd3,0x5a,0xe8,0x68,0x7b,0x23,0x90,0xea,0x7b,0xbc,
0x11,0xa6,0xdc,0x4c,0x87,0x6f,0xe8,0xaa,0x5,0x25,0x15,0xd7,0xd9,0x62,0xae,0x3d,
0xd4,0xe6,0x28,0x83,0xcc,0x13,0x69,0x85,0xb1,0x60,0xf6,0xc6,0x74,0x29,0xf2,0xa4,
0xc7,0x8b,0x10,0x97,0x7b,0x8c,0xf8,0x53,0x96,0x13,0x18,0xbc,0x4e,0xc8,0x72,0x6c,
0x56,0x5d,0xe8,0x0,0xd8,0x22,0xb9,0x2a,0x8b,0x2d,0x9a,0x3d,0xcc,0x90,0x5c,0xce,
0xaa,0x7d,0x5e,0x0,0xec,0x66,0xc1,0x82,0x9c,0xde,0x64,0x3e,0x3a,0x97,0xa,0xa6,
0xc7,0x38,0x7c,0xe6,0x71,0x65,0x70,0x96,0x5e,0x89,0x12,0x97,0x73,0x11,0x32,0x80,
0x99,0xda,0x9a,0xb8,0x57,0x75,0x9e,0xf,0x40,0x20,0x36,0x2f,0x12,0xd4,0xb4,0x53,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0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e,0x8f,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 400, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x190, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 1
{//enc
0xa,0x95,0x9,0xb6,0x45,0x6b,0xf6,0x42,0xf9,0xca,0x9e,0x53,0xca,0x5e,0xe4,0x55,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x82,0xe2,0x6e,0x17,0xe2,0x9d,0xf4,0x11,0x12,0x53,0x77,0x84,0xc7,0x29,0x81,0x53,
0x8a,0xbc,0x6,0x20,0x85,0x89,0x33,0x6f,0x25,0x5b,0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76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,
0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,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xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 400, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x190, 0x03 * 16, 0x07 * 16, 0x02 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 2
{//enc
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79,
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5,
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc,
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87,
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x85,0x11,0xf3,0x37,0x70,0x3,0xaa,0x2b,0x29,0x22,0x97,0x73,0xea,0x68,0xe8,0xb1,
0x93,0x5d,0x87,0xc7,0xdc,0xcd,0x40,0xd1,0x9d,0xa0,0x17,0x82,0x5f,0x2a,0x48,0xe0,
0xe7,0x7f,0xa4,0xb1,0xcb,0x26,0xcd,0xd6,0x52,0xac,0xfc,0x1a,0xfc,0x49,0xe3,0x13,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 176, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset IV */
{ 0x00, 0x0B * 16, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 3, last block <> 16,
{//enc
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79, //enc
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5, //enc
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc, //enc
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87, //enc
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3, //enc
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x85,0x11,0xf3,0x37,0x70,0x3,0xaa,0x2b,0x29,0x22,0x97,0x73,0xea,0x68,0xe8,0xb1, //enc
0x93,0x5d,0x87,0xc7,0xdc,0xcd,0x40,0xd1,0x9d,0xa0,0x17,0x82,0x5f,0x2a,0x48,0xe0, //enc
0xe7,0x7f,0xa4,0xb1,0xcb,0x26,0xcd,0xd6,0x52,0xac,0xfc,0x1a,0xfc,0x49,0xe3,0x13, //enc
0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 183, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset */
{ 0x00, 0x0B * 16 + 7, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 4, 3 subsample,
{//enc
/*sunsample 0*/
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
/*sunsample 1*/
0xA5,0xA5,0xA5,0xA5, //clear head
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
/*sunsample 2*/
0xA5,0xA5,0xA5,0xA5, 0xA5,0xA5,0xA5,0xA5,//clear head
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc, //enc
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87, //enc
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3, //enc
0x85,0x11,0xf3,0x37,0x70,0x3,0xaa,0x2b,0x29,0x22,0x97,0x73,0xea,0x68,0xe8,0xb1, //enc
0x93,0x5d,0x87,0xc7,0xdc,0xcd,0x40,0xd1,0x9d,0xa0,0x17,0x82,0x5f,0x2a,0x48,0xe0, //enc
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0xe7,0x7f,0xa4,0xb1,0xcb,0x26,0xcd,0xd6,0x52,0xac,0xfc,0x1a,0xfc,0x49,0xe3,0x13, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
},
{//dec
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0xa5, 0xa5, 0xa5, 0xa5, 0x10, 0x11, 0x12, 0x13, 0x14,
0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24,
0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x10, 0x11, 0x12, 0x13, 0x14,
0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x55, 0x55, 0x55, 0x55, 0x55,
0x55, 0x55, 0x55, 0x55, 0x55, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0x20, 0x21, 0x22,
0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32,
0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x10, 0x11, 0x12,
0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x10, 0x11, 0x12,
0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x40, 0x41, 0x42,
0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x80, 0x81, 0x82,
0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92,
0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0x90, 0x91, 0x92,
0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0x10, 0x11, 0x12,
0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0xa0, 0xa1, 0xa2,
0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0x55, 0x55, 0x55,
0x55, 0x55, 0x55, 0x55
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 14 * 16 + 12 + 24, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset */
{ 0, 0x01 * 16 + 7, 0x02 * 16, 0x01 * 16, 0x01 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 0 | E16 | 7
{ 4, 0x03 * 16 + 10, 0x02 * 16, 0x02 * 16, 0x02 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 4 | 32 | E16 | 10
{ 8, 0x0A * 16 + 7, 0x03 * 16, 0x02 * 16, 0x01 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 8 | E32 | 32 | E48 | 32 | 7
}
},
{//sample 5, 3 subsample,
{//enc
/*sunsample 0*/
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
/*sunsample 1*/
0xA5,0xA5,0xA5,0xA5, //clear head
0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,
0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5, //enc
/*sunsample 2*/
0xA5,0xA5,0xA5,0xA5, 0xA5,0xA5,0xA5,0xA5,//clear head
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc, //enc
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87, //enc
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3, //enc
0x85,0x11,0xf3,0x37,0x70,0x3,0xaa,0x2b,0x29,0x22,0x97,0x73,0xea,0x68,0xe8,0xb1, //enc
0x93,0x5d,0x87,0xc7,0xdc,0xcd,0x40,0xd1,0x9d,0xa0,0x17,0x82,0x5f,0x2a,0x48,0xe0, //enc
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0xe7,0x7f,0xa4,0xb1,0xcb,0x26,0xcd,0xd6,0x52,0xac,0xfc,0x1a,0xfc,0x49,0xe3,0x13, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
},
{//dec
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0xa5, 0xa5, 0xa5, 0xa5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5,
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5,
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0x10, 0x11, 0x12, 0x13, 0x14,
0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
0xa5, 0xa5, 0xa5, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c,
0x3d, 0x3e, 0x3f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c,
0x4d, 0x4e, 0x4f, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c,
0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c,
0x9d, 0x9e, 0x9f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c,
0x9d, 0x9e, 0x9f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac,
0xad, 0xae, 0xaf, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 14 * 16 + 12 + 14, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset */
{ 0, 0x01 * 16 + 7, 0x02 * 16, 0x01 * 16, 0x01 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},// 0 | E16 | 7
{ 36, 0x01 * 16, 0x02 * 16, 0x02 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 36| E16 | 10
{ 8, 0x0A * 16 + 7, 0x03 * 16, 0x02 * 16, 0x01 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 8 | E32 | 32 | E48 | 32 | 7
}
},
{//sample 6, iv change,
{//enc
/*sunsample 0*/
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
/*sunsample 1*/
0xA5,0xA5,0xA5,0xA5, //clear head
0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,
0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5, //enc
/*sunsample 2*/
0xA5,0xA5,0xA5,0xA5, 0xA5,0xA5,0xA5,0xA5,//clear head
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79, //enc
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5, //enc
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc, //enc
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87, //enc
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3, //enc
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x69,0xf3,0xff,0xd0,0xfc,0xb1,0xa1,0x5e,0xa0,0xdc,0xd6,0xc1,0x75,0x7,0x9d,0x45, //enc
0x55,0x55,0x55,0x55,0x55,0x55,0x55,
},
{//dec
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0x10, 0x11, 0x12, 0x13, 0x14,
0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
0xa5, 0xa5, 0xa5, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c,
0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c,
0x4d, 0x4e, 0x4f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c,
0x9d, 0x9e, 0x9f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c,
0x1d, 0x1e, 0x1f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c,
0x5d, 0x5e, 0x5f, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 14 * 16 + 12 + 14, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset */
{ 0, 0x01 * 16 + 7, 0x02 * 16, 0x01 * 16, 0x01 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},// 0 | E16 | 7
{ 36, 0x01 * 16, 0x02 * 16, 0x02 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 36| E16 | 10
{ 8, 0x0A * 16 + 7, 0x03 * 16, 0x02 * 16, 0x01 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}}, // 8 | E32 | 32 | E48 | 32 | 7
}
},
{//sample 7
{//enc
0xc6,0xa1,0x3b,0x37,0x87,0x8f,0x5b,0x82,0x6f,0x4f,0x81,0x62,0xa1,0xc8,0xd8,0x79,
0x35,0xd9,0xdc,0xdb,0x82,0x9f,0xec,0x33,0x52,0xe7,0xbf,0x10,0xb8,0x4b,0xe4,0xa5,
0x7b,0x30,0x46,0x46,0x5,0xf0,0x2a,0x9,0x4c,0xa,0xf7,0xad,0x98,0x4f,0x61,0xfc,
0xd8,0x84,0x34,0xa5,0x59,0x1d,0xbc,0x8f,0xd9,0x63,0x8,0x12,0xd3,0xa2,0x7b,0x87,
0x25,0xcc,0x26,0xee,0x46,0x93,0x13,0x40,0xc1,0xa9,0xf1,0xd,0x82,0x2e,0xaa,0xe3,
0x69,0xf3,0xff,0xd0,0xfc,0xb1,0xa1,0x5e,0xa0,0xdc,0xd6,0xc1,0x75,0x7,0x9d,0x45,
0x37,0xd1,0xe1,0x58,0xec,0x3d,0x2f,0x67,0x7,0xde,0x48,0x12,0x5f,0xc4,0xa4,0xcb,
0x22,0x62,0x2b,0x9d,0xd6,0xea,0x3d,0x1e,0xec,0xc9,0xc1,0x5e,0x53,0xea,0x33,0x8b,
0x92,0x3a,0xb9,0xcc,0xf,0xcc,0x8d,0x8d,0xda,0x45,0x57,0xa7,0x9,0xe5,0x3e,0xe1,
0x24,0xd,0xfb,0xbb,0x4e,0x93,0x18,0x85,0x7e,0x4b,0x84,0x2a,0x9d,0xae,0x3c,0x2d,
0x72,0x7a,0x39,0x39,0xdb,0x64,0x24,0xed,0xba,0x80,0xe6,0xf8,0x98,0xd8,0x35,0xa7,
0x0,0x1,0x2,0x3
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,
0x0,0x1,0x2,0x3
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CBC, 180, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear, payload, encrypt, skip, offset */
{ 0x00, 0x0b * 16 + 4, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 8
{//enc
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x13,0x8e,0x10,0xa9,0x5c,0x70,0xef,
0x65,0xd0,0xe1,0xb7,0x7c,0xe3,0x75,0xcd,0x72,0x2b,0x49,0xc7,0xb8,0x4b,0x36,0x5d,
0xa6,0xab,0xe8,0xce,0x3b,0x7e,0x92,0x38,0xe4,0x23,0x17,0xaf,0x8f,0x2c,0x22,0x9a,
0xb8,0xfc,0x80,0x8b,0x9,0x89,0x6f,0xab,0xf,0x4,0x41,0xe0,0x9e,0xd4,0x11,0xd0,
0x57,0x33,0x71,0x77,0x3c,0x12,0xe3,0x84,0x56,0xd4,0x69,0xaa,0x74,0x1b,0x65,0xd7,
0x8f,0xb2,0x9a,0xc6,0x41,0x60,0x64,0x64,0x11,0x62,0xd2,0x6c,0x1e,0xcc,0xa7,0x45,
0x45,0x55,0x10,0x9e,0xd0,0x72,0x69,0xc1,0xbe,0x8e,0xf9,0xba,0xd1,0xcd,0x52,0x73,
0x4c,0xf2,0x80,0xf2,0xa,0x3b,0x4b,0x75,0x99,0x9f,0xc7,0xc8,0x78,0x4,0x9f,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0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 676, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0xa0, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x32, 0x100, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x19, 0xa0, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 9
{//enc
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11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7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 676, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0xa0, 0x03 * 16, 0x07 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x32, 0x100, 0x03 * 16, 0x07 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x19, 0xa0, 0x03 * 16, 0x07 * 16, 0x00 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 10, line 3904
{//enc
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x13,0x8e,0x10,0xa9,0x5c,0x70,0xef,
0x65,0xd0,0xe1,0xb7,0x7c,0xe3,0x75,0xcd,0x72,0x2b,0x49,0xc7,0xb8,0x4b,0x36,0x5d,
0xa6,0xab,0xe8,0xce,0x3b,0x7e,0x92,0x38,0xe4,0x23,0x17,0xaf,0x8f,0x2c,0x22,0x9a,
0xb8,0xfc,0x80,0x8b,0x9,0x89,0x6f,0xab,0xf,0x4,0x41,0xe0,0x9e,0xd4,0x11,0xd0,
0x57,0x33,0x71,0x77,0x3c,0x12,0xe3,0x84,0x56,0xd4,0x69,0xaa,0x74,0x1b,0x65,0xd7,
0x8f,0xb2,0x9a,0xc6,0x41,0x60,0x64,0x64,0x11,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7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xf0,0x84,0x2f,0xe2,0x67,0x6c,0xc8,
0x42,0xc4,0x7e,0x60,0x42,0x49,0xfc,0x14,0xc4,0x3e,0xa5,0x36,0x9f,0x39,0x8e,0x29,
0xc0,0x9c,0x50,0xc2,0x9e,0x49,0x6a,0x34,0xd0,0x5a,0xfd,0xbe,0xa8,0xea,0x50,0xa,
0x36,0x9b,0x6,0xaa,0xd3,0x2c,0x68,0xf2,0x6d,0x79,0x6c,0x8a,0x4a,0x9d,0x6,0x83,
0x7f,0x1d,0x3e,0x8c,0x6d,0x2e,0x6e,0x4c,0xab,0x89,0x62,0xf3,0xb4,0xd4,0xc2,0xdb,
0x1e,0xd8,0xb8,0x5f,0xe7,0xcc,0x38,0x48,0xd8,0x54,0x98,0xbf,0x48,0x91,0x2a,0xe,
0xbe,0x23,0x8f,0x13,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,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31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f,
0xa0,0xa1,0xa2,0xa3,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 676, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0xa0, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x32, 0x100, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
{0x19, 0xA0, 0x09 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
},
},
{//sample 11, line 6126, sub[1] block_offset size:0x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4,
0x2d,0x0a,0x49,0xd6,0x87,0x53,0x99,0x9b,0xa6,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xe3,0x89,0x7a,0x68,0x60,0x81,0xb0,0x9d,0xb9,0xad,0x2b,0x2e,0x34,
0x6a,0xc2,0x38,0x50,0x5d,0x36,0x5e,0x9c,0xb7,0xfc,0x56,0x30,0x63,0xb6,0xdf,0x0a,
0x2c,0xdb,0xb0,0x85,0x12,0x51,0xd2,0xc6,0x69,0xd1,0xbf,0x9b,0x82,0x99,0x89,0x64,
0x72,0x81,0x41,0x40,0x5e,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 165, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0x08, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x20, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x32, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
}
},
{//sample 12, line 6126, sub[1] block_offset size:0x8
{//enc
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0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0xc0,0xbf,0x87,0x09,0x5a,0x72,0x48,0x26,0xf5,0x77,0x08,0x3a,
0x17,0x2c,0x86,0x66,0x3a,0x55,0x0c,0x15,0xa7,0x3a,0x4e,0xf7,0x76,0x81,0x42,0x89,
0x14,0xd5,0x77,0x9d,0x2d,0x6c,0x17,0xbe,0x7a,0xcf,0x6c,0x50,0xf4,0x82,0x38,0x45,
0x02,0x51,0x42,0x4e,0xbb
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 165, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0x08, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFEFFFFFF}},
{0x19, 0x20, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x32, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
}
},
{//sample 13, line 6126, iv changes in sub 2
{//enc
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,
},
{//dec
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb6,0xb5,0xc2,0xd8,0x2d,0x8b,0xd4,
0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xcf,0x4e,0xd8,0xf4,0xae,0x6e,
0x97,0xee,0x3c,0x44,0x1f,0x32,0xce,0x07,0x82,0x23,0x64,0xd7,0xa2,0x99,0x0e,0x50,
0xbb,0x13,0x25,0xd4,0xe9,0x48,0xbd,0x5e,0x12,0x96,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x3c,0x44,0x1f,0x32,0xce,0x07,0x82,0x23,0x64,0xd7,0xa2,0x99,0x0e,
0x50,0xbb,0x13,0x25,0xd4,0xe9,0x48,0xbd,0x5e,0x12,0x96,0xaf,0xc0,0xbf,0x87,0x09,
0x5a,0x72,0x48,0x26,0xf5,0x77,0x08,0x3a,0x17,0x2c,0x86,0x66,0x3a,0x55,0x0c,0x15,
0xa7,0x3a,0x4e,0xf7,0x76,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 165, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0x08, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFEFFFFFF}},
{0x19, 0x20, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x32, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF}},
}
},
{//sample 14, line 6126, iv no changes in sub 0
{//enc
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,
},
{//dec
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x81,0x42,0x89,0x14,0xd5,0x77,0x9d,
0x2d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6c,0x17,0xbe,0x7a,0xcf,0x6c,
0x50,0xf4,0x82,0x38,0x45,0x02,0x51,0x42,0x4e,0xbb,0xf8,0x05,0x12,0x40,0x37,0xe9,
0xa8,0xdd,0xb6,0xd8,0x27,0x38,0xd0,0xe7,0x3e,0xe7,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x3c,0x44,0x1f,0x32,0xce,0x07,0x82,0x23,0x64,0xd7,0xa2,0x99,0x0e,
0x50,0xbb,0x13,0x25,0xd4,0xe9,0x48,0xbd,0x5e,0x12,0x96,0xaf,0xc0,0xbf,0x87,0x09,
0x5a,0x72,0x48,0x26,0xf5,0x77,0x08,0x3a,0x17,0x2c,0x86,0x66,0x3a,0x55,0x0c,0x15,
0xa7,0x3a,0x4e,0xf7,0x76
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 165, 2, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0x08, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFEFFFFFF}},
{0x19, 0x20, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x32, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF}},
}
},
{//sample 15
{//enc
0xC7,0x1A,0x1A,0x34,0x68,0x9D,0x80,0x4E,0x85,0x98,0xBA,0x57,0x7A,0xBD,0xFF,0x25,
0x57,0x58,0x92,0x3D,0xAD,0xC8,0x4D,0xFB,0x2C,0x0A,0x1B,0xAD,0xC4,0xE0,0x87,0x85,
0x92,0x8F,0x85,0xE5,0x4C,0xCE,0x6D,0xC4,
},
{//dec
0x47,0x40,0x00,0x10,0x00,0x00,0xb0,0x0d,0x00,0x01,0xc1,0x00,0x00,0x00,0x0b,0xe1,
0x37,0x2f,0xf8,0x5e,0xde,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
},
{ 0xB8, 0x35, 0x49, 0xE6, 0xAD, 0xD7, 0x1A, 0x3A, 0x9D, 0x7D, 0x22, 0x76, 0x1B, 0x7B, 0xCE, 0x0A }, //key
{ 0x6a, 0x44, 0x2a, 0x8d, 0xd2, 0xa7, 0x68, 0xd4, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 40, 0, 2, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x08, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x8d2a446a, 0xd468a7d2, 0x00000000, 0x00000000}},
{0x00, 0x20, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
}
},
{//sample 16
{//enc
0xC7,0x1A,0x1A,0x34,0x68,0x9D,0x80,0x4E,
},
{//dec
0x47,0x40,0x00,0x10,0x00,0x00,0xb0,0x0d,
},
{ 0xB8, 0x35, 0x49, 0xE6, 0xAD, 0xD7, 0x1A, 0x3A, 0x9D, 0x7D, 0x22, 0x76, 0x1B, 0x7B, 0xCE, 0x0A }, //key
{ 0x6a, 0x44, 0x2a, 0x8d, 0xd2, 0xa7, 0x68, 0xd4, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 8, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x08, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x8d2a446a, 0xd468a7d2, 0x00000000, 0x00000000}},
}
},
{//sample 17
{//enc
0x85,0x98,0xBA,0x57,0x7A,0xBD,0xFF,0x25,
0x57,0x58,0x92,0x3D,0xAD,0xC8,0x4D,0xFB,0x2C,0x0A,0x1B,0xAD,0xC4,0xE0,0x87,0x85,
0x92,0x8F,0x85,0xE5,0x4C,0xCE,0x6D,0xC4,
},
{//dec
0x00,0x01,0xc1,0x00,0x00,0x00,0x0b,0xe1,
0x37,0x2f,0xf8,0x5e,0xde,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
},
{ 0xB8, 0x35, 0x49, 0xE6, 0xAD, 0xD7, 0x1A, 0x3A, 0x9D, 0x7D, 0x22, 0x76, 0x1B, 0x7B, 0xCE, 0x0A }, //key
{ 0x6a, 0x44, 0x2a, 0x8d, 0xd2, 0xa7, 0x68, 0xd4, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 32, 8, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x20, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
}
},
{//sample 18
{//enc
0x99, 0x0e, 0xa8, 0x73, 0xac, 0x3f, 0x61, 0x67, 0xd0, 0x8b, 0xb5, 0x23, 0xf4, 0x6d, 0x39, 0x1f,
0x4d, 0x20, 0x1b, 0xe3, 0x15, 0x84, 0x95, 0x0c, 0xd0, 0xde, 0xcd, 0xee, 0x8a, 0xb1, 0xd5, 0x33,
},
{//dec
0x47, 0x5f, 0xff, 0x1c, 0x00, 0x72, 0x70, 0xb4, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
},
{ 0xB8, 0x35, 0x49, 0xE6, 0xAD, 0xD7, 0x1A, 0x3A, 0x9D, 0x7D, 0x22, 0x76, 0x1B, 0x7B, 0xCE, 0x0A }, //key
{ 0x6a, 0x44, 0x2a, 0x8d, 0xd2, 0xa7, 0x68, 0xd4, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 32, 0, 2, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x00, 0x10, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x8d2a446a, 0xd568a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,0x00,0x00,0x55,0x1c,0x18,0x28,0x68,0xc4,
0x1e,0x4e,0x58,0xc1,0x04,0x41,0x0e,0x34,0x0c,0x94,0xac,0x51,0x07,0x6d,0xd4,0x43,
0x63,0x08,0x2f,0x62,0x47,0x89,0x13,0x69,0xc5,0xc8,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x65,0xed,0xe1,0x48,0xd3,0x59,0xce,0x59,0xc4,0x70,0x6c,0x78,0xa5,
0xdf,0x19,0x1a,0xe3,0x2e,0x23,0xde,0xf4,0x6e,0xfe,0xa4,0xae,0x0b,0xbb,0x2f,0x6e,
0xfe,0x37,0xbf,0x14,0xe1,0x18,0xc8,0xe3,0x92,0xed,0x2c,0xbf,0x6b,0x7d,0xd9,0xa9,
0x95,0x12,0x6d,0x86,0x23
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 165, 0, 3, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x19, 0x08, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_TRUE, {0xFFFFFFFF, 0xFEFFFFFF, 0xFFFFFFFF, 0xFEFFFFFF}},
{0x19, 0x20, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
{0x19, 0x32, 0x07 * 16, 0x03 * 16, 0x02 * 16, HI_FALSE, {0x00000000, 0x00000000, 0x00000000, 0x00000000}},
}
},
{//sample 20, clear TS
{//enc
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,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0xe9,0xea,0xeb,0xec,0xed,0xee,0xef,
0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff,
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0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1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 400, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, payload size, encrypt, skip, offset */
{0x190, 0x000, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 21
{//enc
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0xa,0x95,0x9,0xb6,0x45,0x6b,0xf6,0x42,0xf9,0xca,0x9e,0x53,0xca,0x5e,0xe4,0x55,
0x12,0x72,0xfe,0x87,0x72,0xd,0x64,0x81,0x82,0xc3,0xe7,0x14,0x57,0xb9,0x11,0xc3,
0x3a,0xc,0xb6,0x90,0x35,0x39,0x83,0xdf,0x95,0xeb,0xe2,0x66,0xe0,0x4,0xc2,0x68,
0x7d,0x3a,0x99,0xe1,0xad,0x6a,0xa9,0x30,0x5a,0x1a,0x1e,0x53,0x7b,0x88,0xed,0x31,
0xcd,0x72,0xb3,0x6b,0x2,0x7e,0xce,0xa8,0x9b,0xb1,0xef,0x6e,0x49,0x4f,0x4d,0x36,
0x5b,0xe9,0x55,0x21,0xf5,0x9c,0x7c,0x62,0x7c,0x3b,0xb7,0xff,0x5b,0x42,0xe8,0x99,
0x97,0xe2,0xa3,0xce,0xd4,0x49,0x6a,0xab,0x1b,0x6b,0x1b,0xe5,0xd2,0xa0,0x9c,0x7e,
0x66,0x3c,0x31,0x87,0xfd,0x64,0x6c,0x2e,0x86,0x41,0x16,0x8,0x29,0x4f,0x61,0x94,
0x29,0x83,0xa2,0x81,0x99,0xee,0x99,0xf3,0x39,0xb9,0x3c,0xd0,0x31,0x80,0xe8,0x47,
0x5f,0x84,0x16,0xcb,0x37,0xe3,0x89,0xa,0x25,0xdd,0xe0,0xad,0x7d,0x21,0x36,0x7,
0xd0,0x64,0x34,0x15,0x65,0x9f,0xd6,0x48,0x4b,0x83,0x74,0xa4,0xde,0xb7,0xe,0xdf,
0xf5,0x40,0x1e,0x36,0x2a,0x75,0x7f,0xb6,0x8,0x97,0xc,0x6,0xff,0xa5,0xda,0x41,
0xa2,0xfc,0xb5,0xb6,0x1c,0x94,0x2,0x3d,0x76,0x53,0xe6,0x47,0x15,0xec,0x13,0x55,
0x47,0xe3,0x15,0x51,0x26,0x4c,0xeb,0xc8,0x60,0x61,0xb9,0xc7,0x9b,0xf9,0x33,0x37,
0xdf,0xf9,0xf,0x80,0x60,0x48,0x2d,0xc5,0xb4,0x31,0x3d,0xea,0x3b,0x19,0x2b,0x99,
0x91,0x4e,0xca,0x2e,0x6a,0xc7,0x33,0x95,0x74,0xbb,0x5b,0x71,0x9,0xce,0x67,0x6a,
0x3e,0xde,0x53,0xa8,0xf2,0x84,0xfe,0xda,0x1a,0xd2,0x7a,0xce,0x88,0xd0,0xbe,0x4b,
0xd0,0x9,0x29,0x65,0x10,0x7b,0xd3,0x5a,0xe8,0x68,0x7b,0x23,0x90,0xea,0x7b,0xbc,
0x11,0xa6,0xdc,0x4c,0x87,0x6f,0xe8,0xaa,0x5,0x25,0x15,0xd7,0xd9,0x62,0xae,0x3d,
0xd4,0xe6,0x28,0x83,0xcc,0x13,0x69,0x85,0xb1,0x60,0xf6,0xc6,0x74,0x29,0xf2,0xa4,
0xc7,0x8b,0x10,0x97,0x7b,0x8c,0xf8,0x53,0x96,0x13,0x18,0xbc,0x4e,0xc8,0x72,0x6c,
0x56,0x5d,0xe8,0x0,0xd8,0x22,0xb9,0x2a,0x8b,0x2d,0x9a,0x3d,0xcc,0x90,0x5c,0xce,
0xaa,0x7d,0x5e,0x0,0xec,0x66,0xc1,0x82,0x9c,0xde,0x64,0x3e,0x3a,0x97,0xa,0xa6,
0xc7,0x38,0x7c,0xe6,0x71,0x65,0x70,0x96,0x5e,0x89,0x12,0x97,0x73,0x11,0x32,0x80,
0x99,0xda,0x9a
},
{//dec
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,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x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f,
0x80,0x81,0x82
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 403, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, encrypt size, encrypt, skip, offset */
{0x10, 0x183, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c}},
}
},
{//sample 22
{//enc
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00
},
{//dec
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x71,0xa7,0xd6,0x5a,0xf2,0xae,0x7a,0x26,0x01,0x76,0xad,0x0a,0x18,0x1c,0x8c,0x77,
0x00,0x83,0xd9,0xce,0x48,0xe6,0x53,0x91,0x16,0xbe,0xf6,0x05,0x58,0x32,0x3f,0x62,
0x9d,0xc2,0x83,0x37,0xd6,0xd3,0xb4,0xbe,0x38,0x0d,0xd7,0x2d,0x8e,0x5c,0xc1,0xa5,
0x10,0x19,0xc7,0x81,0x80,0x55,0x50,0x51,0xd9,0x8a,0xa1,0xbf,0x0d,0x3d,0xae,0x53,
0x1c,0x14,0x92,0x63,0x80,0xb4,0xc6,0x9f,0x68,0x1e,0xae,0x44,0x0d,0xf9,0xf3,0xe0,
0x4f,0xff,0x10,0x74,0xbe,0xce,0xdc,0x95,0xf0,0x00,0x32,0x46,0x9b,0x24,0xf1,0xc5,
0xcd,0xe5,0xe5,0xaf,0xe6,0x1c,0x3b,0x48,0xde,0x93,0xfe,0xb7,0xe3,0xf6,0x43,0x8f,
0x68,0xbc,0x7f,0x64,0xaa,0x3c,0x2e,0xc2,0xe2,0x63,0xec,0x8c,0x7f,0xb0,0x2b,0x81,
0xfc,0x10,0x88,0x7f,0x51,0x54,0x30,0x63,0x35,0x59,0x5f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0x41,0x5b,0x3d,0x21,0x67,0x19,0x2c,0x87,
0xc1,0x3b,0x9a,0x93,0xbf,0x74,0x5d,0xca,0x0a,0x62,0x45,0x50,0x9f,0x07,0xc2,0x09,
0x43,0xfd,0x7d
},
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //key
{ 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf }, //iv
HI_UNF_CIPHER_WORK_MODE_CTR, 403, 0, 1, //mode, length, FirstEncryptOffset, subsampleNum
{//subsample,
/* clear size, encrypt size, encrypt, skip, offset */
{0x10, 0x183, 0x00 * 16, 0x00 * 16, 0x00 * 16, HI_TRUE, {0x03020100, 0x07060504, 0xFFFFFFFF, 0xFEFFFFFF}},
}
},
};