def aes.xt

bend-osdev-aes@0.1.0.0 · aes.bend:26

import bend-osdev-aes@0.1.0.0/aes.bend as Aes
import Base
import bend-osdev-mode-core@0.1.0.0/mode_core.bend as M

26def aes.xt(+x: U32) -> U32:
27  U32.and(255, U32.xor(U32.shl(x), U32.and(27, M.cm.mask(U32.shrn(x, 7n)))))

Uses (6)

Used by (5)