Commit Graph

1410 Commits

Author SHA1 Message Date
Jack Grigg d4f87c12ed rusqlite 0.24 2020-09-09 00:53:42 +01:00
Jack Grigg 6a62993714 secp256k1 0.19 2020-09-09 00:38:54 +01:00
Jack Grigg 46f17bd624 Bump protobuf dependencies
MSRV is now 1.44.1.
2020-09-09 00:32:16 +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
str4d a602769549
Merge pull request #285 from str4d/282-criterion
zcash_proof: Migrate benchmark to criterion
2020-09-03 02:42:10 +12:00
ebfull 288b3dae77
Merge pull request #283 from str4d/remove-subtrees
Remove subtree crates
2020-09-01 13:31:31 -06:00
Jack Grigg 9acf763b8f zcash_proof: Migrate benchmark to criterion
Closes zcash/librustzcash#282.
2020-08-31 17:13:39 +01:00
Jack Grigg 3a4ea5da18 Remove subtree crates
Now that we have finished the large refactor, we can make subsequent
refactoring changes within the individual crates, and propagate the
changes into the Zcash crates via normal dependency updates.
2020-08-27 23:25:47 +01:00
Jack Grigg 3f06d92eec Depend on published versions of subtree crates 2020-08-27 23:25:20 +01:00
ebfull 50140c521a
Merge pull request #278 from str4d/release-0.3.0
Release 0.3.0
2020-08-24 07:45:05 -06:00
Jack Grigg 3cd8f64240 zcash_client_sqlite 0.1.0 2020-08-23 16:23:53 +01:00
Jack Grigg 0a3752c088 zcash_client_backend 0.3.0 2020-08-23 16:23:53 +01:00
Jack Grigg 9ce0994f0b zcash_proofs 0.3.0 2020-08-23 16:23:53 +01:00
Jack Grigg e25a7dacdf zcash_primitives 0.3.0 2020-08-23 16:23:53 +01:00
Jack Grigg 1124eb3ca9 bellman 0.7.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
str4d 9bfb935a6e
Merge pull request #281 from str4d/pre-0.3.0-changes
Pre-0.3.0 changes
2020-08-24 02:30:39 +12:00
Jack Grigg cda56ef862 zcash_proofs: Add feature flags to docs.rs documentation 2020-08-23 12:12:11 +01:00
Jack Grigg a3cb89dff9 zcash_primitives: Add feature flags to docs.rs documentation 2020-08-23 06:56:03 +01:00
Jack Grigg c3d36c94bf bls12_381: Add feature flags to docs.rs documentation 2020-08-23 06:47:06 +01:00
Jack Grigg 9de623e4fa jubjub: Fix intra-doc link in SubgroupPoint::from_raw_unchecked 2020-08-23 06:27:54 +01:00
str4d 8b6c8143a2
Merge pull request #276 from daira/edwards-naming-cleanups
Edwards naming cleanups
2020-08-22 19:26:04 +12:00
str4d 436717cf65
Merge pull request #277 from str4d/jubjub-subtree-update
Update jubjub subtree
2020-08-22 19:23:53 +12:00
Jack Grigg 33b0758f4f Merge commit '56da51f3ce79fa4e6144af5f986d3bb9e0838590' into jubjub-subtree-update 2020-08-22 02:03:05 +01:00
Jack Grigg 56da51f3ce Squashed 'jubjub/' changes from ec85333e..38d38af3
38d38af3 Merge pull request #32 from kevaundray/patch-1
af5598da Merge pull request #33 from ZcashFoundation/scalar
109ec40d Add public Scalar type alias for Fr
8e9c5fe6 typo in Fr.rs
8e9337ee Merge pull request #30 from rex4539/typos
5f4374c8 Fix typo

git-subtree-dir: jubjub
git-subtree-split: 38d38af3b792d2c55d815d214a7cd157dc8f71ad
2020-08-22 02:03:05 +01:00
Daira Hopwood 74abb88dce Fix some comments.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-22 01:28:13 +01:00
Daira Hopwood 9e0041c497 Consistently use (u, v) for affine-ctEdwards coordinates.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-08-22 01:28:13 +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
str4d 984d31dc52
Merge pull request #272 from str4d/migrate-to-bls12_381-jubjub-crates
Migrate to bls12_381 and jubjub crates
2020-08-22 12:16:55 +12:00
Jack Grigg 24c61f9417 zcash_proofs: Remove unnecessary comment
Likely left over from the Sapling audit.
2020-08-21 18:37:51 +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
str4d 87475b9812
Merge pull request #250 from str4d/equihash-tests
Equihash tests
2020-08-20 23:03:33 +12:00
Jack Grigg f735e8b83b pairing: Remove BLS12-381 implementation
It is replaced by the bls12_381 crate.
2020-08-19 23:08:19 +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 315f00d6d4 zcash_proofs: 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
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
str4d 544d593aa6
Merge pull request #245 from str4d/impl-group-pairing-traits
Implement group and pairing traits for bls12_381 and jubjub crates
2020-08-20 10:07:20 +12: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
str4d 3983243207
Merge pull request #247 from str4d/update-deps
Update dependencies
2020-08-19 02:01:38 +12:00
Jack Grigg 3200ffc256 group: GroupEncoding::Repr: Default is not required to be a valid element 2020-08-18 14:52:10 +01:00