Jack Grigg
060977fe54
Return edwards::Point from sapling_ka_agree
This matches how sapling_ka_agree and kdf_sapling are defined in the
protocol spec. kdf_sapling also now takes ownership of dhsecret to
discourage use of the sapling_ka_agree output elsewhere.
5 years ago
Jack Grigg
2b1583d75f
Deduplicate Sapling key agreement logic
5 years ago
Jack Grigg
9ae5a9d624
Make loading of Sprout key optional in zcash_proofs API
6 years ago
Jack Grigg
2d43e3be7c
Move parameter-loading into zcash_proofs
6 years ago
Jack Grigg
09a20aacfe
Make zcash_primitives::JUBJUB the canonical instantiation of JubjubBls12
6 years ago
Jack Grigg
6b43b2d0d6
Refactor Sapling spendAuthSig creation into zcash_primitives::sapling
6 years ago
Jack Grigg
482bef87f0
Add ff and group crates to Cargo workspace
6 years ago
Jack Grigg
07955092f3
Update librustzcash crate to use ff crate
6 years ago
Jack Grigg
1a1c77536d
cargo fmt 1.31.1
6 years ago
Jack Grigg
e378229bdd
Move Sapling proving and binding signature into zcash_proofs crate
6 years ago
Jack Grigg
922ffe6002
Refactor Sapling proving and binding signature
6 years ago
Jack Grigg
e1841806c5
Move Sapling verification checks into zcash_proofs crate
6 years ago
Jack Grigg
eb2db2e667
Refactor Sapling verification checks
6 years ago
Jack Grigg
bbec1b841d
Use slices of native strings to pass parameter paths into Rust
On Windows, the slices are [u16] representing UTF-16. On all other
platforms, the slices are [u8] in the native filesystem encoding.
Closes #44 .
6 years ago
Jack Grigg
a9059c9372
Update workspace after pulling in external crates
6 years ago
Jack Grigg
0ec85d362d
Set up a Cargo workspace
6 years ago
Jack Grigg
d7257ce010
Move librustzcash crate into subdir
6 years ago