summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/tweakey.c
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 14:57:47 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-22 14:57:47 +0100
commit6b9b98de6c032fd3fd74a19083630cb749e185a7 (patch)
treee6d1f393002352eaaed6012fe49984b77b1b0477 /crypto_aead/lilliputaei128v1/ref/tweakey.c
parent3a18c0891d890892a23eec2d4f438d2758dee1fe (diff)
downloadlilliput-ae-implem-6b9b98de6c032fd3fd74a19083630cb749e185a7.tar.xz
Mise à jour de la permutation du tweakey dans l'implémentation
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/tweakey.c')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/tweakey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/tweakey.c b/crypto_aead/lilliputaei128v1/ref/tweakey.c
index 3fa2dac..4946245 100644
--- a/crypto_aead/lilliputaei128v1/ref/tweakey.c
+++ b/crypto_aead/lilliputaei128v1/ref/tweakey.c
@@ -67,7 +67,7 @@ static void _permute_state(tweakey_state *TK)
{
for (size_t k=0; k<LANE_BYTES; k++)
{
- TK->TK[j+k] = TK_old[j+h[k]];
+ TK->TK[j+h[k]] = TK_old[j+k];
}
}
}