diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-03-16 16:32:08 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-03-18 12:29:58 +1100 |
commit | b641378f4c4c4697437d00862c510753264cef1d (patch) | |
tree | 4d9de6eaaf31ae6eb6bdc26b4fa64707f147303e /crypto/camellia | |
parent | 1fd87c9a3203ba2a6f6ee1ccb8b6ac24c02f6263 (diff) |
Fix declaration inconsistency (Camellia)
Fixes #17911.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17912)
(cherry picked from commit a12a71fafbe9b0ce90a51098fbf166d9da62b111)
Diffstat (limited to 'crypto/camellia')
-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); } |