Serpent.sp.lt4: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend as Serpent Lines 183-187 of bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/serpent.bend&start_line=183&end_line=187 import Base import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M # X3 = X3 xor X2 xor (X0 << 3) (its own inverse) def sp.lt4(s: M.CmBlock) -> M.CmBlock: match s: case M.CmBlock{+x0, x1, +x2, x3}: M.CmBlock{x0, x1, x2, U32.xor(x3, U32.xor(x2, U32.shln(x0, 3n)))} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shln https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend&name=CmBlock