Zebra/zebra-chain/src/sapling
Deirdre Connolly ad7a29517c
Fix clippy::cmp_owned for (sapling, orchard)::keys with `ConstantTimeEq` (#2184)
* Impl subtle::ConstantTimeEq for orchard SpendingKey, use that in Eq/PartialEq

* Use constant time comparisons for secret key data where applicable

This also makes Clippy happier so that we aren't creating types just to compare.

* Fix clippy::cmp_owned for orchard::keys Eq/PartialEq

By impl'ing ConstantTimeEq for those types where leaks of the value
would compromise access or privacy.

* Make clippy::cmp_owned happy for some sapling::keys
2021-05-22 09:40:49 -03:00
..
commitment Add sapling prf_ock and generate_trapdoor 2021-04-30 00:48:23 -04:00
keys Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00
note Revert making sapling::note::Nullifier inner value private 2021-04-30 00:48:23 -04:00
tests Fix up some doc links (#2180) 2021-05-21 12:06:31 -03:00
address.rs Use new bech32 methods that expect a Variant enum variant 2021-02-21 20:51:43 -05:00
arbitrary.rs Redesign Transaction V5 serialization, impl trusted vector security, nullifier utility functions (#1996) 2021-04-16 08:19:28 +10:00
commitment.rs Add sapling prf_ock and generate_trapdoor 2021-04-30 00:48:23 -04:00
keys.rs Fix clippy::cmp_owned for (sapling, orchard)::keys with `ConstantTimeEq` (#2184) 2021-05-22 09:40:49 -03:00
note.rs Replace smart quotes with ascii quotes 2021-03-15 03:18:10 -04:00
output.rs Redesign Transaction V5 serialization, impl trusted vector security, nullifier utility functions (#1996) 2021-04-16 08:19:28 +10:00
shielded_data.rs Move spends_per_anchor to TransferData 2021-04-21 01:32:00 -04:00
spend.rs Redesign Transaction V5 serialization, impl trusted vector security, nullifier utility functions (#1996) 2021-04-16 08:19:28 +10:00
tests.rs Move the preallocate tests into their own files (#1977) 2021-04-07 12:32:27 +10:00
tree.rs Merge pull request #1713 from ZcashFoundation/use-groth16-batch-math 2021-03-24 12:28:25 -04:00