def toy_f
import bend-osdev-cipher-core@0.1.0.0/check.bend as Checkimport Base
import bend-osdev-cipher-core@0.1.0.0/cipher_core.bend as L
53# a toy round function for the Feistel rounds: x + k, then rotated by 7
54def toy_f(k: U32, x: U32) -> U32:
55 L.lc.rotl(U32.add(x, k), 7n)