summaryrefslogtreecommitdiff
path: root/test/i-128/test-ae-decrypt.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 15:33:30 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-11 15:33:30 +0100
commit7a0789a3abb151e80959f4f802c9154e5c2899c3 (patch)
treeb1931e905f0eee54672e77f0f72ac0dff185c676 /test/i-128/test-ae-decrypt.c
parent3f49e4c4f009648b191c61be8a1477ca2799755f (diff)
downloadlilliput-ae-implem-7a0789a3abb151e80959f4f802c9154e5c2899c3.tar.xz
Adaptation des tests à la correction de M³
Diffstat (limited to 'test/i-128/test-ae-decrypt.c')
-rw-r--r--test/i-128/test-ae-decrypt.c45
1 files changed, 22 insertions, 23 deletions
diff --git a/test/i-128/test-ae-decrypt.c b/test/i-128/test-ae-decrypt.c
index d835342..0ebdb25 100644
--- a/test/i-128/test-ae-decrypt.c
+++ b/test/i-128/test-ae-decrypt.c
@@ -47,20 +47,19 @@ const vector VECTORS[] = {
},
.ciphertext_len = 64,
.ciphertext = (uint8_t[]) {
- 0x86, 0x09, 0xbe, 0x90, 0xa2, 0x9f, 0xa0, 0xed,
- 0x9a, 0xf6, 0xeb, 0x8d, 0x96, 0x0e, 0x83, 0x81,
- 0x0a, 0x6b, 0x00, 0xf4, 0x76, 0x99, 0xf4, 0x62,
- 0x4e, 0x3d, 0x91, 0x4c, 0x95, 0x96, 0x56, 0x91,
- 0x94, 0xf2, 0x29, 0x55, 0x20, 0x11, 0x2c, 0x93,
- 0x15, 0x23, 0x59, 0xe2, 0xa3, 0xc4, 0xc4, 0x62,
- 0xbb, 0xa3, 0x11, 0xf1, 0x39, 0xa2, 0xe2, 0xc9,
- 0x47, 0x6b, 0xe5, 0x6a, 0x97, 0x07, 0xc0, 0x87
+ 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, 0xeb, 0xc7, 0xbc, 0xb2, 0x91, 0xdb, 0xf8
},
.tag = {
- 0x69, 0xb6, 0x26, 0x07, 0x4f, 0x76, 0xc6, 0x3a,
- 0x0e, 0x0e, 0xcd, 0xa4, 0x4b, 0xad, 0x77, 0x1f
- }
- ,
+ 0x06, 0x9f, 0xa6, 0xfa, 0x92, 0xe0, 0x2f, 0x47,
+ 0xfa, 0x73, 0x1f, 0x06, 0xa8, 0x38, 0xa8, 0xe2
+ },
.message = (uint8_t[]) {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
@@ -96,19 +95,19 @@ const vector VECTORS[] = {
},
.ciphertext_len = 66,
.ciphertext = (uint8_t[]) {
- 0x86, 0x09, 0xbe, 0x90, 0xa2, 0x9f, 0xa0, 0xed,
- 0x9a, 0xf6, 0xeb, 0x8d, 0x96, 0x0e, 0x83, 0x81,
- 0x0a, 0x6b, 0x00, 0xf4, 0x76, 0x99, 0xf4, 0x62,
- 0x4e, 0x3d, 0x91, 0x4c, 0x95, 0x96, 0x56, 0x91,
- 0x94, 0xf2, 0x29, 0x55, 0x20, 0x11, 0x2c, 0x93,
- 0x15, 0x23, 0x59, 0xe2, 0xa3, 0xc4, 0xc4, 0x62,
- 0xbb, 0xa3, 0x11, 0xf1, 0x39, 0xa2, 0xe2, 0xc9,
- 0x47, 0x6b, 0xe5, 0x6a, 0x97, 0x07, 0xc0, 0x87,
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