def tf.h2

bend-osdev-legacy-ciphers@0.1.0.0 · twofish.bend:139

import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as Twofish
import Base

139# the stages every key length shares: with L_1, with L_0, then q alone
140def tf.h2(+t: LcTfTabs, +x: U32, +l0: U32, +l1: U32) -> U32:
141  tf.mds(t, tf.stage(t, True{}, False{}, True{}, False{}, tf.stage(t, False{}, False{}, True{}, True{}, tf.stage(t, False{}, True{}, False{}, True{}, x, l1), l0), 0))

Uses (5)

Used by (2)