law camellia_block_round_trip

bend-osdev-crypto@0.1.0.0 · LAWS.bend:749

import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWS
import 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

749# Camellia (legacy-ciphers): decryption undoes encryption, for every key and block
750law camellia_block_round_trip:
751  for k: Ca.LcCamelliaKey
752  for +b: M.CmBlock
753  {Ca.LcCamellia.decrypt(k, Ca.LcCamellia.encrypt(k, b)) == b : M.CmBlock}

Uses (5)

Used by (0)

No other definition uses this definition.