Skip to content

Commit c3fde18

Browse files
committed
SHAKE128 2x tester: input data must be multiples of 8 bytes
Signed-off-by: Stephan Mueller <smueller@chronox.de>
1 parent 97043b8 commit c3fde18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hash/tests/shake128_2x_armv8_tester.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ static int shake128_2x_tester(void)
2929
{
3030
static const uint8_t msg1[] = { 0xBE, 0x94, 0xD8, 0x3D, 0x37,
3131
0x66, 0xCF, 0x3E, 0xD3, 0x0A,
32-
0x11, 0x0C, 0x47, 0xA2 };
33-
static const uint8_t exp1[] = { 0xB0, 0x46, 0x01, 0xAA, 0x4D, 0x2C,
34-
0x30, 0xF6, 0x5F, 0x94, 0xD7, 0x02,
35-
0x5D, 0xBD, 0x22, 0x39 };
32+
0x11, 0x0C, 0x47, 0xA2, 0x11, 0x0C };
33+
static const uint8_t exp1[] = { 0x22, 0x9a, 0xe6, 0x54, 0x5f, 0xfe,
34+
0x7a, 0xf3, 0x8c, 0x16, 0x6d, 0x32,
35+
0x29, 0x00, 0xe5, 0x6b };
3636
uint8_t act1[sizeof(exp1)];
3737
uint8_t act2[sizeof(exp1)];
3838
uint8_t *out0 = act1;

0 commit comments

Comments
 (0)