summaryrefslogtreecommitdiff
path: root/wake.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
committerweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
commit1db8ea50840eb47f0f7d8f3c30d8e0916932ce90 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /wake.h
parent31068bd68590654dc218bbb183a2ca71bb4af08b (diff)
downloadcryptopp-git-1db8ea50840eb47f0f7d8f3c30d8e0916932ce90.tar.gz
port to MSVC .NET 2005 beta 2
Diffstat (limited to 'wake.h')
-rw-r--r--wake.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wake.h b/wake.h
index 56a266dd..5186a50e 100644
--- a/wake.h
+++ b/wake.h
@@ -38,12 +38,12 @@ class CRYPTOPP_NO_VTABLE WAKE_Policy
, protected WAKE_Base
{
protected:
- void CipherSetKey(const NameValuePairs &params, const byte *key, unsigned int length);
+ void CipherSetKey(const NameValuePairs &params, const byte *key, size_t length);
// CFB
byte * GetRegisterBegin() {return (byte *)&r6;}
- void Iterate(byte *output, const byte *input, CipherDir dir, unsigned int iterationCount);
+ void Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount);
// OFB
- void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, unsigned int iterationCount);
+ void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount);
bool IsRandomAccess() const {return false;}
};