Commit Graph

288 Commits

Author SHA1 Message Date
Jack Grigg 87e5ddfc41
Merge pull request #151 from zcash/no_std
Implement `no_std` support via a default-enabled `std` feature flag.
2024-12-20 06:56:35 +13:00
Kris Nuttycombe f1e3d3bdd0 Apply suggestions from code review
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2024-12-19 10:40:01 -07:00
Kris Nuttycombe e8b04770f9 Implement `no_std` support via a default-enabled `std` feature flag.
Add thumbv7em-none-eabihf as a no-default-features build target.
2024-12-19 07:19:46 -07:00
Kris Nuttycombe 3c22357475
Merge pull request #150 from zcash/pczt-improvements
PCZT improvements
2024-12-18 10:52:28 -07:00
Jack Grigg 29ec9ada60 pczt: Add `Zip32Derivation::extract_account_index` 2024-12-17 17:40:18 +00:00
Jack Grigg 0d39b4444f pczt: Document how `expected_fvk` is used by `Spend::verify_nullifier` 2024-12-17 17:39:27 +00:00
Jack Grigg 88b64418c5
Merge pull request #149 from zcash/release/sapling-v0.4.0
Release sapling-crypto version 0.4.0
2024-12-17 17:22:08 +13:00
Kris Nuttycombe 2394484ae3 Release sapling-crypto version 0.4.0 2024-12-16 20:21:56 -07:00
Kris Nuttycombe 34aedac868
Merge pull request #148 from zcash/pczt-user-address
pczt: Add output field for storing the user-facing address
2024-12-13 11:47:45 -07:00
Jack Grigg e47d57f5c9 pczt: Add output field for storing the user-facing address
This is necessary in order for Signers to display the address encoding
that a user is expecting to confirm.

Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-12-13 18:22:41 +00:00
Jack Grigg 5bf2578ac6
Merge pull request #147 from zcash/pczt-verifier
Add methods for validating aspects of PCZT bundles
2024-12-13 21:11:24 +13:00
Jack Grigg 94ad2b356e Adjust cases in `pczt::Spend::vk_for_validation`
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-13 07:56:21 +00:00
Jack Grigg 231f819116 Add methods for validating aspects of PCZT bundles 2024-12-13 00:17:30 +00:00
Jack Grigg e177a08651
Merge pull request #146 from zcash/pczt
Implement PCZT support
2024-12-12 15:18:21 +13:00
Jack Grigg 96d0e6944e Fix clippy lint 2024-12-07 12:05:49 +00:00
Jack Grigg 29cff9683c pczt: Store proof generation key for dummy spends 2024-12-07 11:00:45 +00:00
Kris Nuttycombe 42a1de5a20 Add `DiversifiableFullViewingKey::to_internal_fvk`.
This is needed in order to permit spending of internal notes after the
previous change to `Builder::add_spend`.
2024-12-05 17:07:29 +00:00
Jack Grigg 833eb2ec02 Modify builder to take spending keys as late as possible 2024-12-05 17:07:29 +00:00
Jack Grigg f228f52542 Add the PCZT Updater role 2024-12-05 17:07:29 +00:00
Jack Grigg 7696219bf3 Implement PCZT support 2024-12-03 11:27:15 +00:00
Jack Grigg 44c4b1724c
Merge pull request #143 from zcash/generalise-spend-desc-conversion
Broaden `Authorization`s from `SpendDescriptionV5::into_spend_description`
2024-10-24 06:06:09 +01:00
Jack Grigg 6527e792e4 Broaden `Authorization`s from `SpendDescriptionV5::into_spend_description`
This enables the method to be used with bundles that have spend auth
signatures and proofs, but not yet binding signatures.
2024-10-24 04:37:29 +00:00
Jack Grigg 03515178d6
Merge pull request #144 from zcash/output-prover-api-fix
Fix `OutputProver::prepare_circuit` API to be usable outside the crate
2024-10-24 05:29:16 +01:00
Jack Grigg a8fb276252 Fix `OutputProver::prepare_circuit` API to be usable outside the crate
The public APIs that produced `esk` all used the `EphemeralSecretKey`
type, but that could only be converted to a `jubjub::Scalar` inside the
crate. We now use the type-safe wrapper consistently.
2024-10-12 19:47:50 +00:00
Kris Nuttycombe 0de24021a8
Merge pull request #142 from zcash/release/sapling-crypto-0.3.0
Release sapling-crypto version 0.3.0
2024-10-02 11:35:53 -06:00
Kris Nuttycombe 2f6a08212c Release sapling-crypto version 0.3.0 2024-10-02 11:18:18 -06:00
Jack Grigg 79a285d845
Merge pull request #138 from zcash/dependabot/github_actions/auguwu/clippy-action-1.4.0
Bump auguwu/clippy-action from 1.3.0 to 1.4.0
2024-09-27 14:08:20 +01:00
Jack Grigg ac2c1e2f3f
Merge pull request #141 from zcash/incrementalmerkletree_0.7
Update to incrementalmerkletree version 0.7
2024-09-26 23:35:10 +01:00
Kris Nuttycombe b1ad3694ee Update to incrementalmerkletree version 0.7 2024-09-26 15:24:47 -06:00
Kris Nuttycombe 984a088976
Merge pull request #139 from nuttycom/release/0.2.0
Release sapling-crypto version 0.2.0
2024-08-12 15:32:52 -06:00
Kris Nuttycombe 1aa51971da Release sapling-crypto version 0.2.0
This is a maintenance release to upgrade the `incrementalmerkletree`
dependency to version 0.6.
2024-08-12 15:23:27 -06:00
dependabot[bot] 324eaf01e0
Bump auguwu/clippy-action from 1.3.0 to 1.4.0
Bumps [auguwu/clippy-action](https://github.com/auguwu/clippy-action) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/auguwu/clippy-action/releases)
- [Commits](https://github.com/auguwu/clippy-action/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: auguwu/clippy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 02:21:58 +00:00
Kris Nuttycombe d23547f0d3
Merge pull request #135 from zcash/release-0.1.3
sapling-crypto release version 0.1.3
2024-03-24 20:33:13 -06:00
Kris Nuttycombe 14c042eda9 sapling-crypto release version 0.1.3 2024-03-24 19:19:30 -06:00
Kris Nuttycombe 54fc7d3d9c
Merge pull request #134 from nuttycom/nullifier_ord
Derive `{PartialOrd, Ord}` for `note::Nullifier`
2024-03-20 13:40:08 -06:00
Kris Nuttycombe 827534329f Derive `{PartialOrd, Ord}` for `note::Nullifier` 2024-03-20 11:39:06 -06:00
Kris Nuttycombe 22412ae076
Merge pull request #131 from nuttycom/node_random_dist
Add `Node::random` and `Distribution<Node> for Standard` for testing.
2024-03-18 08:53:34 -06:00
Kris Nuttycombe dee71eee99 Add `Node::random` and `Distribution<Node> for Standard` for testing. 2024-03-16 08:54:13 -06:00
str4d 2122dbed71
Merge pull request #129 from zcash/release-0.1.2
Release 0.1.2
2024-03-08 20:07:09 +00:00
Jack Grigg 291a1ac1c2 sapling-crypto 0.1.2 2024-03-08 19:57:52 +00:00
Jack Grigg b221f35f15 Add tests for `IncomingViewingKey` encoding 2024-03-08 19:57:34 +00:00
str4d f2219462ae
Merge pull request #128 from nuttycom/sapling_divk
Add `DiversifiableIncomingViewingKey`
2024-03-08 19:49:29 +00:00
Kris Nuttycombe 48ba51dc78 Add diversifiable `IncomingViewingKey` type. 2024-03-08 12:45:34 -07:00
str4d 953d28204f
Merge pull request #126 from zcash/release-0.1.1
Release 0.1.1
2024-02-15 19:58:23 +00:00
Jack Grigg 4efe3334ee sapling-crypto 0.1.1 2024-02-15 19:42:19 +00:00
Kris Nuttycombe 346a650741
Merge pull request #124 from zcash/121-pad-outputs-if-spends
Fix regression in output padding
2024-02-15 12:36:34 -07:00
Jack Grigg c7d5913a90 Fix regression in output padding
Closes zcash/sapling-crypto#121.
2024-02-12 20:18:01 +00:00
str4d ab3aea55c0
Merge pull request #120 from zcash/release-0.1.0
Release 0.1.0
2024-01-26 20:50:18 +00:00
Jack Grigg b76e7e2509 sapling-crypto 0.1.0 2024-01-26 19:30:42 +00:00
str4d a41c00227d
Merge pull request #119 from zcash/fix-doc-comments
Replace Orchard references in `Anchor` doc comments
2024-01-26 05:26:06 +00:00