def Fo
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow.bend as Powimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/word.bend as WD
26# 2^n - 1
27def Fo(+one: Nat, +n: Nat) -> Nat:
28 Nat.sub(WD.sc(n, one), one)
Uses (3)
Used by (11)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/pcodec:r_sqm1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:chain_val
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:f32
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:fo_step
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:inv_val
- …