summaryrefslogtreecommitdiff
path: root/salsa.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-02-02 08:40:27 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-02-02 08:40:27 +0000
commitfed5890194f50d587a9dc57f20d89e3369af125a (patch)
tree847503be51751e8e42fa6e5ed20c34d79dd76f4c /salsa.h
parentb261da65cbee4c18036f0f98748b924b10500f6b (diff)
downloadcryptopp-fed5890194f50d587a9dc57f20d89e3369af125a.tar.gz
fix infinite recursive call in IsRandomAccess (reported by ASBai)
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@421 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'salsa.h')
-rwxr-xr-xsalsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/salsa.h b/salsa.h
index 5b1431a..46e0136 100755
--- a/salsa.h
+++ b/salsa.h
@@ -19,7 +19,7 @@ protected:
void CipherSetKey(const NameValuePairs &params, const byte *key, size_t length);
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount);
void CipherResynchronize(byte *keystreamBuffer, const byte *IV);
- bool IsRandomAccess() const {return true;}
+ bool CipherIsRandomAccess() const {return true;}
void SeekToIteration(lword iterationCount);
#if CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X64
unsigned int GetAlignment() const;