diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-10 17:09:29 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-12-10 17:09:29 +0100 |
| commit | 95418fee197c234db8c494b88a87d8efc5ede864 (patch) | |
| tree | fa3d83e62ccc5157e0f157a9e9df8fbd7d396d89 /test/i-128/test-ae-encrypt.c | |
| parent | 7e8b275d599f475caf315493e79ea033fa0f17c2 (diff) | |
| download | lilliput-ae-implem-95418fee197c234db8c494b88a87d8efc5ede864.tar.xz | |
Adaptation des tests au nouveau key schedule
Diffstat (limited to 'test/i-128/test-ae-encrypt.c')
| -rw-r--r-- | test/i-128/test-ae-encrypt.c | 42 |
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 425303e..a708fe2 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[]) { - 0xd2, 0xff, 0x52, 0x66, 0xd4, 0xe9, 0x1f, 0x54, - 0x27, 0x55, 0xf3, 0x6d, 0x7f, 0xb8, 0xcd, 0x32, - 0x5d, 0x78, 0xb6, 0x50, 0x16, 0x49, 0xea, 0xf9, - 0xb6, 0x3d, 0x09, 0x35, 0x24, 0xc3, 0xea, 0x51, - 0x6e, 0xa0, 0x4e, 0x5c, 0xd4, 0x1a, 0x6b, 0x3d, - 0x2f, 0x91, 0x26, 0x7a, 0xff, 0xc1, 0xa2, 0xa4, - 0x17, 0x53, 0xed, 0x39, 0xbe, 0x2d, 0x81, 0xcf, - 0x4d, 0x32, 0xb2, 0x91, 0xe5, 0xee, 0xd8, 0xd2 + 0x06, 0xb2, 0x03, 0xbc, 0x8d, 0x78, 0x42, 0x69, + 0xf0, 0x5d, 0x16, 0x13, 0x90, 0xf1, 0x71, 0x84, + 0x50, 0x44, 0xca, 0x4a, 0x06, 0x94, 0xa1, 0x1a, + 0x58, 0xde, 0x54, 0xfb, 0xe6, 0x8b, 0x53, 0x81, + 0x1a, 0x15, 0x2e, 0x3a, 0x0a, 0x69, 0xcb, 0x91, + 0x9c, 0xd8, 0x84, 0x01, 0x7b, 0x6a, 0x2d, 0x30, + 0xd1, 0xce, 0x6b, 0xe5, 0xfe, 0x21, 0x4a, 0xab, + 0xc3, 0xb3, 0xa6, 0xd1, 0x88, 0x1f, 0xa5, 0x46 }, .tag = { - 0x11, 0x21, 0x9f, 0x1e, 0x94, 0x0a, 0x7c, 0x80, - 0x65, 0xc2, 0x92, 0xf7, 0xc1, 0xc1, 0x18, 0x91 + 0xe7, 0xb8, 0x99, 0x12, 0x69, 0x23, 0xcf, 0x6a, + 0xe9, 0x1b, 0x5e, 0x5e, 0xd6, 0x32, 0x7c, 0x3d } }, { @@ -106,19 +106,19 @@ const vector VECTORS[] = { 0x40, 0x01 }, .ciphertext = (uint8_t[]) { - 0xd2, 0xff, 0x52, 0x66, 0xd4, 0xe9, 0x1f, 0x54, - 0x27, 0x55, 0xf3, 0x6d, 0x7f, 0xb8, 0xcd, 0x32, - 0x5d, 0x78, 0xb6, 0x50, 0x16, 0x49, 0xea, 0xf9, - 0xb6, 0x3d, 0x09, 0x35, 0x24, 0xc3, 0xea, 0x51, - 0x6e, 0xa0, 0x4e, 0x5c, 0xd4, 0x1a, 0x6b, 0x3d, - 0x2f, 0x91, 0x26, 0x7a, 0xff, 0xc1, 0xa2, 0xa4, - 0x17, 0x53, 0xed, 0x39, 0xbe, 0x2d, 0x81, 0xcf, - 0x4d, 0x32, 0xb2, 0x91, 0xe5, 0xee, 0xd8, 0xd2, - 0xea, 0xbc + 0x06, 0xb2, 0x03, 0xbc, 0x8d, 0x78, 0x42, 0x69, + 0xf0, 0x5d, 0x16, 0x13, 0x90, 0xf1, 0x71, 0x84, + 0x50, 0x44, 0xca, 0x4a, 0x06, 0x94, 0xa1, 0x1a, + 0x58, 0xde, 0x54, 0xfb, 0xe6, 0x8b, 0x53, 0x81, + 0x1a, 0x15, 0x2e, 0x3a, 0x0a, 0x69, 0xcb, 0x91, + 0x9c, 0xd8, 0x84, 0x01, 0x7b, 0x6a, 0x2d, 0x30, + 0xd1, 0xce, 0x6b, 0xe5, 0xfe, 0x21, 0x4a, 0xab, + 0xc3, 0xb3, 0xa6, 0xd1, 0x88, 0x1f, 0xa5, 0x46, + 0xec, 0x3d }, .tag = { - 0x72, 0x4b, 0xd9, 0x6a, 0x6c, 0xff, 0xc7, 0x32, - 0x11, 0xe7, 0x56, 0xe1, 0xb1, 0xb8, 0x47, 0x4a + 0x03, 0xd7, 0xff, 0xe1, 0xa4, 0x5d, 0x57, 0x68, + 0xd3, 0x18, 0x60, 0x43, 0x79, 0x11, 0x0e, 0x5c } } }; |
