Commit Graph

6 Commits

Author SHA1 Message Date
Jack Grigg d4c3b3d4f9 zcash_note_encryption 0.2.0
Extracted from: 8f068b3b71
2022-10-13 21:35:39 +00:00
Jack Grigg 0027162749 zcash_note_encryption: Clean up changelog and readme
We no longer depend on the previously-mentioned dependencies.


Extracted from: 9a010d42ff
2022-10-13 21:23:09 +00: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 f258e3559e Restructure batch decryption to avoid cartesian product of results.
While it is necessary in the worst case to perform `m * n` decryptions,
where `m` is the number of outputs being decrypted and `n` is the number
of IVKs, it is possible to stop performing trial decryptions when the
first successful decryption is performed. Also, it's inconvenient and
unnecessary to return the full cartesian product of these results, as
only one IVK will decrypt a given output. This commit modifies batch
trial decryption to stop on the first successful decryption, and instead
of returning the cartesian product of results we return the index of the
input IVK along with the output it decrypted. Note that this means that
trial decryption is not constant-time with respect to the number and/or
order of IVKs.


Extracted from: 5873950648
2022-07-28 15:23:21 -06:00
Kris Nuttycombe b0a1a6ba6b Update MSRV to 1.56.1
Extracted from: 600c06a408
2022-02-24 12:26:14 -07:00
Jack Grigg 86f7e3f1a3 zcash_note_encryption 0.1.0
Extracted from: 142a38e792
2021-12-17 20:00:46 +00:00