def ared

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/paff.bend:22

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/paff.bend as Paff
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/point.bend as P
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/point.bend as PT

22def ared(+one: Nat, a: P.Affine) -> Bool:
23  match a:
24    case P.Affine{x, y}: Bool.and(PT.red(one, x), PT.red(one, y))

Uses (5)

Used by (10)