Jack Grigg
|
6a62993714
|
secp256k1 0.19
|
2020-09-09 00:38:54 +01:00 |
Jack Grigg
|
96bd59b942
|
Migrate to ff 0.8 and bellman 0.8
bellman 0.8 includes fixes for several performance regressions.
MSRV is now 1.44.0, matching the ff crate.
|
2020-09-09 00:27:51 +01:00 |
Jack Grigg
|
3f06d92eec
|
Depend on published versions of subtree crates
|
2020-08-27 23:25:20 +01:00 |
Jack Grigg
|
e25a7dacdf
|
zcash_primitives 0.3.0
|
2020-08-23 16:23:53 +01:00 |
Jack Grigg
|
d112add8a3
|
jubjub 0.4.0
|
2020-08-23 16:23:53 +01:00 |
Jack Grigg
|
5f99c52143
|
bls12_381 0.2.0
|
2020-08-23 16:23:53 +01:00 |
Jack Grigg
|
bdb42bcbc8
|
pairing 0.17.0
|
2020-08-23 15:31:09 +01:00 |
Jack Grigg
|
ee3e8fbfbb
|
group 0.7.0
|
2020-08-23 15:31:09 +01:00 |
Jack Grigg
|
55fa366730
|
ff 0.7.0
|
2020-08-23 15:31:09 +01:00 |
Jack Grigg
|
a3cb89dff9
|
zcash_primitives: Add feature flags to docs.rs documentation
|
2020-08-23 06:56:03 +01:00 |
Daira Hopwood
|
cfed47c176
|
Rename ValueCommitment.cm() to .commitment() (because it's confusing to have cm referring to both note and value commitments).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2020-08-22 01:28:13 +01:00 |
Daira Hopwood
|
20c5096793
|
Fix remaining cases of cm -> cmu.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2020-08-22 01:28:13 +01:00 |
Daira Hopwood
|
ee6c21f95b
|
Scripted diff:
```
find . -not -path '*/.git/*' -a -type f -exec sed -i -e 's/hash_x/hash_u/g' {} \;
find . -not -path '*/.git/*' -a -type f -exec sed -i -e 's/hash_y/hash_v/g' {} \;
```
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2020-08-22 01:28:13 +01:00 |
Jack Grigg
|
d15acf8acc
|
zcash_primitives: Rename Note::cm to Note::cmu
|
2020-08-21 18:35:04 +01:00 |
Jack Grigg
|
7a6223202e
|
zcash_primitives: Remove redundant TODO
The primitives are no longer generic over a curve; we hard-code Jubjub,
so we know that the smallest u-coordinate that is not on the curve is 1.
|
2020-08-21 18:27:09 +01:00 |
Jack Grigg
|
ca5bc6b0ae
|
zcash_primitives: Fix names of some test vector macros
|
2020-08-21 18:25:30 +01:00 |
Jack Grigg
|
ed3489a111
|
zcash_primitives: Explicitly type zero-initialised arrays
|
2020-08-21 18:22:29 +01:00 |
Jack Grigg
|
b9a8e1e415
|
zcash_primitives: Remove Jubjub implementation
We now use the jubjub crate for this.
|
2020-08-19 23:08:19 +01:00 |
Jack Grigg
|
fdf06032e3
|
s/{pairing::bls12_381, zcash_primitives::jubjub}/{bls12_381, jubjub}
FINALLY.
|
2020-08-19 23:08:19 +01:00 |
Jack Grigg
|
10c571f2cd
|
zcash_primitives: Define generator constants using new crates
Includes tests to ensure that the new generator constants match the
current zcash_primitives::JUBJUB generators.
|
2020-08-19 23:08:19 +01:00 |
Matthew Fors
|
b86558c63a
|
Decrypt sapling output description given OCK (#271)
* decrypt sapling outputs directly with ock
* make prf_ock public
* unit tests for ock sapling output decryption
|
2020-08-19 06:38:09 +12:00 |
Jack Grigg
|
45a7861720
|
zcash_primitives: fpe 0.3
|
2020-08-16 11:16:23 +01:00 |
Jack Grigg
|
751ddad17d
|
zcash_primitives: crypto_api_chachapoly 0.4
|
2020-08-14 17:44:17 +01:00 |
Jack Grigg
|
9ced89a1b0
|
zcash_primitives: secp256k1 0.17
|
2020-08-14 17:44:17 +01:00 |
Jack Grigg
|
bc8a839c61
|
Migrate to hex 0.4
|
2020-08-14 17:44:17 +01:00 |
Jack Grigg
|
5fe2d6a57c
|
zcash_primitives: ripemd160 0.9 and sha2 0.9
|
2020-08-14 17:44:17 +01:00 |
ying tong
|
72cc8fc916
|
Minor refactor of enumeration in tests in note_encryption.rs
Co-authored-by: str4d <thestr4d@gmail.com>
|
2020-08-07 08:46:15 +08:00 |
ying tong
|
13f4d0844e
|
Avoid using unwrap() when calling derive_esk()
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
|
2020-08-07 00:12:07 +08:00 |
therealyingtong
|
d54fd09c5f
|
Add esk check in parse_note_plaintext_without_memo() and try_sapling_output_recovery()
|
2020-08-06 18:39:49 +08:00 |
therealyingtong
|
5480a376df
|
Extract derive_esk() into separate function
|
2020-08-06 18:21:27 +08:00 |
therealyingtong
|
7cee29bbcc
|
Use <P: consensus::Parameters> type for Builder impl
|
2020-08-06 18:12:15 +08:00 |
ying tong
|
0f8f1b3f5d
|
Fix parsing of rseed in parse_note_plaintext_without_memo() and try_sapling_output_recovery()
Co-authored-by: str4d <thestr4d@gmail.com>
|
2020-08-06 18:12:15 +08:00 |
ying tong
|
40a908e0a8
|
Refactor leadbyte_array in note_encryption tests
Co-authored-by: str4d <thestr4d@gmail.com>
|
2020-08-06 18:12:10 +08:00 |
therealyingtong
|
8968547981
|
Document pub enum Rseed<Fs> with link to ZIP 212
|
2020-08-06 13:13:49 +08:00 |
therealyingtong
|
878646855c
|
Switch on leadbyte instead of tx height when decrypting outputs
|
2020-08-06 12:57:48 +08:00 |
therealyingtong
|
c3d89644e2
|
Revert SaplingNoteEncryption::new() API to take rng instead of esk
|
2020-08-06 12:47:35 +08:00 |
therealyingtong
|
4f22077cf6
|
Remove const activation heights from consensus.rs
|
2020-08-06 12:30:48 +08:00 |
therealyingtong
|
9970a8aefd
|
Hard-code NetworkUpgrade::Canopy in generate_random_rseed
|
2020-08-06 12:27:20 +08:00 |
therealyingtong
|
44f46e50ce
|
Add <P: consensus::Parameters> type parameter to Builder struct
|
2020-08-06 11:43:07 +08:00 |
therealyingtong
|
88072d64ec
|
Remove network cfg from zcash_client_backend and zcash_primitives
|
2020-08-06 11:35:05 +08:00 |
therealyingtong
|
c8fcdeb50b
|
Minor changes in note_encryption.rs
|
2020-08-05 15:45:18 +08:00 |
therealyingtong
|
2ed9b6f881
|
Refactor contextual random rseed generation into util method in zcash_primitives
|
2020-08-05 15:21:42 +08:00 |
therealyingtong
|
a3ae1b273d
|
Switch plaintext version on height for dummy outputs in Builder
|
2020-08-05 14:27:36 +08:00 |
therealyingtong
|
a25348dfba
|
Revert passing Parameters to methods
|
2020-08-05 12:47:29 +08:00 |
therealyingtong
|
0a47a9dbea
|
Pass rseed to Prover
|
2020-08-04 16:40:53 +08:00 |
therealyingtong
|
b34e8b903c
|
Add invalid version byte tests for ZIP212
|
2020-08-03 13:51:45 +08:00 |
therealyingtong
|
eba542c95f
|
Add activation heights as consts in consensus::Parameters
|
2020-08-03 13:40:39 +08:00 |
therealyingtong
|
b1ddd556af
|
Check derived esk against claimed epk when decrypting note
|
2020-07-31 22:40:52 +08:00 |
therealyingtong
|
895e251793
|
Fix tests
|
2020-07-31 22:40:48 +08:00 |
therealyingtong
|
6904c8f933
|
Implement plaintext_version_is_valid()
|
2020-07-31 22:28:51 +08:00 |