mirror of https://github.com/wolfSSL/wolfssl.git
align rabbit test keys and ivs
parent
57c6d46ea7
commit
1cb2f28308
|
@ -991,21 +991,25 @@ int rabbit_test(void)
|
|||
byte cipher[16];
|
||||
byte plain[16];
|
||||
|
||||
const char* keys[] =
|
||||
const char* keys[] = /* align with 3 extra bytes cause null is added */
|
||||
{
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
"\x00\x00\x00",
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
"\x00\x00\x00",
|
||||
"\xAC\xC3\x51\xDC\xF1\x62\xFC\x3B\xFE\x36\x3D\x2E\x29\x13\x28\x91"
|
||||
"\x00\x00\x00"
|
||||
};
|
||||
|
||||
const char* ivs[] =
|
||||
const char* ivs[] = /* align with 3 extra bytes casue null is added */
|
||||
{
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00",
|
||||
"\x59\x7E\x26\xC1\x75\xF5\x73\xC3",
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
"\x00\x00\x00",
|
||||
"\x59\x7E\x26\xC1\x75\xF5\x73\xC3"
|
||||
"\x00\x00\x00",
|
||||
0
|
||||
};
|
||||
|
||||
|
||||
testVector a, b, c;
|
||||
testVector test_rabbit[3];
|
||||
|
||||
|
|
Loading…
Reference in New Issue