summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 15:16:17 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 15:17:09 +0100
commit3b9d2a60fcf4642bdbf177823ba7497953f53614 (patch)
tree56fec33d90e513848d0a67be1f110b54d0440b4a /crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c
parent6b9b98de6c032fd3fd74a19083630cb749e185a7 (diff)
downloadlilliput-ae-implem-3b9d2a60fcf4642bdbf177823ba7497953f53614.tar.xz
Mise à jour de la S-box dans l'implémentation
Et des vecteurs associés… même si c'est tautologique pour le moment (i.e. les nouvelles sorties "attendues" ont été générées avec ce code de ref ; pas encore de confirmation de Léo pour le moment).
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c
index 69ddf10..c6a4e60 100644
--- a/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c
+++ b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c
@@ -37,8 +37,8 @@ const vector VECTORS[] = {
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
},
.ciphertext = {
- 0x68, 0x4f, 0x71, 0x4a, 0xff, 0xa6, 0xa0, 0x4e,
- 0xc3, 0x4a, 0x5d, 0x69, 0x49, 0x9d, 0x71, 0xe4
+ 0xe2, 0xad, 0x84, 0xca, 0x96, 0xdc, 0x76, 0x34,
+ 0xcb, 0x8e, 0xd6, 0x90, 0x63, 0xfc, 0x29, 0xa6,
}
},
{
@@ -57,8 +57,8 @@ const vector VECTORS[] = {
0x9c, 0x9d, 0x1d, 0xbd, 0x0d, 0x30, 0x94, 0x0b
},
.ciphertext = {
- 0xf5, 0xc3, 0xae, 0xae, 0x23, 0x01, 0x1f, 0xb0,
- 0xc9, 0x5d, 0x53, 0x26, 0x67, 0xd3, 0xd8, 0xdf
+ 0x00, 0x7a, 0xdd, 0x4c, 0x96, 0x81, 0x96, 0x87,
+ 0xd3, 0xb2, 0x76, 0xe1, 0xbf, 0x8a, 0x12, 0x6a,
}
}
};