File 1.cabal of Package ghc-crypto-numbers
Name: crypto-numbers
Version: 0.2.7
x-revision: 1
Description: Cryptographic numbers: functions and algorithms
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Vincent Hanquez <vincent@snarc.org>
Synopsis: Cryptographic numbers: functions and algorithms
Category: Cryptography
Build-Type: Simple
Homepage: https://github.com/vincenthz/hs-crypto-numbers
Cabal-Version: >=1.8
Extra-Source-Files: Tests/*.hs
Flag integer-gmp
Description: Are we using integer-gmp?
Default: True
Library
Build-Depends: base >= 4 && < 5
, bytestring
, vector
, crypto-random >= 0.0 && < 0.1
Exposed-modules: Crypto.Number.ModArithmetic
Crypto.Number.Serialize
Crypto.Number.Generate
Crypto.Number.Basic
Crypto.Number.Polynomial
Crypto.Number.F2m
Crypto.Number.Prime
if impl(ghc) && flag(integer-gmp)
Build-depends: integer-gmp >= 0.3
, ghc-prim
ghc-options: -Wall
Test-Suite test-crypto-numbers
type: exitcode-stdio-1.0
hs-source-dirs: Tests
Main-Is: Tests.hs
Build-depends: base >= 4 && < 5
, crypto-random
, crypto-numbers
, bytestring
, byteable
, vector
, tasty
, tasty-quickcheck
, tasty-hunit
ghc-options: -Wall -O2
Benchmark bench-crypto-numbers
hs-source-dirs: Benchmarks
Main-Is: Benchmarks.hs
type: exitcode-stdio-1.0
Build-depends: base >= 4 && < 5
, bytestring
, crypto-numbers
, criterion
, mtl
source-repository head
type: git
location: https://github.com/vincenthz/hs-crypto-numbers