From 14115d4a662fd82ac1368756855f03bc2e02ac38 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 16 Apr 2007 00:31:22 +0000 Subject: removed UnalignedPutWord git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@308 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- gfpcrypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfpcrypt.h') 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)) -- cgit v1.2.1