summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/tweakey.c
diff options
context:
space:
mode:
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];
}
}
}