def order
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/field.bend as Fieldimport Base
41def order(+one: Nat) -> Nat:
42 Nat.sub(w256(one), cn(one))
Uses (4)
Used by (93)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/sel:sl16
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:order_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/fwrap:lt_n_s
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/scalarops:mul_r
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa:n
- …