From b641378f4c4c4697437d00862c510753264cef1d Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Wed, 16 Mar 2022 16:32:08 +0000 Subject: Fix declaration inconsistency (Camellia) Fixes #17911. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17912) (cherry picked from commit a12a71fafbe9b0ce90a51098fbf166d9da62b111) --- crypto/camellia/camellia.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/camellia') 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); } -- cgit v1.2.3