def aes.xt

bend-osdev-cipher-modes@0.1.0.0 · aes.bend:18

import bend-osdev-cipher-modes@0.1.0.0/aes.bend as Aes
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M

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

Uses (6)

Used by (6)