diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-04-16 00:31:22 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-04-16 00:31:22 +0000 |
commit | b040459503c5017776512c823cf285ab1a74d8df (patch) | |
tree | 416a79ce8729e3196abbe34697d2c6bf75da7c22 | |
parent | ee5841104ffb7a8c086e3f4a1f23d6dbaa4c1bf7 (diff) | |
download | cryptopp-git-b040459503c5017776512c823cf285ab1a74d8df.tar.gz |
removed UnalignedPutWord
-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)) |