law tea_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/tea.bend as Te
1041# TEA, little-endian words (legacy-ciphers): decryption undoes encryption, for every key and block
1042law tea_block_round_trip:
1043 for k: Te.LcTeaKey
1044 for +b: L.LcBlock64
1045 {Te.LcTea.decrypt(k, Te.LcTea.encrypt(k, b)) == b : L.LcBlock64}
Uses (5)
Used by (0)
No other definition uses this definition.