def cp
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/field.bend as Fieldimport Base
30# 2^256 - p = 2^32 + 977, and p
31def cp(+one: Nat) -> Nat:
32 digits(one, [977n, 0n, 1n])
Uses (3)
Used by (28)
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/field:prime
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:pp
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:prime_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/consts:hm_p
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/fieldops:small_r
- …