-
Notifications
You must be signed in to change notification settings - Fork 7
/
pairing.cabal
110 lines (99 loc) · 2.68 KB
/
pairing.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
cabal-version: 3.0
name: pairing
version: 1.1.0
synopsis: Bilinear pairings
description: Bilinear pairings over elliptic curves
category: Cryptography
homepage: https://github.com/adjoint-io/pairing#readme
bug-reports: https://github.com/adjoint-io/pairing/issues
maintainer: Adjoint Inc ([email protected])
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README_notex.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/adjoint-io/pairing
common shared-dependencies
build-depends:
, base >=4.10 && <5
, bytestring ^>=0.10.8
, elliptic-curve ^>=0.3
, errors ^>=2.3.0
, galois-field >=1.0.2 && <2.0
, groups ^>=0.4.1
, MonadRandom ^>=0.5.1
, protolude >=0.2 && <0.4
, tasty-quickcheck ^>=0.10.1
default-extensions:
NoImplicitPrelude
ConstraintKinds
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
OverloadedLists
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
TypeFamilyDependencies
library
import: shared-dependencies
exposed-modules:
Data.Pairing
Data.Pairing.Ate
Data.Pairing.BLS12381
Data.Pairing.BN254
Data.Pairing.BN254A
Data.Pairing.BN254B
Data.Pairing.BN254C
Data.Pairing.BN254D
Data.Pairing.BN462
Data.Pairing.Hash
hs-source-dirs: src
ghc-options: -freverse-errors -O2 -Wall
default-language: Haskell2010
test-suite example-tests
import: shared-dependencies
type: exitcode-stdio-1.0
main-is: Example.hs
ghc-options: -freverse-errors -O2 -Wall
default-language: Haskell2010
test-suite pairing-tests
import: shared-dependencies
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Test.BLS12381
Test.BN254
Test.BN254A
Test.BN254B
Test.BN254C
Test.BN254D
Test.BN462
Test.Curve
Test.Field
Test.Pairing
hs-source-dirs: test
ghc-options: -freverse-errors -O2 -Wall -main-is Main
default-language: Haskell2010
benchmark pairing-benchmarks
import: shared-dependencies
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Bench.Hash
Bench.Pairing
hs-source-dirs: bench
ghc-options: -freverse-errors -O2 -Wall -main-is Main
build-depends:
, criterion ^>=1.5
, pairing
default-language: Haskell2010