summaryrefslogtreecommitdiff
path: root/test/i-128/test-ae-encrypt.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 16:17:23 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 16:17:23 +0100
commitc800899400f179dde4960ef945336f4ce0e24d89 (patch)
tree1c46a4a6a91524e21cbcdde781c12e2c60456923 /test/i-128/test-ae-encrypt.c
parent7a0789a3abb151e80959f4f802c9154e5c2899c3 (diff)
downloadlilliput-ae-implem-c800899400f179dde4960ef945336f4ce0e24d89.tar.xz
Revert "Adaptation des tests à la correction de M³"
This reverts commit 7a0789a3abb151e80959f4f802c9154e5c2899c3. Paul confirme qu'il faut apporter une correction à M³ ; avec un peu de chance, on peut donc garder les tests tels qu'il étaient avant de déplier M³.
Diffstat (limited to 'test/i-128/test-ae-encrypt.c')
-rw-r--r--test/i-128/test-ae-encrypt.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/test/i-128/test-ae-encrypt.c b/test/i-128/test-ae-encrypt.c
index d7febca..442d621 100644
--- a/test/i-128/test-ae-encrypt.c
+++ b/test/i-128/test-ae-encrypt.c
@@ -57,18 +57,18 @@ const vector VECTORS[] = {
0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
},
.ciphertext = (uint8_t[]) {
- 0xda, 0x1d, 0xa5, 0xa1, 0xc3, 0x6a, 0x09, 0x7a,
- 0x4d, 0xbd, 0x99, 0xa0, 0xe6, 0x82, 0x60, 0xdb,
- 0xe3, 0x86, 0x2e, 0x8e, 0xee, 0xa8, 0x98, 0x70,
- 0x09, 0xb3, 0xf1, 0xf2, 0x41, 0xb2, 0xb6, 0x7d,
- 0x7c, 0xb6, 0x6e, 0x12, 0x7c, 0x70, 0x6e, 0x4f,
- 0x41, 0xa4, 0x9c, 0x56, 0x31, 0xd6, 0xcd, 0xac,
- 0xcf, 0x6b, 0xab, 0x19, 0x29, 0xba, 0xa1, 0xea,
- 0xaf,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