arnaucube
arnaucube/ark-r1cs-stdPublic Self-hosted repository
ark-r1cs-std/crypto-primitives/Cargo.toml
crypto-primitives/Cargo.tomlRaw
 1[package]
 2name = "crypto-primitives"
 3version = "0.1.0"
 4authors = [
 5    "Sean Bowe",
 6    "Alessandro Chiesa",
 7    "Matthew Green",
 8    "Ian Miers",
 9    "Pratyush Mishra",
10    "Howard Wu"
11]
12description = "A library of cryptographic primitives that are used by Zexe"
13homepage = "https://libzexe.org"
14repository = "https://github.com/scipr/zexe"
15documentation = "https://docs.rs/crypto-primitives/"
16keywords = ["r1cs", "gm17", "pedersen", "blake2s"]
17categories = ["cryptography"]
18include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
19license = "MIT/Apache-2.0"
20edition = "2018"
21
22################################# Dependencies ################################
23
24[dependencies]
25algebra = { path = "../algebra" }
26r1cs-core = { path = "../r1cs-core", optional = true }
27r1cs-std = { path = "../r1cs-std", optional = true }
28gm17 = { path = "../gm17", optional = true }
29bench-utils = { path = "../bench-utils" }
30
31digest = "0.7"
32blake2 = "0.7"
33
34rand = { version = "0.7" }
35derivative = "1"
36rayon = "1"
37
38[features]
39r1cs = [ "r1cs-core", "r1cs-std" ]
40
41[dev-dependencies]
42criterion = "0.2"
43rand_xorshift = { version = "0.2" }
44
45################################# Benchmarks ##################################
46
47[[bench]]
48name = "pedersen_crh"
49path = "benches/crypto_primitives/crh.rs"
50harness = false
51
52[[bench]]
53name = "pedersen_comm"
54path = "benches/crypto_primitives/comm.rs"
55harness = false
56
57[[bench]]
58name = "blake2s_prf"
59path = "benches/crypto_primitives/prf.rs"
60harness = false
61
62[[bench]]
63name = "schnorr_sig"
64path = "benches/crypto_primitives/signature.rs"
65harness = false