law serpent_round_trip_dual

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

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/serpent.bend as P

89law serpent_round_trip_dual:
90  for k: P.LcSerpentKey
91  for +b: M.CmBlock
92  {P.LcSerpent.encrypt(k, P.LcSerpent.decrypt(k, b)) == b : M.CmBlock}

Uses (8)

Used by (1)