def pow_go

bend-collections-laws-crypto@1.0.0.0 · src/crypto/secp256k1/field.bend:84

import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/field.bend as Field
import Base

84def pow_go(+x: List<&2, Nat>, bits: List<&2, Nat>, +acc: List<&2, Nat>) -> List<&2, Nat>:
85  match bits:
86    case Nil{}: acc
87    case b <> t: pow_go(x, t, pow_step(b, x, sq(acc)))

Uses (4)

Used by (6)