def attempt
import bend-collections@1.0.0.0/src/crypto/secp256k1/ecdsa.bend as Ecdsaimport Base
import bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend as B
104# the candidate k = bits2int(V) (RFC 6979 step h.3): used when 1 <= k < n
105def attempt(+z: List<&2, Nat>, +d: List<&2, Nat>, +v: List<&2, U32>) -> Attempt:
106 +k = B.of_be(v)
107 attempt_ok(z, d, k, scalar_ok(k))