law fcrypt_block_round_trip_dual
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/fcrypt.bend as Fc
1119# FCrypt (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)
1120law fcrypt_block_round_trip_dual:
1121 for k: Fc.LcFcryptKey
1122 for +b: L.LcBlock64
1123 {Fc.LcFcrypt.encrypt(k, Fc.LcFcrypt.decrypt(k, b)) == b : L.LcBlock64}
Uses (5)
Used by (0)
No other definition uses this definition.