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
Jack Grigg
29ec9ada60
pczt: Add `Zip32Derivation::extract_account_index`
2024-12-17 17:40:18 +00:00
Kris Nuttycombe
2394484ae3
Release sapling-crypto version 0.4.0
2024-12-16 20:21:56 -07: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
7696219bf3
Implement PCZT support
2024-12-03 11:27:15 +00: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
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
2f6a08212c
Release sapling-crypto version 0.3.0
2024-10-02 11:18:18 -06:00
Kris Nuttycombe
b1ad3694ee
Update to incrementalmerkletree version 0.7
2024-09-26 15:24:47 -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
Kris Nuttycombe
14c042eda9
sapling-crypto release version 0.1.3
2024-03-24 19:19:30 -06:00
Kris Nuttycombe
827534329f
Derive `{PartialOrd, Ord}` for `note::Nullifier`
2024-03-20 11:39:06 -06:00
Jack Grigg
291a1ac1c2
sapling-crypto 0.1.2
2024-03-08 19:57:52 +00:00
Kris Nuttycombe
48ba51dc78
Add diversifiable `IncomingViewingKey` type.
2024-03-08 12:45:34 -07:00
Jack Grigg
4efe3334ee
sapling-crypto 0.1.1
2024-02-15 19:42:19 +00:00
Jack Grigg
c7d5913a90
Fix regression in output padding
...
Closes zcash/sapling-crypto#121 .
2024-02-12 20:18:01 +00:00
Jack Grigg
b76e7e2509
sapling-crypto 0.1.0
2024-01-26 19:30:42 +00:00
Kris Nuttycombe
a3ce3b7628
Make `Bundle::try_map_authorization` work the same as `Bundle::map_authorization`
2024-01-02 12:11:36 -07:00
Kris Nuttycombe
6f02b62c8e
Add the capability to generate dummy spends (internal to the Builder)
2024-01-02 12:09:50 -07:00
Kris Nuttycombe
954a27ee9b
Add `Anchor` type for symmetry with Orchard.
2024-01-02 12:09:34 -07:00
Kris Nuttycombe
43d4133af4
Modify `BundleType` to exclude the anchor & allow no bundle to be produced.
...
This adds a flag to `BundleType` that, when set, requires a dummy
outputs to be produced even if no outputs are added to the builder, and
when unset results in standard padding.
2024-01-02 12:09:32 -07:00
Kris Nuttycombe
485966bc81
Rename `SaplingBuilder` to `Builder` for consitency with the Orchard API.
2023-12-19 20:39:56 -07:00
Kris Nuttycombe
39c06e7c7a
Add a public bundle construction function & use it in the builder.
2023-12-19 17:43:25 -07:00
Kris Nuttycombe
2abe3ea8e2
Apply comments from code review.
...
Co-authored-by: str4d <jack@electriccoin.co>
2023-12-15 10:10:38 -07:00
Kris Nuttycombe
b202452c63
Add `builder::BundleType` for explicit control over output padding.
2023-12-15 09:30:32 -07:00
Jack Grigg
0ebb750f6a
Use full paths for changelog types that remain in `zcash_primitives`
2023-12-12 19:54:27 +00:00
Jack Grigg
146bc59455
Add a changelog
...
Extracted from the `zcash_primitives` changelog. We only include changes
relative to the `zcash_primitives::sapling` module as of 0.13.0; prior
changes never corresponded to published `sapling-crypto` releases.
Source: https://github.com/zcash/librustzcash
Rev: zcash/librustzcash@6acc64e61c
2023-12-12 18:28:52 +00:00