zebra/zebra-chain/src/sapling
Alfredo Garcia 85534ab027
fix(errors): Handle randomness generation and invalid random values as errors in cryptographic code (#6385)
* add error handling

* change error name

* Error types oriented around the primary types we expose in the zebra-chain API

* Fix Ok spelling

* orchard::note::new(): return NoteError if randomness produces invalid Pallas point

---------

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-04-20 17:49:21 +00:00
..
commitment cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
keys cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
note fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00
tests build(deps): bump serde from 1.0.156 to 1.0.158 (#6358) 2023-03-22 17:12:34 +00:00
arbitrary.rs change(deps): Upgrade shared dependencies to match `zcashd` 5.5.0 (#6536) 2023-04-18 10:11:38 +00:00
commitment.rs fix(errors): Handle randomness generation and invalid random values as errors in cryptographic code (#6385) 2023-04-20 17:49:21 +00:00
keys.rs fix(errors): Handle randomness generation and invalid random values as errors in cryptographic code (#6385) 2023-04-20 17:49:21 +00:00
note.rs cleanup(cryptography): Remove unused shielded key and address code (#5476) 2022-10-29 20:59:55 +00:00
output.rs fix typos (#6012) 2023-01-21 15:43:20 +00:00
shielded_data.rs fix(doc): Fix various doc warnings, part 1 (#4514) 2022-06-02 15:07:35 +00:00
spend.rs fix(doc): Fix various doc warnings, part 2 (#4561) 2022-06-14 01:22:16 +00:00
tests.rs Calculate incremental note commitment trees (#2407) 2021-07-15 13:58:36 +00:00
tree.rs build(deps): bump serde from 1.0.156 to 1.0.158 (#6358) 2023-03-22 17:12:34 +00:00