Name: cryptonite Version: 0.1.0 Synopsis: Crypto stuff Description: cryptography License: BSD3 License-file: LICENSE Copyright: Vincent Hanquez Author: Vincent Hanquez Maintainer: vincent@snarc.org Category: Cryptography Stability: experimental Build-Type: Simple Homepage: https://github.com/vincenthz/cryptonite Bug-reports: https://github.com/vincenthz/cryptonite/issues Cabal-Version: >=1.10 extra-doc-files: README.md extra-source-files: cbits/*.h cbits/aes/*.h cbits/aes/x86ni_impl.c source-repository head type: git location: https://github.com/vincenthz/cryptonite Flag support_aesni Description: allow compilation with AESNI on system and architecture that supports it Default: True Library Exposed-modules: Crypto.Cipher.ChaCha Crypto.Cipher.Salsa Crypto.Cipher.RC4 Crypto.Data.AFIS Crypto.MAC.Poly1305 Crypto.MAC.HMAC Crypto.Number.Basic Crypto.Number.F2m Crypto.Number.Generate Crypto.Number.ModArithmetic Crypto.Number.Prime Crypto.Number.Serialize Crypto.KDF.PBKDF2 Crypto.KDF.Scrypt Crypto.Hash Crypto.Hash.SHA1 Crypto.Hash.SHA224 Crypto.Hash.SHA256 Crypto.Hash.SHA384 Crypto.Hash.SHA512 Crypto.Hash.SHA512t Crypto.Hash.SHA3 Crypto.Hash.Kekkak Crypto.Hash.MD2 Crypto.Hash.MD4 Crypto.Hash.MD5 Crypto.Hash.RIPEMD160 Crypto.Hash.Skein256 Crypto.Hash.Skein512 Crypto.Hash.Tiger Crypto.Hash.Whirlpool Crypto.PubKey.Curve25519 Crypto.PubKey.HashDescr Crypto.PubKey.MaskGenFunction Crypto.PubKey.DH Crypto.PubKey.DSA Crypto.PubKey.ECC.Generate Crypto.PubKey.ECC.Prim Crypto.PubKey.ECC.DH Crypto.PubKey.ECC.ECDSA Crypto.PubKey.ECC.Types Crypto.PubKey.RSA Crypto.PubKey.RSA.PKCS15 Crypto.PubKey.RSA.Prim Crypto.PubKey.RSA.PSS Crypto.PubKey.RSA.OAEP Crypto.PubKey.RSA.Types Crypto.Random Crypto.Random.Types Crypto.Random.Entropy Crypto.Random.EntropyPool Crypto.Random.Entropy.Unsafe Other-modules: Crypto.Cipher.AES.Internal Crypto.Hash.Utils Crypto.Hash.Utils.Cpu Crypto.Hash.Types Crypto.Hash.Internal.SHA1 Crypto.Hash.Internal.SHA224 Crypto.Hash.Internal.SHA256 Crypto.Hash.Internal.SHA384 Crypto.Hash.Internal.SHA512 Crypto.Hash.Internal.SHA512t Crypto.Hash.Internal.SHA3 Crypto.Hash.Internal.Kekkak Crypto.Hash.Internal.MD2 Crypto.Hash.Internal.MD4 Crypto.Hash.Internal.MD5 Crypto.Hash.Internal.RIPEMD160 Crypto.Hash.Internal.Skein256 Crypto.Hash.Internal.Skein512 Crypto.Hash.Internal.Tiger Crypto.Hash.Internal.Whirlpool Crypto.Random.Entropy.Source Crypto.Random.Entropy.Backend Crypto.Random.ChaChaDRG Crypto.PubKey.Internal Crypto.PubKey.ElGamal Crypto.Internal.Compat Crypto.Internal.Bytes Crypto.Internal.ByteArray Crypto.Internal.Memory Build-depends: base >= 4.3 && < 5 , bytestring , securemem >= 0.1.7 , byteable , ghc-prim ghc-options: -Wall -fwarn-tabs -optc-O3 default-language: Haskell2010 C-sources: cbits/cryptonite_chacha.c , cbits/cryptonite_salsa.c , cbits/cryptonite_rc4.c , cbits/cryptonite_cpu.c , cbits/aes/generic.c , cbits/aes/gf.c , cbits/cryptonite_aes.c , cbits/curve25519/curve25519-donna.c , cbits/cryptonite_poly1305.c , cbits/cryptonite_sha1.c , cbits/cryptonite_sha256.c , cbits/cryptonite_sha512.c , cbits/cryptonite_sha3.c , cbits/cryptonite_kekkak.c , cbits/cryptonite_md2.c , cbits/cryptonite_md4.c , cbits/cryptonite_md5.c , cbits/cryptonite_ripemd.c , cbits/cryptonite_skein256.c , cbits/cryptonite_skein512.c , cbits/cryptonite_tiger.c , cbits/cryptonite_whirlpool.c , cbits/cryptonite_scrypt.c include-dirs: cbits if (arch(i386) || arch(x86_64)) CPP-options: -DARCH_IS_LITTLE_ENDIAN if arch(x86_64) CPP-options: -DSUPPORT_RDRAND Other-modules: Crypto.Random.Entropy.RDRand c-sources: cbits/cryptonite_rdrand.c if flag(support_aesni) && (os(linux) || os(freebsd) || os(osx)) && (arch(i386) || arch(x86_64)) CC-options: -mssse3 -maes -mpclmul -DWITH_AESNI C-sources: cbits/aes/x86ni.c if os(windows) cpp-options: -DWINDOWS Build-Depends: Win32 Other-modules: Crypto.Random.Entropy.Windows extra-libraries: advapi32 else Other-modules: Crypto.Random.Entropy.Unix Test-Suite test-cryptonite type: exitcode-stdio-1.0 hs-source-dirs: tests Main-is: Tests.hs Build-Depends: base >= 3 && < 5 , bytestring , byteable , tasty , tasty-quickcheck , tasty-hunit , tasty-kat , cryptonite ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures default-language: Haskell2010