summaryrefslogtreecommitdiff
path: root/salsa.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2008-02-02 08:40:27 +0000
committerweidai <weidai11@users.noreply.github.com>2008-02-02 08:40:27 +0000
commit244f99c0271e9b146989f3bb2b22b81b8efdc28e (patch)
tree847503be51751e8e42fa6e5ed20c34d79dd76f4c /salsa.h
parentc8fe7e071886e87cd7fb1df7b41580abde57bd4c (diff)
downloadcryptopp-git-244f99c0271e9b146989f3bb2b22b81b8efdc28e.tar.gz
fix infinite recursive call in IsRandomAccess (reported by ASBai)
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 5b1431ac..46e0136c 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;