{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleInstances #-}
module Raaz.Cipher.AES.Recommendation where
import Raaz.Core
import Raaz.Cipher.Internal
import Raaz.Cipher.AES.Internal
import qualified Raaz.Cipher.AES.CBC.Implementation.CPortable as CPCBC
instance Recommendation (AES 128 'CBC) where
recommended :: AES 128 'CBC -> Implementation (AES 128 'CBC)
recommended AES 128 'CBC
_ = Implementation (AES 128 'CBC)
CPCBC.aes128cbcI
instance Recommendation (AES 192 'CBC) where
recommended :: AES 192 'CBC -> Implementation (AES 192 'CBC)
recommended AES 192 'CBC
_ = Implementation (AES 192 'CBC)
CPCBC.aes192cbcI
instance Recommendation (AES 256 'CBC) where
recommended :: AES 256 'CBC -> Implementation (AES 256 'CBC)
recommended AES 256 'CBC
_ = Implementation (AES 256 'CBC)
CPCBC.aes256cbcI