fastpbkdf2-0.1.0.0: fastpbkdf2.cabal
name: fastpbkdf2
version: 0.1.0.0
synopsis: Haskell bindings to the fastpbkdf2 C library
description: Please see README.md
homepage: https://github.com/adinapoli/fastpbkdf2-hs#readme
license: BSD3
license-file: LICENSE
author: Alfredo Di Napoli
maintainer: alfredo.dinapoli@gmail.com
copyright: 2016 Alfredo Di Napoli
category: Cryptography
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
include/fastpbkdf2.h
library
hs-source-dirs: src
c-sources: cbits/fastpbkdf2.c
cc-options: -ffast-math -std=gnu99
include-dirs: include
exposed-modules: Crypto.KDF.PBKDF2
build-depends: base >= 4.6 && < 5
, bytestring >= 0.10.4.0
default-language: Haskell2010
if os(mingw32) || os(windows)
extra-libraries: eay32, ssl32
else
if os(osx)
include-dirs: /usr/local/opt/openssl/include
extra-lib-dirs: /usr/local/opt/openssl/lib
else
if arch(x86_64)
cpp-options: -D__x86_64__
if arch(i386)
cpp-options: -D__i386__
extra-libraries: crypto
test-suite fastpbkdf2-hs-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base
, base16-bytestring
, bytestring
, fastpbkdf2 -any
, tasty
, tasty-hunit
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
benchmark fastpbkdf2-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
build-depends:
base >=4.6 && <5
, bytestring >= 0.10.4.0
, criterion
, fastpbkdf2
, cryptonite
, pbkdf
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/adinapoli/fastpbkdf2-hs