Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use batch validation for Sapling proofs and signatures #6048

Merged
merged 3 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 22 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ zcash_encoding = "0.1"
zcash_history = "0.3"
zcash_note_encryption = "0.1"
zcash_primitives = { version = "0.7", features = ["transparent-inputs"] }
zcash_proofs = "0.7"
zcash_proofs = "0.7.1"
ed25519-zebra = "3"
zeroize = "1.4.2"

Expand Down
62 changes: 16 additions & 46 deletions qa/supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ description = "The cryptographic code in this crate has been reviewed for correc
[criteria.license-reviewed]
description = "The license of this crate has been reviewed for compatibility with its usage in this repository. If the crate is not available under the MIT license, `contrib/debian/copyright` has been updated with a corresponding copyright notice for files under `depends/*/vendored-sources/CRATE_NAME`."

[[audits.bellman]]
who = "Jack Grigg <jack@z.cash>"
criteria = ["crypto-reviewed", "safe-to-deploy"]
delta = "0.13.0 -> 0.13.1"
notes = "Adds multi-threaded batch validation, which I checked against the existing single-threaded batch validation."

[[audits.equihash]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
Expand All @@ -21,25 +27,13 @@ notes = "The ECC core team maintains this crate, and we have reviewed every line

[[audits.f4jumble]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.f4jumble]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.halo2_gadgets]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.halo2_gadgets]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

Expand All @@ -51,13 +45,7 @@ notes = "The ECC core team maintains this crate, and we have reviewed every line

[[audits.halo2_proofs]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.halo2_proofs]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

Expand All @@ -69,13 +57,7 @@ notes = "The ECC core team maintains this crate, and we have reviewed every line

[[audits.orchard]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.orchard]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

Expand Down Expand Up @@ -105,25 +87,13 @@ notes = "The ECC core team maintains this crate, and we have reviewed every line

[[audits.zcash_note_encryption]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.zcash_note_encryption]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.1.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.zcash_primitives]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
version = "0.6.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.zcash_primitives]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.6.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

Expand All @@ -135,19 +105,19 @@ notes = "The ECC core team maintains this crate, and we have reviewed every line

[[audits.zcash_proofs]]
who = "Jack Grigg <jack@z.cash>"
criteria = "crypto-reviewed"
criteria = ["crypto-reviewed", "safe-to-deploy"]
version = "0.6.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.zcash_proofs]]
who = "Jack Grigg <jack@z.cash>"
criteria = "safe-to-deploy"
version = "0.6.0"
criteria = ["crypto-reviewed", "safe-to-deploy"]
delta = "0.6.0 -> 0.7.0"
notes = "The ECC core team maintains this crate, and we have reviewed every line."

[[audits.zcash_proofs]]
who = "Jack Grigg <jack@z.cash>"
criteria = ["crypto-reviewed", "safe-to-deploy"]
delta = "0.6.0 -> 0.7.0"
delta = "0.7.0 -> 0.7.1"
notes = "The ECC core team maintains this crate, and we have reviewed every line."