Serpent.sp.lt3: 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 177-181 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=177&end_line=181 import Base import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M # X1 = X1 xor X0 xor X2 (its own inverse) def sp.lt3(s: M.CmBlock) -> M.CmBlock: match s: case M.CmBlock{+x0, x1, +x2, x3}: M.CmBlock{x0, U32.xor(x1, U32.xor(x0, x2)), x2, x3} Uses (2): 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