redjubjub/tests
Deirdre Connolly 5feb6b29c7
Fix some FROST nits (#63)
* Impl DefaultIsZeros for every type that uses jubjub::Fr/Scalar

This requires Copy and Clone along with Default. If we do not want to include those, we can impl Zeroize and Drop directly.

* Hash signature message with HStar before deriving the binding factor

To avoid a collision, we should hash our input message, our 'standard' hash is HStar, which uses a domain separator already, and is the same one that generates the binding factor.

* Add a comment about why we hash the signature message before generating the binding factor

* Add comments on how we Zeroize

* Consume nonces with sign()

We want to make sure that the nonces we use when signing are Drop'd
(and thus Zeroize'd) when they go out of scope, so we must move participant_nonces into sign()
2021-03-23 11:46:17 -04:00
..
batch.rs Fix binding_batch_verify test to actually test Binding signatures 2021-03-03 17:51:59 -05:00
bincode.rs Change terminology to signing, verification keys (#35) 2020-06-25 11:56:29 -07:00
frost.rs Fix some FROST nits (#63) 2021-03-23 11:46:17 -04:00
librustzcash_vectors.rs Change terminology to signing, verification keys (#35) 2020-06-25 11:56:29 -07:00
proptests.rs Change terminology to signing, verification keys (#35) 2020-06-25 11:56:29 -07:00
smallorder.rs Change terminology to signing, verification keys (#35) 2020-06-25 11:56:29 -07:00