def cm.block_of
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as CipherModesimport Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
130# the block of the first 16 bytes of xs, zero-filled if xs is shorter
131def cm.block_of(xs: List<&2, U32>) -> CmBlock:
132 cm.block_of.full(B.append(B.take(16n, xs), B.zeros(16n)))