summaryrefslogtreecommitdiff
path: root/test/i-128/test-ae-encrypt.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-04 17:13:57 +0200
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2019-07-04 17:13:57 +0200
commit3d1334d6a9eb091b457f068033071f97d8758941 (patch)
treece7a28187e7c407f6fa56bf4ff4ed29245f8b484 /test/i-128/test-ae-encrypt.c
parent6589f3ef20f8f93168be49135764764cd0c02a23 (diff)
parentc670bbe78ea9bc18c9772ba5804f610937560d5f (diff)
downloadlilliput-ae-implem-3d1334d6a9eb091b457f068033071f97d8758941.tar.xz
Merge branch 'fix-tweakey-m4'
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 522a3e6..06f3b88 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[]) {
- 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
+ 0xca, 0x16, 0x03, 0x71, 0x0c, 0xca, 0x10, 0x2f,
+ 0xac, 0x46, 0x0c, 0xb4, 0x13, 0x2a, 0x55, 0x0d,
+ 0xc0, 0x59, 0x90, 0xb7, 0xca, 0xf2, 0x17, 0x9f,
+ 0x8f, 0xd6, 0x5a, 0x73, 0x49, 0x65, 0x14, 0xec,
+ 0x3e, 0xf4, 0xc5, 0xd0, 0x08, 0x3d, 0x85, 0x5c,
+ 0x11, 0x70, 0x42, 0x3b, 0x91, 0x61, 0xa7, 0xf2,
+ 0x7a, 0xbf, 0x51, 0x2c, 0xe3, 0x88, 0xc9, 0x97,
+ 0x34, 0x92, 0xed, 0xf9, 0x5b, 0xb4, 0x2a, 0x80
},
.tag = {
- 0x2e, 0xe5, 0xbf, 0x50, 0x87, 0x71, 0x17, 0x40,
- 0x1b, 0xa7, 0xe9, 0xed, 0xd5, 0xcb, 0xec, 0x6d
+ 0x47, 0x5b, 0x2c, 0x0e, 0x5f, 0xcf, 0x6f, 0xc0,
+ 0xab, 0x3c, 0x24, 0xc1, 0x66, 0x88, 0x83, 0x38
}
},
{
@@ -106,19 +106,19 @@ const vector VECTORS[] = {
0x40, 0x01
},
.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,
- 0x4f, 0x09
+ 0xca, 0x16, 0x03, 0x71, 0x0c, 0xca, 0x10, 0x2f,
+ 0xac, 0x46, 0x0c, 0xb4, 0x13, 0x2a, 0x55, 0x0d,
+ 0xc0, 0x59, 0x90, 0xb7, 0xca, 0xf2, 0x17, 0x9f,
+ 0x8f, 0xd6, 0x5a, 0x73, 0x49, 0x65, 0x14, 0xec,
+ 0x3e, 0xf4, 0xc5, 0xd0, 0x08, 0x3d, 0x85, 0x5c,
+ 0x11, 0x70, 0x42, 0x3b, 0x91, 0x61, 0xa7, 0xf2,
+ 0x7a, 0xbf, 0x51, 0x2c, 0xe3, 0x88, 0xc9, 0x97,
+ 0x34, 0x92, 0xed, 0xf9, 0x5b, 0xb4, 0x2a, 0x80,
+ 0x27, 0x3f
},
.tag = {
- 0x04, 0x10, 0xbc, 0x6f, 0xe5, 0x88, 0xe0, 0xd5,
- 0x09, 0x59, 0x26, 0x17, 0x12, 0x49, 0x35, 0x9a
+ 0xd4, 0xef, 0x1f, 0x11, 0x81, 0x90, 0xbe, 0xfd,
+ 0x1e, 0xa7, 0x32, 0xbe, 0x63, 0xe2, 0x18, 0x90
}
}
};