zebra/zebra-chain/src/sapling
Deirdre Connolly 9734ea1014
Check jubjub key correctness independent of redjubjub / jubjub (#3154)
* Ensure that sapling::keys::TransmissionKey jubjub point is always in the prime order group

* Adjust TransmissionKey check; add AuthorizingKey check

* Move ValueCommitment small order check to deserialization

* Apply suggestions from code review

Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>

* Use is_torsion_free() instead of is_identity() and is_prime_order()

* Add EphemeralPublicKey small order check on instantiation; remove old checks

* Use VerificationKey instead of VerificationKeyBytes; fix tests

* Use ValidatingKey instead of VerificationKeyBytes for rk

* Reject identity when creating an Orchard EphemeralPublicKey

* Make documentation more consistent, use generator in tests

* s/JubJub/Jubjub/

* Fix zebra-consensus tests (insert_fake_orchard_shielded_data)

* Create NotSmallOrderValueCommitment, since intermediate values can be the identity

* Clarify documentation

* rustdoc

* Tidy rustdoc

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2021-12-22 15:10:34 +00:00
..
commitment
keys Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
note Async Halo2 verifier service (#2645) 2021-11-17 13:26:15 +10:00
tests Checking of Sprout anchors in non-finalized state (#3123) 2021-12-09 16:50:26 +00:00
address.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
arbitrary.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
commitment.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
keys.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
note.rs
output.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
shielded_data.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
spend.rs Check jubjub key correctness independent of redjubjub / jubjub (#3154) 2021-12-22 15:10:34 +00:00
tests.rs Calculate incremental note commitment trees (#2407) 2021-07-15 13:58:36 +00:00
tree.rs Validate sapling, orchard anchors (#3084) 2021-11-30 16:05:35 +00:00