summaryrefslogtreecommitdiff
path: root/gfpcrypt.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:31:22 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:31:22 +0000
commit14115d4a662fd82ac1368756855f03bc2e02ac38 (patch)
tree416a79ce8729e3196abbe34697d2c6bf75da7c22 /gfpcrypt.h
parent56d9e441bb0407072d8c54bdde524be002d03171 (diff)
downloadcryptopp-14115d4a662fd82ac1368756855f03bc2e02ac38.tar.gz
removed UnalignedPutWord
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@308 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'gfpcrypt.h')
-rw-r--r--gfpcrypt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfpcrypt.h b/gfpcrypt.h
index 787ab88..5e9c635 100644
--- a/gfpcrypt.h
+++ b/gfpcrypt.h
@@ -451,7 +451,7 @@ public:
if (DHAES_MODE)
{
byte L[8] = {0,0,0,0};
- UnalignedPutWord(BIG_ENDIAN_ORDER, L+4, word32(encodingParameters.size()));
+ PutWord(false, BIG_ENDIAN_ORDER, L+4, word32(encodingParameters.size()));
mac.Update(L, 8);
}
mac.Final(ciphertext + plaintextLength);
@@ -480,7 +480,7 @@ public:
if (DHAES_MODE)
{
byte L[8] = {0,0,0,0};
- UnalignedPutWord(BIG_ENDIAN_ORDER, L+4, word32(encodingParameters.size()));
+ PutWord(false, BIG_ENDIAN_ORDER, L+4, word32(encodingParameters.size()));
mac.Update(L, 8);
}
if (!mac.Verify(ciphertext + plaintextLength))