law camellia_block_round_trip_dual
import bend-osdev-crypto@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/camellia.bend as Ca
755# Camellia (legacy-ciphers): encryption undoes decryption (a permutation of the blocks)
756law camellia_block_round_trip_dual:
757 for k: Ca.LcCamelliaKey
758 for +b: M.CmBlock
759 {Ca.LcCamellia.encrypt(k, Ca.LcCamellia.decrypt(k, b)) == b : M.CmBlock}
Uses (5)
Used by (0)
No other definition uses this definition.