summaryrefslogtreecommitdiff
path: root/test/i-128/test-tweakey.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 14:02:45 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 14:04:31 +0100
commit0b90498964b43fa37111701030ac693484130c8a (patch)
tree111d3ad485d0537c154e35cd7d153602444b03a9 /test/i-128/test-tweakey.c
parentff1a325d96799d009e3813b7f7ff488a47508ca6 (diff)
downloadlilliput-ae-implem-0b90498964b43fa37111701030ac693484130c8a.tar.xz
Correction des shifts lors de la multiplication par MR
*Toutes* les opérations s'appliquent dans l'autre sens, *y compris les shifts*, vu que on prend (y₀…y7)ᵗ = MR(x₀…x₇)ᵗ.
Diffstat (limited to 'test/i-128/test-tweakey.c')
-rw-r--r--test/i-128/test-tweakey.c6
1 files changed, 3 insertions, 3 deletions
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
}
}
};