modes/cts128.c: make it indent-friendly.

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Andy Polyakov 2015-01-21 09:11:28 +01:00 committed by Matt Caswell
parent 061b67f6f5
commit 6ea3d1836b

View File

@ -311,28 +311,43 @@ static const unsigned char test_input[64] =
"hicken, please, " "and wonton soup."; "hicken, please, " "and wonton soup.";
static const unsigned char test_iv[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; static const unsigned char test_iv[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
static const unsigned char vector_17[17] = static const unsigned char vector_17[17] = {
{0xc6,0x35,0x35,0x68,0xf2,0xbf,0x8c,0xb4, 0xd8,0xa5,0x80,0x36,0x2d,0xa7,0xff,0x7f, 0xc6,0x35,0x35,0x68,0xf2,0xbf,0x8c,0xb4,
0xd8,0xa5,0x80,0x36,0x2d,0xa7,0xff,0x7f,
0x97}; 0x97};
static const unsigned char vector_31[31] = static const unsigned char vector_31[31] = {
{0xfc,0x00,0x78,0x3e,0x0e,0xfd,0xb2,0xc1, 0xd4,0x45,0xd4,0xc8,0xef,0xf7,0xed,0x22, 0xfc,0x00,0x78,0x3e,0x0e,0xfd,0xb2,0xc1,
0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5}; 0xd4,0x45,0xd4,0xc8,0xef,0xf7,0xed,0x22,
static const unsigned char vector_32[32] = 0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0,
{0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5};
0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84}; static const unsigned char vector_32[32] = {
static const unsigned char vector_47[47] = 0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5,
{0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8,
0xb3,0xff,0xfd,0x94,0x0c,0x16,0xa1,0x8c, 0x1b,0x55,0x49,0xd2,0xf8,0x38,0x02,0x9e, 0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0,
0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5}; 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84};
static const unsigned char vector_48[48] = static const unsigned char vector_47[47] = {
{0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84, 0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0,
0x9d,0xad,0x8b,0xbb,0x96,0xc4,0xcd,0xc0, 0x3b,0xc1,0x03,0xe1,0xa1,0x94,0xbb,0xd8, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84,
0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8}; 0xb3,0xff,0xfd,0x94,0x0c,0x16,0xa1,0x8c,
static const unsigned char vector_64[64] = 0x1b,0x55,0x49,0xd2,0xf8,0x38,0x02,0x9e,
{0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0, 0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84, 0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5,
0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8, 0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5};
0x48,0x07,0xef,0xe8,0x36,0xee,0x89,0xa5, 0x26,0x73,0x0d,0xbc,0x2f,0x7b,0xc8,0x40, static const unsigned char vector_48[48] = {
0x9d,0xad,0x8b,0xbb,0x96,0xc4,0xcd,0xc0, 0x3b,0xc1,0x03,0xe1,0xa1,0x94,0xbb,0xd8}; 0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0,
0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84,
0x9d,0xad,0x8b,0xbb,0x96,0xc4,0xcd,0xc0,
0x3b,0xc1,0x03,0xe1,0xa1,0x94,0xbb,0xd8,
0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5,
0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8};
static const unsigned char vector_64[64] = {
0x97,0x68,0x72,0x68,0xd6,0xec,0xcc,0xc0,
0xc0,0x7b,0x25,0xe2,0x5e,0xcf,0xe5,0x84,
0x39,0x31,0x25,0x23,0xa7,0x86,0x62,0xd5,
0xbe,0x7f,0xcb,0xcc,0x98,0xeb,0xf5,0xa8,
0x48,0x07,0xef,0xe8,0x36,0xee,0x89,0xa5,
0x26,0x73,0x0d,0xbc,0x2f,0x7b,0xc8,0x40,
0x9d,0xad,0x8b,0xbb,0x96,0xc4,0xcd,0xc0,
0x3b,0xc1,0x03,0xe1,0xa1,0x94,0xbb,0xd8};
static AES_KEY encks, decks; static AES_KEY encks, decks;