ZcashFoundation / redjubjub

A minimal RedJubjub implementation for use in Zebra.
Other
28 stars 21 forks source link

Split out parsing & validation of test VerificationKey from checking of signature #115

Closed dconnolly closed 3 years ago

dconnolly commented 3 years ago

Also use fully secure ChaChaRng with a full seed, not just a u64.

Now that we always generate an extra proper VerificationKey for each Tweak::ChangePubkey case, this /should/ never fail: it also helps split out the actual verification of the signature from the parsing and validation of the key itself.