summaryrefslogtreecommitdiff
path: root/seal.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:21:07 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:21:07 +0000
commit62538e2cf788783be55bd43b262c6a8a565176b7 (patch)
tree6cc6caeba741b13cbc0cf5498d1c957f97451bf3 /seal.h
parent5a439a5b05aadca7502541c3d0e487f4365c57d3 (diff)
downloadcryptopp-62538e2cf788783be55bd43b262c6a8a565176b7.tar.gz
optimizations
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@301 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'seal.h')
-rw-r--r--seal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/seal.h b/seal.h
index fc53c2f..551a338 100644
--- a/seal.h
+++ b/seal.h
@@ -18,7 +18,7 @@ class CRYPTOPP_NO_VTABLE SEAL_Policy : public AdditiveCipherConcretePolicy<word3
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 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);