;;;; modes.lisp -- sanity checks for mode reversibility

(in-package :crypto-tests)

(rt:deftest modes.cbc
  (check-encryption/decryption-consistency :cbc)
  t)

(rt:deftest modes.cfb
  (check-encryption/decryption-consistency :cfb)
  t)

(rt:deftest modes.ofb
  (check-encryption/decryption-consistency :ofb)
  t)

(rt:deftest modes.ctr
  (check-encryption/decryption-consistency :ctr)
  t)
