diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-02-02 08:40:27 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2008-02-02 08:40:27 +0000 |
commit | fed5890194f50d587a9dc57f20d89e3369af125a (patch) | |
tree | 847503be51751e8e42fa6e5ed20c34d79dd76f4c /salsa.h | |
parent | b261da65cbee4c18036f0f98748b924b10500f6b (diff) | |
download | cryptopp-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-x | salsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ protected: void CipherSetKey(const NameValuePairs ¶ms, 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; |