Twofish.tf.h: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Twofish Lines 149-159 of bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend&start_line=149&end_line=159 import Base # h(X, L) for L = L_0 .. L_(k-1), k = 2, 3 or 4 def tf.h(+t: LcTfTabs, +x: U32, l: List<&2, U32>) -> U32: match l: case Con{l0, Con{l1, Nil{}}}: tf.h2(t, x, l0, l1) case Con{l0, Con{l1, Con{l2, Nil{}}}}: tf.h3(t, x, l0, l1, l2) case Con{l0, Con{l1, Con{l2, Con{l3, more}}}}: tf.h4(t, x, l0, l1, l2, l3) case _: 0 Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend&name=LcTfTabs https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend&name=tf.h2 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend&name=tf.h3 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend&name=tf.h4