def pp_of
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/prime.bend as Primeimport Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
13def pp_of(+one: Nat) -> Nat:
14 Nat.sub(C.shift(255n, one), 20n)
Uses (3)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/prime:hP
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/proof:pp1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/prime:prime_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/proof:pp1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/prime:pp_sum
- …