def aes.xt
import bend-osdev-aes@0.1.0.0/aes.bend as Aesimport 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)))))
import bend-osdev-aes@0.1.0.0/aes.bend as Aesimport 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)))))