File: crypto-pubkey.cabal

package info (click to toggle)
haskell-crypto-pubkey 0.2.8-9
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 252 kB
  • sloc: haskell: 1,830; makefile: 3
file content (82 lines) | stat: -rw-r--r-- 2,892 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Name:                crypto-pubkey
Version:             0.2.8
Description:
    Public Key cryptography
    .
    Supports RSA PKCS15, RSA OAEP, RSA PSS, DSA, ElGamal signature.
    .
    Also have primitive support for Diffie Hellman, and ElGamal encryption
License:             BSD3
License-file:        LICENSE
Copyright:           Vincent Hanquez <vincent@snarc.org>
Author:              Vincent Hanquez <vincent@snarc.org>
Maintainer:          Vincent Hanquez <vincent@snarc.org>
Synopsis:            Public Key cryptography
Category:            Cryptography
Build-Type:          Simple
Homepage:            https://github.com/vincenthz/hs-crypto-pubkey
Cabal-Version:       >=1.8
Extra-Source-Files:  Tests/*.hs
                     Tests/KAT/*.hs
                     Benchs/PregenKeys.hs

Library
  Build-Depends:     base >= 4 && < 5
                   , bytestring
                   , byteable
                   , crypto-random >= 0.0 && < 0.1
                   , crypto-pubkey-types >= 0.4.1 && < 0.5
                   , cryptohash >= 0.9.1
                   , crypto-numbers >= 0.2.2
  Exposed-modules:   Crypto.PubKey.RSA
                     Crypto.PubKey.RSA.PKCS15
                     Crypto.PubKey.RSA.OAEP
                     Crypto.PubKey.RSA.PSS
                     Crypto.PubKey.RSA.Prim
                     Crypto.PubKey.DSA
                     Crypto.PubKey.DH
                     Crypto.PubKey.HashDescr
                     Crypto.PubKey.MaskGenFunction
                     Crypto.PubKey.ECC.Generate
                     Crypto.PubKey.ECC.Prim
                     Crypto.PubKey.ECC.DH
                     Crypto.PubKey.ECC.ECDSA
  other-modules:     Crypto.PubKey.ElGamal
                     Crypto.PubKey.RSA.Types
                     Crypto.PubKey.Internal
  ghc-options:       -Wall -O2

Test-Suite test-crypto-pubkey
  type:              exitcode-stdio-1.0
  hs-source-dirs:    Tests
  Main-Is:           Tests.hs
  Build-depends:     base >= 4 && < 5
                   , bytestring
                   , byteable
                   , cryptohash
                   , crypto-pubkey
                   , crypto-pubkey-types
                   , crypto-numbers
                   , crypto-random
                   , tasty
                   , tasty-quickcheck
                   , tasty-hunit
                   , tasty-kat

Benchmark bench-crypto-pubkey
  hs-source-dirs:    Benchs
  Main-Is:           Bench.hs
  type:              exitcode-stdio-1.0
  Build-depends:     base >= 4 && < 5
                   , bytestring
                   , cryptohash
                   , crypto-random
                   , crypto-pubkey
                   , crypto-pubkey-types
                   , criterion
                   , mtl
                   , deepseq

source-repository head
  type:     git
  location: https://github.com/vincenthz/hs-crypto-pubkey