diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 00:31:22 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 00:31:22 +0000 |
commit | 14115d4a662fd82ac1368756855f03bc2e02ac38 (patch) | |
tree | 416a79ce8729e3196abbe34697d2c6bf75da7c22 /gfpcrypt.h | |
parent | 56d9e441bb0407072d8c54bdde524be002d03171 (diff) | |
download | cryptopp-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |