def wide

bend-collections@1.0.0.0 · src/crypto/curve25519/field.bend:178

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

178# fold the product: low 32 limbs + 38 * high limbs
179def wide(+zs: List<&2, U32>) -> List<&2, U32>:
180  addl(take(32n, zs), scal(38, drop(32n, zs)))

Uses (6)

Used by (1)