law aria_ecb_round_trip
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/aria.bend as Ar
import bend-osdev-crypto@0.1.0.0/modes.bend as Md
897# ARIA (legacy-ciphers) in ECB (modes.bend): decryption undoes encryption, for every key and list of blocks
898law aria_ecb_round_trip:
899 for +k: Ar.LcAriaKey
900 for +bs: List<&2, M.CmBlock>
901 {Md.CrEcb.decrypt_blocks(~Ar.LcAriaKey, ~M.CmBlock, ~Ar.LcAria.decrypt, k, Md.CrEcb.encrypt_blocks(~Ar.LcAriaKey, ~M.CmBlock, ~Ar.LcAria.encrypt, k, bs)) == bs : List<&2, M.CmBlock>}
Uses (12)
Used by (0)
No other definition uses this definition.