def redc_p

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

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

598def redc_p(+m: W.U64, +tl: W.U64, +th: W.U64, p: W.U64 & W.U64) -> W.U64:
599  (+pl, +ph) = p
600  redc_r(m, add(add(th, ph), W.U64{b32(add_over(tl, pl)), 0}))

Uses (7)

Used by (1)