law twofish_round_trip
import bend-osdev-legacy-ciphers@0.1.0.0/LAWS.bend as LAWSimport Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as F
96law twofish_round_trip:
97 for k: F.LcTwofishKey
98 for +b: M.CmBlock
99 {F.LcTwofish.decrypt(k, F.LcTwofish.encrypt(k, b)) == b : M.CmBlock}