summaryrefslogtreecommitdiff
path: root/rijndael.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-02-20 06:42:43 -0500
committerJeffrey Walton <noloader@gmail.com>2018-02-20 06:42:43 -0500
commitc80e28eec89724d768b72482308f56401947bfa8 (patch)
tree30de3db061e43dbdcf404d40544061fdb49c8f89 /rijndael.cpp
parentd30afa4d01bb5c36f263e2b9f72d5cc9dddaf215 (diff)
downloadcryptopp-git-c80e28eec89724d768b72482308f56401947bfa8.tar.gz
Remove unneeded parameter for Rijndael_UncheckedSetKey_POWER8
Diffstat (limited to 'rijndael.cpp')
-rw-r--r--rijndael.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rijndael.cpp b/rijndael.cpp
index 4ffe2a4b..6c6de914 100644
--- a/rijndael.cpp
+++ b/rijndael.cpp
@@ -302,7 +302,7 @@ extern size_t Rijndael_Dec_AdvancedProcessBlocks_ARMV8(const word32 *subkeys, si
#if (CRYPTOPP_POWER8_AES_AVAILABLE)
extern void Rijndael_UncheckedSetKey_POWER8(const byte* userKey, size_t keyLen,
- word32* rk, const word32* rc, const byte* Se);
+ word32* rk, const byte* Se);
extern size_t Rijndael_Enc_AdvancedProcessBlocks128_6x1_ALTIVEC(const word32 *subkeys, size_t rounds,
const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags);
@@ -344,7 +344,7 @@ void Rijndael::Base::UncheckedSetKey(const byte *userKey, unsigned int keyLen, c
{
// We still need rcon and Se to fallback to C/C++ for AES-192 and AES-256.
// The IBM docs on AES sucks. Intel's docs on AESNI puts IBM to shame.
- Rijndael_UncheckedSetKey_POWER8(userKey, keyLen, rk, rcon, Se);
+ Rijndael_UncheckedSetKey_POWER8(userKey, keyLen, rk, Se);
return;
}
#endif