summaryrefslogtreecommitdiff
path: root/esign.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:20:57 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:20:57 +0000
commit5a439a5b05aadca7502541c3d0e487f4365c57d3 (patch)
treecfe1ac2e63005f0ffbb7681623ed2d46d2340df6 /esign.cpp
parent57d941990195f4d1139cb33a4327534fc46a2fca (diff)
downloadcryptopp-5a439a5b05aadca7502541c3d0e487f4365c57d3.tar.gz
removed UnalignedPutWord
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@300 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'esign.cpp')
-rw-r--r--esign.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/esign.cpp b/esign.cpp
index 5858830..eb9ca46 100644
--- a/esign.cpp
+++ b/esign.cpp
@@ -101,9 +101,9 @@ void InvertibleESIGNFunction::GenerateRandom(RandomNumberGenerator &rng, const N
seed.resize(seedParam.size() + 4);
memcpy(seed + 4, seedParam.begin(), seedParam.size());
- UnalignedPutWord(BIG_ENDIAN_ORDER, seed, (word32)0);
+ PutWord(false, BIG_ENDIAN_ORDER, seed, (word32)0);
m_p.GenerateRandom(rng, CombinedNameValuePairs(primeParam, MakeParameters("Seed", ConstByteArrayParameter(seed))));
- UnalignedPutWord(BIG_ENDIAN_ORDER, seed, (word32)1);
+ PutWord(false, BIG_ENDIAN_ORDER, seed, (word32)1);
m_q.GenerateRandom(rng, CombinedNameValuePairs(primeParam, MakeParameters("Seed", ConstByteArrayParameter(seed))));
}
else