def mul_go

bend-collections@1.0.0.0 · src/crypto/secp256k1/point.bend:112

import bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend as Point
import Base

112def mul_go(bits: List<&2, Nat>, +p: Point, +r: Point) -> Point:
113  match bits:
114    case Nil{}: r
115    case b <> t: mul_go(t, p, step(b, p, dbl(r)))

Uses (5)

Used by (1)