From c80e28eec89724d768b72482308f56401947bfa8 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 20 Feb 2018 06:42:43 -0500 Subject: Remove unneeded parameter for Rijndael_UncheckedSetKey_POWER8 --- rijndael.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rijndael.cpp') 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 -- cgit v1.2.1