-- | This sets up the recommended implementation of Sha512.
{-# OPTIONS_GHC -fno-warn-orphans #-}
--
-- The orphan instance declaration separates the implementation and
-- setting the recommended instances. Therefore, we ignore the warning.
--

module Raaz.Hash.Sha512.Recommendation where

import Raaz.Core
import Raaz.Hash.Sha512.Internal
import qualified Raaz.Hash.Sha512.Implementation.CPortable as CPortable

-- | Recommend implementation for SHA512.
instance Recommendation SHA512 where
  recommended :: SHA512 -> Implementation SHA512
recommended SHA512
_ = Implementation SHA512
CPortable.implementation