def block

bend-collections-laws-crypto@1.0.0.0 · src/crypto/poly1305/limbs.bend:94

import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbs
import Base

94# One Poly1305 block: h = (h + c) r, partially reduced mod p.
95def block(+r: List<&2, U32>, h: List<&2, U32>, c: List<&2, U32>) -> List<&2, U32>:
96  reduce(fold(mul(add(h, c), r)))

Uses (6)

Used by (6)