Go to file
Jack Grigg 1ac6d5b8fe zcash_note_encryption: Constrain `ShieldedOutput` ciphertext size
Previously we were returning the ciphertext as a slice, and then
asserting its length within the APIs the caller passed it into. Now
instead we require the caller to define whether or not the output is
compact, to make the API more predictable.

This doesn't place any additional constraints on users of this trait,
because the assertions already prevented a full output from being passed
to a compact trial decryption API.


Extracted from: 4fcd83d74e
2021-12-17 05:23:53 +00:00
src zcash_note_encryption: Constrain `ShieldedOutput` ciphertext size 2021-12-17 05:23:53 +00:00
Cargo.toml zcash_note_encryption: Place pre-ZIP 212 APIs behind a feature flag 2021-12-17 04:30:57 +00:00