def one_r

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/scalarpow.bend:92

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/scalarpow.bend as Scalarpow
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/field.bend as FS
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/scalar.bend as S
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/scalarops.bend as SO

92def one_r(+one: Nat, +h1: {one == 1n : Nat}) -> {FS.reduced(one, FS.order(one), S.one()) == True{} : Bool}:
93  SO.small_r(one, h1, 1n, one_lt(one, h1))

Uses (7)

Used by (2)