From 95418fee197c234db8c494b88a87d8efc5ede864 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 10 Dec 2018 17:09:29 +0100 Subject: Adaptation des tests au nouveau key schedule --- test/i-128/test-tbc-decrypt.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/i-128/test-tbc-decrypt.c') diff --git a/test/i-128/test-tbc-decrypt.c b/test/i-128/test-tbc-decrypt.c index d888f3c..6e992e8 100644 --- a/test/i-128/test-tbc-decrypt.c +++ b/test/i-128/test-tbc-decrypt.c @@ -33,12 +33,12 @@ const vector VECTORS[] = { 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }, .ciphertext = { - 0xf9, 0xe3, 0x95, 0x3c, 0x04, 0xf6, 0x2d, 0x9c, - 0x2d, 0x54, 0x58, 0xc0, 0x1d, 0xcc, 0x8a, 0x25 + 0xdd, 0x93, 0x48, 0x8a, 0x10, 0x0c, 0xd4, 0xdc, + 0x4c, 0xa1, 0x9a, 0x53, 0x1d, 0x3d, 0x41, 0x62 }, .message = { - 0xc5, 0xbe, 0x64, 0xec, 0x80, 0x91, 0x49, 0x68, - 0x2f, 0x14, 0x10, 0xb0, 0xb8, 0x42, 0xa0, 0x50 + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, } }, { @@ -53,12 +53,12 @@ const vector VECTORS[] = { 0x7f, 0xf4, 0x23, 0x4d, 0x3d, 0xd5, 0xf9, 0x9b }, .ciphertext = { - 0xf4, 0x4a, 0x06, 0x30, 0x7d, 0xd2, 0xb2, 0x5a, - 0xf9, 0xd2, 0xba, 0x6c, 0x41, 0xf4, 0x45, 0x7f + 0xca, 0x79, 0x91, 0xe5, 0x48, 0xda, 0xdd, 0xab, + 0xcb, 0xd9, 0xd5, 0xa0, 0x43, 0x39, 0x14, 0x07 }, .message = { - 0x3b, 0xfb, 0xdc, 0xae, 0x56, 0x9c, 0x52, 0xfd, - 0x50, 0x89, 0x77, 0xf6, 0xcb, 0x6a, 0x26, 0xe9 + 0xbc, 0xd7, 0xf0, 0x29, 0x84, 0xb6, 0xc8, 0xf9, + 0x9c, 0x9d, 0x1d, 0xbd, 0x0d, 0x30, 0x94, 0x0b } } }; -- cgit v1.2.3