def attempt

bend-collections@1.0.0.0 · spec/crypto/secp256k1/ecdsa.bend:113

import bend-collections@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend as Ecdsa
import Base
import bend-collections@1.0.0.0/spec/crypto/secp256k1/curve.bend as CV

113# step h.3: k = bits2int(T) with T = V, used when 1 <= k < n
114def attempt(+one: Nat, +e: Nat, +d: Nat, +v: List<&2, U32>) -> Attempt:
115  +k = CV.os2ip(v)
116  attempt_ok(one, e, d, k, scalar_ok(one, k))

Uses (7)

Used by (2)