law camellia_round_trip

bend-osdev-legacy-ciphers@0.1.0.0 · LAWS.bend:72

import bend-osdev-legacy-ciphers@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 C

72law camellia_round_trip:
73  for k: C.LcCamelliaKey
74  for +b: M.CmBlock
75  {C.LcCamellia.decrypt(k, C.LcCamellia.encrypt(k, b)) == b : M.CmBlock}

Uses (8)

Used by (5)