We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa18c32 commit 17ee1e7Copy full SHA for 17ee1e7
src/ecdsa/rfc6979.py
@@ -53,7 +53,7 @@ def generate_k(order, secexp, hash_func, data, retry_gen=0, extra_entropy=b""):
53
54
qlen = bit_length(order)
55
holen = hash_func().digest_size
56
- rolen = (qlen + 7) / 8
+ rolen = (qlen + 7) // 8
57
bx = (
58
hmac_compat(number_to_string(secexp, order)),
59
hmac_compat(bits2octets(data, order)),
0 commit comments