law xtea_block_round_trip
import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWSimport Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-legacy-ciphers@0.1.0.0/xtea.bend as Xt
1077# XTEA, little-endian words (legacy-ciphers): decryption undoes encryption, for every key and block
1078law xtea_block_round_trip:
1079 for k: Xt.LcXteaKey
1080 for +b: L.LcBlock64
1081 {Xt.LcXtea.decrypt(k, Xt.LcXtea.encrypt(k, b)) == b : L.LcBlock64}
Uses (5)
Used by (0)
No other definition uses this definition.