-
Notifications
You must be signed in to change notification settings - Fork 28
/
saltine.cabal
159 lines (149 loc) · 5.11 KB
/
saltine.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
cabal-version: 2.0
name: saltine
version: 0.2.1.0
synopsis: Cryptography that's easy to digest (NaCl/libsodium bindings).
description:
/NaCl/ (pronounced \"salt\") is a new easy-to-use high-speed software
library for network communication, encryption, decryption,
signatures, etc. NaCl's goal is to provide all of the core
operations needed to build higher-level cryptographic tools.
.
<http://nacl.cr.yp.to/>
.
/Sodium/ is a portable, cross-compilable, installable, packageable
crypto library based on NaCl, with a compatible API.
.
<https://github.com/jedisct1/libsodium>
.
/Saltine/ is a Haskell binding to the NaCl primitives going through
Sodium for build convenience and, eventually, portability.
extra-source-files:
README.md
CHANGELOG.md
license: MIT
license-file: LICENSE
author: Joseph Abrahamson
maintainer: Max Amanshauser <[email protected]>
bug-reports: http://github.com/tel/saltine/issues
copyright: Copyright (c) Joseph Abrahamson 2013
category: Cryptography
build-type: Simple
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC==9.0.2, GHC==9.2.6, GHC==9.4.4
source-repository head
type: git
location: https://github.com/tel/saltine.git
library
hs-source-dirs: src
exposed-modules:
Crypto.Saltine
Crypto.Saltine.Class
Crypto.Saltine.Core.SecretBox
Crypto.Saltine.Core.AEAD
Crypto.Saltine.Core.AEAD.AES256GCM
Crypto.Saltine.Core.AEAD.ChaCha20Poly1305
Crypto.Saltine.Core.AEAD.ChaCha20Poly1305IETF
Crypto.Saltine.Core.AEAD.XChaCha20Poly1305
Crypto.Saltine.Core.Box
Crypto.Saltine.Core.Stream
Crypto.Saltine.Core.Auth
Crypto.Saltine.Core.OneTimeAuth
Crypto.Saltine.Core.Sign
Crypto.Saltine.Core.Hash
Crypto.Saltine.Core.ScalarMult
Crypto.Saltine.Core.Password
Crypto.Saltine.Core.Utils
Crypto.Saltine.Internal.AEAD.AES256GCM
Crypto.Saltine.Internal.AEAD.ChaCha20Poly1305
Crypto.Saltine.Internal.AEAD.ChaCha20Poly1305IETF
Crypto.Saltine.Internal.AEAD.XChaCha20Poly1305
Crypto.Saltine.Internal.Auth
Crypto.Saltine.Internal.Box
Crypto.Saltine.Internal.ByteSizes
Crypto.Saltine.Internal.Hash
Crypto.Saltine.Internal.OneTimeAuth
Crypto.Saltine.Internal.Password
Crypto.Saltine.Internal.ScalarMult
Crypto.Saltine.Internal.SecretBox
Crypto.Saltine.Internal.Sign
Crypto.Saltine.Internal.Stream
Crypto.Saltine.Internal.Util
other-modules:
if os(windows)
extra-libraries: sodium
else
pkgconfig-depends: libsodium >= 1.0.18
cc-options: -Wall
ghc-options: -Wall -funbox-strict-fields
default-language: Haskell2010
build-depends:
base >= 4.5 && < 5
, bytestring >= 0.10.8 && < 0.12
, deepseq ^>= 1.4
, profunctors >= 5.3 && < 5.7
, hashable
, text ^>= 1.2 || ^>= 2.0
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
AuthProperties
BoxProperties
HashProperties
OneTimeAuthProperties
PasswordProperties
ScalarMultProperties
SecretBoxProperties
SealedBoxProperties
SignProperties
StreamProperties
AEAD.AES256GCMProperties
AEAD.ChaCha20Poly1305IETFProperties
AEAD.ChaCha20Poly1305Properties
AEAD.XChaCha20Poly1305Properties
Util
UtilProperties
ghc-options: -Wall -threaded -rtsopts
hs-source-dirs: tests
default-language: Haskell2010
build-depends:
base >= 4.7 && < 5
, saltine
, bytestring
, text
, QuickCheck
, test-framework-quickcheck2
, test-framework
, semigroups
benchmark benchmarks
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs:
bench
ghc-options: -rtsopts -threaded -with-rtsopts=-N -O2
extra-libraries:
sodium
build-depends:
base
, bytestring
, text
, criterion
, deepseq
, saltine
other-modules:
AuthBench
OneTimeAuthBench
ConstantTimeBench
BoxBench
SecretBoxBench
HashBench
RandomBench
PasswordBench
ScalarMultBench
SignBench
StreamBench
BenchUtils
AES256GCMBench
ChaCha20Poly1305Bench
ChaCha20Poly1305IETFBench
XChaCha20Poly1305Bench
default-language: Haskell2010