def to_mont

bend-collections@1.0.0.0 · src/math/w64.bend:628

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

628# x 2^64 mod m for x < m, m >= 2^32
629def to_mont(+x: W.U64, +m: W.U64) -> W.U64:
630  red96(red96(x, 0, m), 0, m)

Uses (2)

Used by (1)