summaryrefslogtreecommitdiff
path: root/wake.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
commitd5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /wake.h
parentfa39f51809b4da54a5c2adb3e183b1a625cefb92 (diff)
downloadcryptopp-d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47.tar.gz
port to MSVC .NET 2005 beta 2
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@198 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 56a266d..5186a50 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;}
};