From d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 12 Jul 2005 04:23:32 +0000 Subject: port to MSVC .NET 2005 beta 2 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@198 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- esign.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'esign.h') diff --git a/esign.h b/esign.h index dd44e0c..083ef9f 100644 --- a/esign.h +++ b/esign.h @@ -89,13 +89,13 @@ public: static const char *StaticAlgorithmName() {return "EMSA5";} void ComputeMessageRepresentative(RandomNumberGenerator &rng, - const byte *recoverableMessage, unsigned int recoverableMessageLength, + const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, - byte *representative, unsigned int representativeBitLength) const + byte *representative, size_t representativeBitLength) const { SecByteBlock digest(hash.DigestSize()); hash.Final(digest); - unsigned int representativeByteLength = BitsToBytes(representativeBitLength); + size_t representativeByteLength = BitsToBytes(representativeBitLength); T mgf; mgf.GenerateAndMask(hash, representative, representativeByteLength, digest, digest.size(), false); if (representativeBitLength % 8 != 0) -- cgit v1.2.1