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", "groth16", "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 }
29groth16 = { path = "../groth16", optional = true }
30bench-utils = { path = "../bench-utils" }
31
32digest = "0.7"
33blake2 = "0.7"
34
35rand = { version = "0.7" }
36derivative = "1"
37rayon = "1"
38
39[features]
40r1cs = [ "r1cs-core", "r1cs-std" ]
41
42[dev-dependencies]
43criterion = "0.3.1"
44rand_xorshift = { version = "0.2" }
45
46################################# Benchmarks ##################################
47
48[[bench]]
49name = "pedersen_crh"
50path = "benches/crypto_primitives/crh.rs"
51harness = false
52
53[[bench]]
54name = "pedersen_comm"
55path = "benches/crypto_primitives/comm.rs"
56harness = false
57
58[[bench]]
59name = "blake2s_prf"
60path = "benches/crypto_primitives/prf.rs"
61harness = false
62
63[[bench]]
64name = "schnorr_sig"
65path = "benches/crypto_primitives/signature.rs"
66harness = false