From 39306575081f043d1c79ade43797d3595fd5aeec Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 12 Oct 2010 19:59:26 +0000 Subject: Use size_t instead of u32bit in all of pubkey --- src/pubkey/nr/nr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pubkey/nr/nr.cpp') diff --git a/src/pubkey/nr/nr.cpp b/src/pubkey/nr/nr.cpp index 244a397ee..61cf7eb3f 100644 --- a/src/pubkey/nr/nr.cpp +++ b/src/pubkey/nr/nr.cpp @@ -80,7 +80,7 @@ NR_Signature_Operation::NR_Signature_Operation(const NR_PrivateKey& nr) : } SecureVector -NR_Signature_Operation::sign(const byte msg[], u32bit msg_len, +NR_Signature_Operation::sign(const byte msg[], size_t msg_len, RandomNumberGenerator& rng) { rng.add_entropy(msg, msg_len); @@ -119,7 +119,7 @@ NR_Verification_Operation::NR_Verification_Operation(const NR_PublicKey& nr) : } SecureVector -NR_Verification_Operation::verify_mr(const byte msg[], u32bit msg_len) +NR_Verification_Operation::verify_mr(const byte msg[], size_t msg_len) { const BigInt& q = mod_q.get_modulus(); -- cgit v1.2.3