generated from serokell/metatemplates
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhsblst.cabal
306 lines (301 loc) · 9.82 KB
/
hsblst.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
cabal-version: 3.0
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: hsblst
version: 0.0.4
synopsis: Haskell bindings to BLST
description: HsBLST is low-level Haskell bindings and a high-level interface to [BLST](https://github.com/supranational/blst) -- a multilingual BLS12-381 signature library.
category: Cryptography
homepage: https://github.com/serokell/hsblst#readme
bug-reports: https://github.com/serokell/hsblst/issues
author: Serokell <[email protected]>
maintainer: Serokell <[email protected]>
copyright: 2022 Serokell <https://serokell.io>
license: MPL-2.0
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.8.4
, GHC == 9.10.1
extra-source-files:
c-source/build/coff/add_mod_256-x86_64.s
c-source/build/coff/add_mod_384-x86_64.s
c-source/build/coff/add_mod_384x384-x86_64.s
c-source/build/coff/ct_inverse_mod_256-x86_64.s
c-source/build/coff/ct_is_square_mod_384-x86_64.s
c-source/build/coff/ctq_inverse_mod_384-x86_64.s
c-source/build/coff/ctx_inverse_mod_384-x86_64.s
c-source/build/coff/div3w-x86_64.s
c-source/build/coff/mulq_mont_256-x86_64.s
c-source/build/coff/mulq_mont_384-x86_64.s
c-source/build/coff/mulx_mont_256-x86_64.s
c-source/build/coff/mulx_mont_384-x86_64.s
c-source/build/coff/sha256-portable-x86_64.s
c-source/build/coff/sha256-x86_64.s
c-source/build/elf/add_mod_256-x86_64.s
c-source/build/elf/add_mod_384-x86_64.s
c-source/build/elf/add_mod_384x384-x86_64.s
c-source/build/elf/ct_inverse_mod_256-x86_64.s
c-source/build/elf/ct_is_square_mod_384-x86_64.s
c-source/build/elf/ctq_inverse_mod_384-x86_64.s
c-source/build/elf/ctx_inverse_mod_384-x86_64.s
c-source/build/elf/div3w-x86_64.s
c-source/build/elf/mulq_mont_256-x86_64.s
c-source/build/elf/mulq_mont_384-x86_64.s
c-source/build/elf/mulx_mont_256-x86_64.s
c-source/build/elf/mulx_mont_384-x86_64.s
c-source/build/elf/sha256-portable-x86_64.s
c-source/build/elf/sha256-x86_64.s
c-source/build/mach-o/add_mod_256-x86_64.s
c-source/build/mach-o/add_mod_384-x86_64.s
c-source/build/mach-o/add_mod_384x384-x86_64.s
c-source/build/mach-o/ct_inverse_mod_256-x86_64.s
c-source/build/mach-o/ct_is_square_mod_384-x86_64.s
c-source/build/mach-o/ctq_inverse_mod_384-x86_64.s
c-source/build/mach-o/ctx_inverse_mod_384-x86_64.s
c-source/build/mach-o/div3w-x86_64.s
c-source/build/mach-o/mulq_mont_256-x86_64.s
c-source/build/mach-o/mulq_mont_384-x86_64.s
c-source/build/mach-o/mulx_mont_256-x86_64.s
c-source/build/mach-o/mulx_mont_384-x86_64.s
c-source/build/mach-o/sha256-portable-x86_64.s
c-source/build/mach-o/sha256-x86_64.s
c-source/build/assembly.S
c-source/build/cheri/add_mod_256-armv8.S
c-source/build/cheri/add_mod_384-armv8.S
c-source/build/cheri/ct_inverse_mod_256-armv8.S
c-source/build/cheri/ct_inverse_mod_384-armv8.S
c-source/build/cheri/ct_is_square_mod_384-armv8.S
c-source/build/cheri/div3w-armv8.S
c-source/build/cheri/mul_mont_256-armv8.S
c-source/build/cheri/mul_mont_384-armv8.S
c-source/build/cheri/sha256-armv8.S
c-source/build/coff/add_mod_256-armv8.S
c-source/build/coff/add_mod_384-armv8.S
c-source/build/coff/ct_inverse_mod_256-armv8.S
c-source/build/coff/ct_inverse_mod_384-armv8.S
c-source/build/coff/ct_is_square_mod_384-armv8.S
c-source/build/coff/div3w-armv8.S
c-source/build/coff/mul_mont_256-armv8.S
c-source/build/coff/mul_mont_384-armv8.S
c-source/build/coff/sha256-armv8.S
c-source/build/elf/add_mod_256-armv8.S
c-source/build/elf/add_mod_384-armv8.S
c-source/build/elf/ct_inverse_mod_256-armv8.S
c-source/build/elf/ct_inverse_mod_384-armv8.S
c-source/build/elf/ct_is_square_mod_384-armv8.S
c-source/build/elf/div3w-armv8.S
c-source/build/elf/mul_mont_256-armv8.S
c-source/build/elf/mul_mont_384-armv8.S
c-source/build/elf/sha256-armv8.S
c-source/build/mach-o/add_mod_256-armv8.S
c-source/build/mach-o/add_mod_384-armv8.S
c-source/build/mach-o/ct_inverse_mod_256-armv8.S
c-source/build/mach-o/ct_inverse_mod_384-armv8.S
c-source/build/mach-o/ct_is_square_mod_384-armv8.S
c-source/build/mach-o/div3w-armv8.S
c-source/build/mach-o/mul_mont_256-armv8.S
c-source/build/mach-o/mul_mont_384-armv8.S
c-source/build/mach-o/sha256-armv8.S
c-source/src/aggregate.c
c-source/src/bulk_addition.c
c-source/src/client_min_pk.c
c-source/src/client_min_sig.c
c-source/src/consts.c
c-source/src/cpuid.c
c-source/src/e1.c
c-source/src/e2.c
c-source/src/exp.c
c-source/src/exports.c
c-source/src/fp12_tower.c
c-source/src/hash_to_field.c
c-source/src/keygen.c
c-source/src/map_to_g1.c
c-source/src/map_to_g2.c
c-source/src/multi_scalar.c
c-source/src/pairing.c
c-source/src/pentaroot.c
c-source/src/rb_tree.c
c-source/src/recip.c
c-source/src/server.c
c-source/src/sqrt.c
c-source/src/vect.c
c-source/src/bytes.h
c-source/src/consts.h
c-source/src/ec_mult.h
c-source/src/ec_ops.h
c-source/src/errors.h
c-source/src/fields.h
c-source/src/no_asm.h
c-source/src/pentaroot-addchain.h
c-source/src/point.h
c-source/src/recip-addchain.h
c-source/src/sha256.h
c-source/src/sqrt-addchain.h
c-source/src/vect.h
c-source/bindings/blst.h
c-source/bindings/blst_aux.h
extra-doc-files:
README.md
CHANGELOG.md
c-source/LICENSE
c-source/README.md
source-repository head
type: git
location: https://github.com/serokell/hsblst
library
exposed-modules:
Crypto.BLST
Crypto.BLST.Internal.Bindings
Crypto.BLST.Internal.Bindings.Types
Crypto.BLST.Internal.Classy
Crypto.BLST.Internal.Demote
Crypto.BLST.Internal.Types
other-modules:
Paths_hsblst
autogen-modules:
Paths_hsblst
hs-source-dirs:
src
default-extensions:
AllowAmbiguousTypes
BangPatterns
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NegativeLiterals
NoStarIsType
NumDecimals
OverloadedLabels
OverloadedStrings
PatternSynonyms
PolyKinds
QuasiQuotes
RankNTypes
RecordWildCards
RecursiveDo
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StrictData
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
UndecidableSuperClasses
ViewPatterns
ghc-options: -Weverything -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unsafe -Wno-safe -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-prepositive-qualified-module -Wno-inferred-safe-imports -Wno-missing-safe-haskell-mode
include-dirs:
c-source/bindings
c-sources:
c-source/src/server.c
build-depends:
base >=4.17 && <4.21
, deepseq >=1.4.5.0 && <1.6.0
, memory >=0.16.0 && <0.19
if impl(ghc >= 9.2)
ghc-options: -Wno-missing-kind-signatures
default-language: Haskell2010
asm-sources: c-source/build/assembly.S
build-tool-depends: c2hs:c2hs
test-suite hsblst-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Test.BLST
Test.BLST.Bindings
Test.BLST.Fixtures
Test.BLST.Tezos
Test.BLST.Util
Paths_hsblst
autogen-modules:
Paths_hsblst
hs-source-dirs:
test
default-extensions:
AllowAmbiguousTypes
BangPatterns
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NegativeLiterals
NoStarIsType
NumDecimals
OverloadedLabels
OverloadedStrings
PatternSynonyms
PolyKinds
QuasiQuotes
RankNTypes
RecordWildCards
RecursiveDo
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StrictData
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
UndecidableSuperClasses
ViewPatterns
ghc-options: -Weverything -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unsafe -Wno-safe -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-implicit-prelude -Wno-prepositive-qualified-module -Wno-inferred-safe-imports -Wno-missing-safe-haskell-mode -Wno-incomplete-patterns -threaded "-with-rtsopts=-N -A64m -AL256m"
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
base >=4.17 && <4.21
, base16-bytestring ==1.0.*
, bytestring >=0.10.12.1 && <0.13
, hsblst
, memory >=0.16.0 && <0.19
, tasty >=1.4.2.1 && <1.6
, tasty-hunit >=0.10.0.3 && <0.11
, text >=1.2.5.0 && <1.3 || >=2.0.1 && <2.1 || >=2.1 && <2.2
if impl(ghc >= 9.2)
ghc-options: -Wno-missing-kind-signatures
if impl(ghc < 9.4)
ghc-options: -eventlog
default-language: Haskell2010