-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRSA.cabal
59 lines (55 loc) · 2.54 KB
/
RSA.cabal
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
name: RSA
category: Cryptography, Codec
version: 2.4.1
license: BSD3
license-file: LICENSE
author: Adam Wick <awick@galois.com>
maintainer: Adam Wick <awick@galois.com>
stability: stable
build-type: Simple
cabal-version: >= 1.8
tested-with: GHC ==7.8.0
synopsis: Implementation of RSA, using the padding schemes of PKCS#1 v2.1.
description: This library implements the RSA encryption and signature
algorithms for arbitrarily-sized ByteStrings. While the
implementations work, they are not necessarily the fastest ones
on the planet. Particularly key generation. The algorithms
included are based of RFC 3447, or the Public-Key Cryptography
Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1).
Library
hs-source-dirs: src
build-depends: base >= 4.6 && < 7.0,
binary > 0.7 && < 1.0,
bytestring > 0.8 && < 0.12,
crypto-api >= 0.10 && < 0.14,
crypto-pubkey-types >= 0.2 && < 0.6,
SHA >= 1.6.4.1 && < 2.0
if impl(ghc < 8.0)
build-depends: cipher-aes128 < 0.7.0.4
exposed-modules: Codec.Crypto.RSA,
Codec.Crypto.RSA.Exceptions,
Codec.Crypto.RSA.Pure
GHC-Options: -Wall -fno-warn-orphans
extensions: DeriveDataTypeable, MultiWayIf
test-suite test-rsa
type: exitcode-stdio-1.0
Main-Is: Test.hs
hs-source-dirs: src,.
other-modules: Codec.Crypto.RSA.Pure
build-depends: base >= 4.6 && < 7.0,
binary > 0.7 && < 1.0,
bytestring > 0.8 && < 0.12,
crypto-api >= 0.10 && < 0.14,
crypto-pubkey-types >= 0.4 && < 0.6,
HUnit >= 1.2 && < 1.7,
QuickCheck >= 2.5 && < 3,
tagged >= 0.2 && < 0.9,
test-framework >= 0.8.0.3 && < 0.10,
test-framework-hunit >= 0.3.0 && < 0.4,
test-framework-quickcheck2 >= 0.3.0.2 && < 0.5,
SHA >= 1.6.4.1 && < 2.0
GHC-Options: -Wall -fno-warn-orphans
extensions: DeriveDataTypeable, MultiWayIf, ScopedTypeVariables
source-repository head
type: git
location: git://github.com/GaloisInc/RSA.git