Skip to content

Commit

Permalink
Merge pull request #6048 from nuttycom/sapling-batch-validation
Browse files Browse the repository at this point in the history
Use batch validation for Sapling proofs and signatures
  • Loading branch information
str4d committed Jul 5, 2022
2 parents 466ea88 + af59b2a commit 9d93dff
Show file tree
Hide file tree
Showing 16 changed files with 643 additions and 336 deletions.
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
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
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."

0 comments on commit 9d93dff

Please sign in to comment.