Commit Graph

29 Commits

Author SHA1 Message Date
Kris Nuttycombe 642ac4b7a7 Release zcash_note_encryption version 0.4.0
Extracted from: 80adb54e26
2023-06-06 10:12:33 -06:00
Kris Nuttycombe 8d0d9c9510 Bump zcash_note_encryption to version 0.3.0 for release.
This removes the path-based dependencies on the `zcash_note_encryption`
crate in favor of using versioned dependencies locally. This better
reflects the future state in which `zcash_note_encryption` is factored
out of the workspace and maintained in a separate repository.


Extracted from: c696069f93
2023-03-20 16:16:34 -06:00
Jack Grigg d4c3b3d4f9 zcash_note_encryption 0.2.0
Extracted from: 8f068b3b71
2022-10-13 21:35:39 +00:00
Jack Grigg 7f695bcda6 Remove unused dependencies
These were mostly detected with `cargo-udeps`, for which I've also added
exclusions for the dependencies it can't detect are used in doc-tests.


Extracted from: 8842de18cc
2022-10-13 20:06:52 +00:00
Kris Nuttycombe c06128cf9d Remove `zcash_primitives` as a zcash_note_encryption dev dependency.
This was only used to provide example code for Sapling usage of
the `NoteEncryption` struct; this example code has been moved
to `sapling::note_encryption`.


Extracted from: 29220c716f
2022-09-16 12:52:00 -06:00
Kris Nuttycombe 1ec4b356ad Upgrade chacha20poly1305 dependency to version 0.10
Also upgrade  the `chacha20`, `cipher`, and `subtle` dependency
versions.


Extracted from: 72b5e6dfc3
2022-09-16 12:52:00 -06:00
Daira Hopwood f1d4498da6 zcash_note_encryption: Add API to prepare epk.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>


Extracted from: 515b0a40ec
2022-09-15 03:22:41 +01:00
Kris Nuttycombe 8d56418bb6 Update to Rust 2021 and explicitly set MSRVs
Extracted from: 16a0e43f2d
2022-09-02 12:05:09 -06:00
Jack Grigg 6cb2721f2a zcash_primitives 0.7.0
Extracted from: e952ff637e
2022-06-24 17:00:39 +00:00
Jack Grigg 6d881b91f5 zcash_primitives 0.6.0
Extracted from: 3ecfd26d79
2022-05-10 23:33:05 +00:00
Jack Grigg 742255e940 Migrate to `ff 0.12`
Extracted from: 144512b547
2022-05-06 20:03:49 +00:00
Jack Grigg 86f7e3f1a3 zcash_note_encryption 0.1.0
Extracted from: 142a38e792
2021-12-17 20:00:46 +00:00
Jack Grigg ea7f718863 zcash_note_encryption: License files and readme
Extracted from: c4cbb2dd74
2021-12-17 15:16:17 +00:00
Jack Grigg d6897cc8c1 zcash_note_encryption: Clean up dependencies
Several dependencies were copied over during the extraction of this
crate's logic from `zcash_primitives`, but are in fact only required for
the protocol-specific logic. We can also remove the `std` feature flag,
since we no longer have a dependency on `blake2b_simd` that needs its
`std` flag exposed for performance.


Extracted from: e8a755f633
2021-12-17 15:06:22 +00:00
Jack Grigg 312472ffbe zcash_note_encryption: Crate documentation
Extracted from: d511a788c4
2021-12-17 15:06:22 +00:00
Jack Grigg 7b52b15cfa zcash_note_encryption: Add `doc_cfg` annotations
Extracted from: 5409291b0c
2021-12-17 14:12:18 +00:00
Jack Grigg df05017f1a zcash_note_encryption: Place pre-ZIP 212 APIs behind a feature flag
Extracted from: 01c768dbeb
2021-12-17 04:30:57 +00:00
jarys f79d84fe59 Add `#![no_std]` support for zcash_note_encryption (#450)
Co-authored-by: str4d <thestr4d@gmail.com>

Extracted from: 0ec7f97c97
2021-11-24 13:58:52 +00:00
Jack Grigg 13d5f6f38a ff 0.11, group 0.11, etc.
Extracted from: 65e1d32774
2021-09-09 18:20:37 +01:00
Jack Grigg b0ff1f9914 zcash_note_encryption: Switch to chacha20poly1305 crate
Extracted from: f03f05f251
2021-08-30 15:03:39 +01:00
Jack Grigg e7f43cbe25 Disable default benchmark harness for all workspace crates
This is necessary in order to provide criterion-specific arguments to
`cargo bench`, such as `--profile-time`.


Extracted from: 0f15743200
2021-08-05 22:39:36 +01:00
Jack Grigg 53115e4b43 Migrate to bitvec 0.22, ff 0.10, etc.
Requires patching three dependencies:

- bellman is pending a new release.
- nom is part of the funty breakage; we are blocking on a new release.
- orchard is in development.


Extracted from: 1222391dd7
2021-06-04 22:02:48 +01:00
Jack Grigg c78a79c998 Migrate to ff 0.9 et al.
Extracted from: 5623e02a7c
2021-05-19 18:29:37 +01:00
Kris Nuttycombe e06b628f19 Use constant-time equality for EphemeralKeyBytes.
Fixes #370


Extracted from: e654cc4ce6
2021-04-12 09:13:04 -06:00
Kris Nuttycombe a8fd731e26 Add myself to crate contributors.
Extracted from: cfdbafe2e3
2021-04-08 10:13:04 -06:00
Kris Nuttycombe cb60fd2092 Fix zcash_note_encryption doctests.
Extracted from: dad8663c55
2021-04-08 08:20:23 -06:00
Kris Nuttycombe 41c71910b1 Update zcash_primitives dev dependency for zcash_note_encryption
Extracted from: be225daabf
2021-04-08 08:20:23 -06:00
Kris Nuttycombe 44bb542f8d Move generalized note encryption functionality to zcash_note_encryption crate.
Extracted from: 266285b536
2021-04-08 08:20:21 -06:00
Jack Grigg 9f60f56c2a Empty zcash_note_encryption crate
Extracted from: b7c31e3f54
2021-03-20 09:56:20 +13:00