Camellia.cam.flinv: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as Camellia Lines 110-114 of bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend&start_line=110&end_line=114 import Base import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L def cam.flinv(y: L.LcBlock64, k: L.LcBlock64) -> L.LcBlock64: match y k: case L.LcBlock64{y1, +y2} L.LcBlock64{k1, k2}: +x1 = U32.xor(y1, U32.or(y2, k2)) L.LcBlock64{x1, U32.xor(y2, L.lc.rotl(U32.and(x1, k1), 1n))} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=LcBlock64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend&name=lc.rotl