Commit Graph

10 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 a7fa69c504 Remove `esk` and `ephemeral_key` arguments from `parse_note_plaintext_without_memo_ovk`
Fixes #850


Extracted from: be89e81534
2023-05-26 09:24:22 -06:00
Kris Nuttycombe 8e2955da7c Update zcash_note_encryption changelog for 0.3.0 release.
Extracted from: 1a27a7f9ce
2023-03-22 09:54:18 -06:00
Kris Nuttycombe b060f1c1df Remove the `recipient` parameter from zcash_note_encyption::Domain::note_plaintext_bytes
The `Domain::Note` type is now expected to contain information about the
recipient of the note, eliminating the need to pass this information in
via the encryption context.


Extracted from: c88f3e1b9d
2023-03-20 16:16:00 -06:00
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