/cryptocipher.cabal
http://github.com/vincenthz/hs-cryptocipher · Cabal · 93 lines · 87 code · 6 blank · 0 comment · 10 complexity · 0274be78dc63c09dedb158afbe33c300 MD5 · raw file
- Name: cryptocipher
- Version: 0.3.5
- Description: Symmetrical Block, Stream and PubKey Ciphers
- License: BSD3
- License-file: LICENSE
- Copyright: Vincent Hanquez <vincent@snarc.org>
- Author: Vincent Hanquez <vincent@snarc.org>
- Maintainer: Vincent Hanquez <vincent@snarc.org>
- Synopsis: Symmetrical Block, Stream and PubKey Ciphers
- Category: Cryptography
- Build-Type: Simple
- Homepage: http://github.com/vincenthz/hs-cryptocipher
- Cabal-Version: >=1.8
- Extra-Source-Files: Tests/*.hs
- cbits/aes/aes.h
- Flag benchmark
- Description: Build benchmarks
- Default: False
- Flag aesni
- Description: Use fast aesni operations that are cpu dependant
- Default: False
- Library
- Build-Depends: base >= 4 && < 5
- , bytestring
- , vector >= 0.7
- , cpu >= 0.1 && < 0.2
- , ghc-prim
- , primitive
- , crypto-api >= 0.5
- , crypto-pubkey-types >= 0.1 && < 0.2
- , tagged
- , cereal
- Exposed-modules: Crypto.Cipher.RC4
- Crypto.Cipher.AES
- Crypto.Cipher.AES.Haskell
- Crypto.Cipher.Blowfish
- Crypto.Cipher.Camellia
- Crypto.Cipher.RSA
- Crypto.Cipher.DSA
- Crypto.Cipher.DH
- other-modules: Number.ModArithmetic
- Number.Serialize
- Number.Generate
- Number.Basic
- Number.Polynomial
- Number.Prime
- Crypto.Cipher.ElGamal
- ghc-options: -Wall
- if flag(aesni)
- cpp-options: -DHAVE_AESNI
- Exposed-modules: Crypto.Cipher.AES.X86NI
- C-sources: cbits/aes/x86ni.c
- CC-options: -mssse3 -maes
- Test-Suite test-cryptocipher
- type: exitcode-stdio-1.0
- hs-source-dirs: Tests
- Main-Is: tests.hs
- Build-depends: base >= 4 && < 5
- , crypto-api >= 0.5
- , cryptocipher
- , bytestring
- , cryptohash
- , vector
- , entropy
- , QuickCheck >= 2
- , test-framework >= 0.3.3 && < 0.7
- , test-framework-quickcheck2 >= 0.2.9 && < 0.3
- Executable Benchmarks
- hs-source-dirs: Benchmarks
- Main-Is: Benchmarks.hs
- if flag(benchmark)
- Buildable: True
- Build-depends: base >= 4 && < 5
- , bytestring
- , crypto-api
- , cryptocipher
- , criterion
- , mtl
- else
- Buildable: False
- if flag(aesni)
- cpp-options: -DHAVE_AESNI
- C-sources: cbits/aes/x86ni.c
- CC-options: -mssse3 -maes
- source-repository head
- type: git
- location: git://github.com/vincenthz/hs-cryptocipher