diff options
Diffstat (limited to 'src/pubkey/rw/rw.cpp')
-rw-r--r-- | src/pubkey/rw/rw.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pubkey/rw/rw.cpp b/src/pubkey/rw/rw.cpp index 11a394fad..64fcc37cc 100644 --- a/src/pubkey/rw/rw.cpp +++ b/src/pubkey/rw/rw.cpp @@ -75,6 +75,8 @@ secure_vector<byte> RW_Signature_Operation::sign(const byte msg[], size_t msg_len, RandomNumberGenerator& rng) { + rng.add_entropy(msg, msg_len); + if(!blinder.initialized()) { BigInt k(rng, std::min<size_t>(160, n.bits() - 1)); |