Name: nettle Version: 0.3.0 Synopsis: safe nettle binding Description: safe binding for the nettle () library. Tested with 3.4, might work with 3.2 (but not earlier). License: MIT License-file: COPYING Copyright: Stefan Bühler Author: Stefan Bühler Maintainer: Stefan Bühler Category: Cryptography Build-Type: Simple Homepage: https://github.com/stbuehler/haskell-nettle Bug-reports: https://github.com/stbuehler/haskell-nettle/issues Cabal-Version: >=1.8 Extra-source-files: README.md , src/nettle-ciphers.h , src/nettle-hash.h , src/Tests/*.hs , src/Tests/KAT/*.hs Flag UsePkgConfig Description: Use pkg-config to check for library dependences Default: True Library hs-source-dirs: src Build-Depends: base >= 4 && < 5 , bytestring >= 0.10.8 && < 0.11 , byteable >= 0.1.1 && < 0.2 , tagged >= 0.8.5 && < 0.9 , securemem >= 0.1.9 && < 0.2 , crypto-cipher-types >= 0.0.3 && < 0.1 Exposed-modules: Crypto.Nettle.ChaChaPoly1305 Crypto.Nettle.Ciphers Crypto.Nettle.CCM Crypto.Nettle.Hash Crypto.Nettle.KeyedHash Crypto.Nettle.HMAC Crypto.Nettle.UMAC Other-modules: Crypto.Nettle.Ciphers.Internal Crypto.Nettle.Ciphers.ForeignImports Crypto.Nettle.Hash.ForeignImports Crypto.Nettle.Hash.Types Nettle.Utils ghc-options: -Wall -optc-O3 -fno-cse -fno-warn-tabs include-dirs: src C-sources: src/nettle-ciphers.c if flag(UsePkgConfig) PkgConfig-Depends: nettle else Extra-libraries: nettle Test-Suite test-ciphers type: exitcode-stdio-1.0 hs-source-dirs: src/Tests Main-Is: Ciphers.hs Build-depends: base >= 4 && < 5 , bytestring >= 0.10.8 && < 0.11 , QuickCheck >= 2 && < 3 , array >= 0.5.1 && < 0.6 , test-framework >= 0.3.3 && > 0.4 , test-framework-quickcheck2 >= 0.2.9 , crypto-cipher-types >= 0.0.3 && < 0.1 , crypto-cipher-tests >= 0.0.11 && < 0.1 , nettle ghc-options: -fno-warn-tabs Test-Suite test-hashes type: exitcode-stdio-1.0 hs-source-dirs: src/Tests Main-Is: Hash.hs Build-depends: base >= 4 && < 5 , bytestring >= 0.10.8 && < 0.11 , tagged >= 0.8.5 && < 0.9 , array >= 0.5.1 && < 0.6 , test-framework >= 0.3.3 && > 0.4 , HUnit >= 1.6.0 && < 1.7 , test-framework-hunit >= 0.3.0 && < 0.4 , nettle ghc-options: -fno-warn-tabs Test-Suite test-hmac type: exitcode-stdio-1.0 hs-source-dirs: src/Tests Main-Is: HMAC.hs Build-depends: base >= 4 && < 5 , bytestring >= 0.10.8 && < 0.11 , tagged >= 0.8.5 && < 0.9 , array >= 0.5.1 && < 0.6 , test-framework >= 0.3.3 && > 0.4 , HUnit >= 1.6.0 && < 1.7 , test-framework-hunit >= 0.3.0 && < 0.4 , nettle ghc-options: -fno-warn-tabs Test-Suite test-umac type: exitcode-stdio-1.0 hs-source-dirs: src/Tests Main-Is: UMAC.hs Build-depends: base >= 4 && < 5 , bytestring >= 0.10.8 && < 0.11 , tagged >= 0.8.5 && < 0.9 , array >= 0.5.1 && < 0.6 , test-framework >= 0.3.3 && > 0.4 , HUnit >= 1.6.0 && < 1.7 , test-framework-hunit >= 0.3.0 && < 0.4 , nettle ghc-options: -fno-warn-tabs source-repository head type: git location: git://github.com/stbuehler/haskell-nettle