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
Jack Grigg
3a72f081df
group: Exclude identity element from output of Group::random
2020-08-17 23:40:15 +01:00
Jack Grigg
4b4a4ee8dc
bls12_381: Implement pairing traits
2020-08-17 23:40:15 +01:00
Jack Grigg
eae5df0fb9
jubjub: Implement group traits
2020-08-17 23:40:15 +01:00
Jack Grigg
d11b60030f
bls12_381: Implement group traits
2020-08-17 23:40:15 +01:00
Jack Grigg
45a7861720
zcash_primitives: fpe 0.3
2020-08-16 11:16:23 +01:00
Jack Grigg
7f9ee9db21
ff_derive: addchain 0.2
2020-08-15 00:40:20 +01:00
Jack Grigg
3cc7d2b89a
Remove unused import
2020-08-14 17:44:17 +01:00
Jack Grigg
e210a80350
zcash_proofs: directories 3
2020-08-14 17:44:17 +01:00
Jack Grigg
f8e74af56c
zcash_history: quickcheck 0.9
2020-08-14 17:44:17 +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
Jack Grigg
0db22b1838
bellman: Migrate to bit-vec 0.6
2020-08-14 17:44:17 +01:00
Jack Grigg
af9f5f2cf6
bellman: Migrate to sha2 0.9
2020-08-14 17:44:17 +01:00
str4d
964532ec9f
Merge pull request #268 from str4d/refactor-fixes
...
Refactor fixes
2020-08-14 06:41:59 +12:00