def hstate

bend-collections@1.0.0.0 · src/crypto/chacha/chacha20.bend:104

import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20
import Base
import bend-collections@1.0.0.0/src/crypto/chacha/core.bend as C

104def hstate(k: Key, +ws: List<&2, U32>) -> C.State:
105  match k:
106    case K{k0, k1, k2, k3, k4, k5, k6, k7}:
107      C.hinit(k0, k1, k2, k3, k4, k5, k6, k7, at(ws, 0n), at(ws, 1n), at(ws, 2n), at(ws, 3n))

Uses (6)

Used by (1)