From c3bad1afc1564f3bfac8434d45d6694811139333 Mon Sep 17 00:00:00 2001 From: weidai Date: Sun, 10 Dec 2006 02:12:23 +0000 Subject: port to GCC 4, reorganize implementations of SetKey git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@248 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- dmac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmac.h') diff --git a/dmac.h b/dmac.h index fc4c283..d7522f7 100644 --- a/dmac.h +++ b/dmac.h @@ -16,7 +16,7 @@ public: DMAC_Base() {} - void CheckedSetKey(void *, Empty empty, const byte *key, size_t length, const NameValuePairs ¶ms); + void UncheckedSetKey(const byte *key, size_t length, const NameValuePairs ¶ms); void Update(const byte *input, size_t length); void TruncatedFinal(byte *mac, size_t size); unsigned int DigestSize() const {return DIGESTSIZE;} @@ -45,7 +45,7 @@ public: }; template -void DMAC_Base::CheckedSetKey(void *, Empty empty, const byte *key, size_t length, const NameValuePairs ¶ms) +void DMAC_Base::UncheckedSetKey(const byte *key, size_t length, const NameValuePairs ¶ms) { m_subkeylength = T::StaticGetValidKeyLength(T::BLOCKSIZE); m_subkeys.resize(2*UnsignedMin((unsigned int)T::BLOCKSIZE, m_subkeylength)); -- cgit v1.2.1