Henry de Valence
c20139bbf7
Rename to just `redjubjub`.
2019-12-09 13:54:10 -08:00
Henry de Valence
d8ad15059d
Try to prevent ChangePubkey tweaks from becoming a no-op.
...
Since we expect the signature to fail if ChangePubkey is applied, we need to
make sure it actually changes the signature test case.
2019-12-09 12:15:11 -08:00
Henry de Valence
92cb99f966
Ensure SecretKey encoding is canonical.
2019-12-09 12:08:13 -08:00
Henry de Valence
87f09b87b5
Add Serialize, Deserialize for SecretKey.
2019-12-09 11:55:56 -08:00
Henry de Valence
2ca445ad23
Add Serialize, Deserialize to PublicKey.
2019-12-09 11:55:53 -08:00
Henry de Valence
e58376fc47
Add Serialize, Deserialize for byte wrapper types.
2019-12-09 11:55:53 -08:00
Henry de Valence
ead4727ded
Implement randomization.
2019-12-04 17:00:55 -08:00
Henry de Valence
e3e92af63b
Add more signature tweaks to proptest.
2019-12-04 16:35:25 -08:00
Henry de Valence
8aeb2f14f8
Add test vectors from librustzcash.
...
The `SpendAuth` test vectors were generated using
`FixedGenerators::SpendingKeyGenerator`, and the `Binding` test vectors
were generated using `FixedGenerators::ValueCommitmentRandomness`.
2019-12-04 16:14:44 -08:00
Henry de Valence
7b979ddd65
Add property tests for signatures.
2019-12-04 16:14:44 -08:00