def mont32_ok

bend-collections-laws-crypto@1.0.0.0 · src/math/w64.bend:691

import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64
import Base

691def mont32_ok(+m: U32) -> Bool:
692  Bool.and(U32.is_eq(U32.and(m, 1), 1), U32.is_eq(U32.mul(m, minv32(m)), 4294967295))

Uses (7)

Used by (1)