-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
167 lines (147 loc) · 3.74 KB
/
Cargo.toml
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
[package]
name = "crrl"
version = "0.9.0"
authors = ["Thomas Pornin <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Library for cryptographic research"
repository = "https://github.com/pornin/crrl"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["cryptography", "ed25519", "ristretto255", "p256", "jq255e"]
exclude = ["extra/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand_core = "0.6"
[dev-dependencies]
hex = "0.4.3"
num-bigint = "0.4.3"
# Set feature "w32_backend" or "w64_backend" to force use of the 32-bit or
# 64-bit backend explicitly. If neither is set then the backend will be
# selected automatically (architectures with 64-bit pointers get the 64-bit
# backend, while architectures with 32-bit pointers get the 32-bit backend).
# The "64-bit backend on 32-bit arch" combination might not be fully
# constant-time (depending on how the compiler implements multiplications
# on multi-limb integers) and thus should be avoided.
#
# Default feature 'std' enables uses of heap allocation, which is used by
# some functions. By disabling it, a core-only library can be obtained.
[features]
default = [ "std", "omnes" ]
std = [ "alloc" ]
alloc = []
w32_backend = []
w64_backend = []
gf255_m51 = []
gf255_m64 = []
gfb254_m64 = []
gfb254_x86clmul = []
gfb254_arm64pmull = []
omnes = [ "decaf448", "ed25519", "ed448", "frost", "jq255e", "jq255s", "lms", "p256", "ristretto255", "secp256k1", "gls254", "x25519", "x448", "modint256", "gf255", "gfgen" ]
decaf448 = [ "ed448" ]
ed25519 = [ "gf25519", "modint256" ]
ed448 = [ "gf448", "gfgen" ]
frost = [ "alloc" ]
jq255e = [ "gf255e", "modint256", "blake2s" ]
jq255s = [ "gf255s", "modint256", "blake2s" ]
lms = []
p256 = [ "gfp256", "modint256" ]
ristretto255 = [ "ed25519" ]
secp256k1 = [ "gfsecp256k1", "modint256" ]
gls254 = [ "gfb254", "modint256", "blake2s" ]
x25519 = [ "ed25519" ]
x448 = [ "ed448" ]
gfgen = []
gf255 = []
gf255e = []
gf255s = []
gf25519 = []
gfp256 = []
gfsecp256k1 = []
gf448 = []
modint256 = []
gfb254 = []
gls254bench = []
zz32 = []
zz64 = []
blake2s = []
[[bench]]
name = "modint"
path = "benches/modint.rs"
harness = false
required-features = [ "modint256" ]
[[bench]]
name = "gf255e"
path = "benches/gf255e.rs"
harness = false
required-features = [ "gf255e" ]
[[bench]]
name = "gf25519"
path = "benches/gf25519.rs"
harness = false
required-features = [ "gf25519" ]
[[bench]]
name = "ed25519"
path = "benches/ed25519.rs"
harness = false
required-features = [ "ed25519" ]
[[bench]]
name = "x25519"
path = "benches/x25519.rs"
harness = false
required-features = [ "x25519" ]
[[bench]]
name = "p256"
path = "benches/p256.rs"
harness = false
required-features = [ "p256" ]
[[bench]]
name = "ristretto255"
path = "benches/ristretto255.rs"
harness = false
required-features = [ "ristretto255" ]
[[bench]]
name = "jq255e"
path = "benches/jq255e.rs"
harness = false
required-features = [ "jq255e" ]
[[bench]]
name = "jq255s"
path = "benches/jq255s.rs"
harness = false
required-features = [ "jq255s" ]
[[bench]]
name = "secp256k1"
path = "benches/secp256k1.rs"
harness = false
required-features = [ "secp256k1" ]
[[bench]]
name = "gls254"
path = "benches/gls254.rs"
harness = false
required-features = [ "gls254" ]
[[bench]]
name = "gf448"
path = "benches/gf448.rs"
harness = false
required-features = [ "gf448" ]
[[bench]]
name = "sc448"
path = "benches/sc448.rs"
harness = false
required-features = [ "ed448" ]
[[bench]]
name = "ed448"
path = "benches/ed448.rs"
harness = false
required-features = [ "ed448" ]
[[bench]]
name = "x448"
path = "benches/x448.rs"
harness = false
required-features = [ "x448" ]
[[bench]]
name = "blake2s"
path = "benches/blake2s.rs"
harness = false
required-features = [ "blake2s" ]