summaryrefslogtreecommitdiff
path: root/esign.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-04-16 00:20:57 +0000
committerweidai <weidai11@users.noreply.github.com>2007-04-16 00:20:57 +0000
commit199c7960213d94682913e72de0e3f6d04f575a8b (patch)
treecfe1ac2e63005f0ffbb7681623ed2d46d2340df6 /esign.cpp
parent170ff203582eb6968dfe69d7c2c81e199946a918 (diff)
downloadcryptopp-git-199c7960213d94682913e72de0e3f6d04f575a8b.tar.gz
removed UnalignedPutWord
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 5858830f..eb9ca468 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