diff options
-rw-r--r-- | crypto/camellia/camellia.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/camellia/camellia.c b/crypto/camellia/camellia.c index dcdff810e3..fc6e84fd43 100644 --- a/crypto/camellia/camellia.c +++ b/crypto/camellia/camellia.c @@ -499,9 +499,9 @@ void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[], PUTU32(plaintext + 12, s1); } -void Camellia_DecryptBlock(int keyBitLength, const u8 plaintext[], - const KEY_TABLE_TYPE keyTable, u8 ciphertext[]) +void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[], + const KEY_TABLE_TYPE keyTable, u8 plaintext[]) { Camellia_DecryptBlock_Rounds(keyBitLength == 128 ? 3 : 4, - plaintext, keyTable, ciphertext); + ciphertext, keyTable, plaintext); } |