def aes.mask_w
import bend-osdev-aes@0.1.0.0/aes.bend as Aesimport Base
import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T
64# each byte's low 8 bits
65def aes.mask_w(w: T.Quad) -> T.Quad:
66 match w:
67 case T.W{a, b, c, d}:
68 T.W{U32.and(255, a), U32.and(255, b), U32.and(255, c), U32.and(255, d)}