diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-04-16 00:21:07 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-04-16 00:21:07 +0000 |
commit | 5cad605559f973f2ce7d5ede1e6b67151f8e1d51 (patch) | |
tree | 6cc6caeba741b13cbc0cf5498d1c957f97451bf3 /seal.h | |
parent | 199c7960213d94682913e72de0e3f6d04f575a8b (diff) | |
download | cryptopp-git-5cad605559f973f2ce7d5ede1e6b67151f8e1d51.tar.gz |
optimizations
Diffstat (limited to 'seal.h')
-rw-r--r-- | seal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ class CRYPTOPP_NO_VTABLE SEAL_Policy : public AdditiveCipherConcretePolicy<word3 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 CipherGetNextIV(byte *IV) {UnalignedPutWord(BIG_ENDIAN_ORDER, IV, m_outsideCounter+1);} + void CipherGetNextIV(byte *IV) {PutWord(false, BIG_ENDIAN_ORDER, IV, m_outsideCounter+1);} void CipherResynchronize(byte *keystreamBuffer, const byte *IV); bool IsRandomAccess() const {return true;} void SeekToIteration(lword iterationCount); |