diff options
author | lloyd <[email protected]> | 2010-02-24 15:46:01 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-24 15:46:01 +0000 |
commit | b06a941a98f49172b203914810483589cf86cc76 (patch) | |
tree | 60185833656de660a4d31556b98d0170b56a1e5b /src/pubkey/ecdsa/ecdsa_op.cpp | |
parent | 83a0887fb47633522be1512a9b85a22769eba564 (diff) |
Remove PointGFp::mult_this_secure
Diffstat (limited to 'src/pubkey/ecdsa/ecdsa_op.cpp')
-rw-r--r-- | src/pubkey/ecdsa/ecdsa_op.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pubkey/ecdsa/ecdsa_op.cpp b/src/pubkey/ecdsa/ecdsa_op.cpp index 7bbeded73..d37809962 100644 --- a/src/pubkey/ecdsa/ecdsa_op.cpp +++ b/src/pubkey/ecdsa/ecdsa_op.cpp @@ -62,8 +62,7 @@ SecureVector<byte> Default_ECDSA_Op::sign(const byte msg[], u32bit msg_len, BigInt e(msg, msg_len); - PointGFp k_times_P(dom_pars.get_base_point()); - k_times_P.mult_this_secure(k, n, n-1); + PointGFp k_times_P = dom_pars.get_base_point() * k; k_times_P.check_invariants(); BigInt r = k_times_P.get_affine_x().get_value() % n; |