def length_is
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/curve.bend as Curveimport Base
218def length_is(n: Nat, bs: List<&2, U32>) -> Bool:
219 Nat.is_eq(List.length(&2, U32, bs), n)
Uses (6)
Used by (21)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/blist:hl_is
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa:public_key
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa:recover
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/schnorr:secret_ok
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/schnorr:verify
- …