def xtea.g
import bend-osdev-legacy-ciphers@0.1.0.0/tea.bend as Teaimport Base
37# XTEA's: (((x << 4) xor (x >> 5)) + x) xor c
38def xtea.g(+x: U32, c: U32) -> U32:
39 U32.xor(U32.add(U32.xor(U32.shln(x, 4n), U32.shrn(x, 5n)), x), c)
import bend-osdev-legacy-ciphers@0.1.0.0/tea.bend as Teaimport Base
37# XTEA's: (((x << 4) xor (x >> 5)) + x) xor c
38def xtea.g(+x: U32, c: U32) -> U32:
39 U32.xor(U32.add(U32.xor(U32.shln(x, 4n), U32.shrn(x, 5n)), x), c)