def tf.q.half

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

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

46def tf.q.half(+a: U32, +b: U32) -> U32:
47  U32.xor(U32.xor(a, tf.ror4(b)), U32.and(15, U32.shln(a, 3n)))

Uses (5)

Used by (2)