cryptonite-0.27: Cryptography Primitives sink
License BSD-style
Maintainer Olivier Chéron <olivier.cheron@gmail.com>
Stability experimental
Portability unknown
Safe Haskell None
Language Haskell2010

Crypto.System.CPU

Description

Gives information about cryptonite runtime environment.

Synopsis

Documentation

data ProcessorOption Source #

CPU options impacting cryptography implementation and library performance.

Constructors

AESNI

Support for AES instructions, with flag support_aesni

PCLMUL

Support for CLMUL instructions, with flag support_pclmuldq

RDRAND

Support for RDRAND instruction, with flag support_rdrand

Instances

Instances details
Enum ProcessorOption Source #
Instance details

Defined in Crypto.System.CPU

Eq ProcessorOption Source #
Instance details

Defined in Crypto.System.CPU

Data ProcessorOption Source #
Instance details

Defined in Crypto.System.CPU

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ProcessorOption -> c ProcessorOption Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ProcessorOption Source #

toConstr :: ProcessorOption -> Constr Source #

dataTypeOf :: ProcessorOption -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ProcessorOption ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ProcessorOption ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ProcessorOption -> ProcessorOption Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ProcessorOption -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ProcessorOption -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ProcessorOption -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ProcessorOption -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ProcessorOption -> m ProcessorOption Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ProcessorOption -> m ProcessorOption Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ProcessorOption -> m ProcessorOption Source #

Show ProcessorOption Source #
Instance details

Defined in Crypto.System.CPU

processorOptions :: [ ProcessorOption ] Source #

Options which have been enabled at compile time and are supported by the current CPU.