From 0b90498964b43fa37111701030ac693484130c8a Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 11 Dec 2018 14:02:45 +0100 Subject: Correction des shifts lors de la multiplication par MR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *Toutes* les opérations s'appliquent dans l'autre sens, *y compris les shifts*, vu que on prend (y₀…y7)ᵗ = MR(x₀…x₇)ᵗ. --- test/i-128/test-tweakey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/i-128/test-tweakey.c') diff --git a/test/i-128/test-tweakey.c b/test/i-128/test-tweakey.c index d461dc2..a9b8b5f 100644 --- a/test/i-128/test-tweakey.c +++ b/test/i-128/test-tweakey.c @@ -32,7 +32,7 @@ const vector VECTORS[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, .last_rtk = { - 0x2f, 0x16, 0x6a, 0x49, 0x47, 0xee, 0x13, 0xeb + 0xec, 0xb3, 0x30, 0xd0, 0xe2, 0x90, 0xc8, 0x56 } }, { @@ -63,7 +63,7 @@ const vector VECTORS[] = { 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }, .last_rtk = { - 0x1e, 0x02, 0x99, 0x4d, 0xec, 0x97, 0xed, 0x72 + 0xda, 0xcd, 0xb4, 0x0b, 0x7b, 0x80, 0x1e, 0x9a } }, { @@ -78,7 +78,7 @@ const vector VECTORS[] = { 0x7f, 0xf4, 0x23, 0x4d, 0x3d, 0xd5, 0xf9, 0x9b }, .last_rtk = { - 0x40, 0x5d, 0x9b, 0x70, 0x8d, 0x27, 0xe5, 0x64 + 0xdd, 0xc6, 0x4e, 0xd7, 0x1a, 0x82, 0x11, 0xf3 } } }; -- cgit v1.2.3