Jack Grigg
2013561f4c
Move additive CurveProjective operators to traits
2020-08-25 23:09:46 +01:00
Jack Grigg
6db281d137
no_std support for ff crate
2020-08-25 23:09:46 +01:00
Jack Grigg
2e8f08f09f
Improve Field::pow API and impl
...
Renamed to Field::pow_vartime to indicate it is still variable time with
respect to the exponent.
2020-08-25 23:09:46 +01:00
Jack Grigg
1b063b7b33
Constant-time field square root
...
WARNING: THIS IS NOT FULLY CONSTANT TIME YET!
This will be fixed once we migrate to the jubjub and bls12_381 crates.
2020-08-25 23:09:46 +01:00
Jack Grigg
46c992a8e7
Constant-time field inversion
...
WARNING: THIS IS NOT ACTUALLY CONSTANT TIME YET!
The jubjub and bls12_381 crates will replace our constant-time usages,
but we NEED to fix ff_derive because other users will expect it to
implement the Field trait correctly.
2020-08-25 23:09:46 +01:00
Jack Grigg
0b35c60341
impl ConditionallySelectable for Field
2020-08-25 23:09:46 +01:00
Jack Grigg
c716dfdd63
Make Field::square take &self and return Self
2020-08-25 23:09:46 +01:00
Jack Grigg
c84d48ec04
Make Field::double take &self and return Self
2020-08-25 23:09:46 +01:00
Jack Grigg
c0cea09d13
Move from Field::negate to Neg operator
2020-08-25 23:09:46 +01:00
Jack Grigg
c05b957e9d
Move Field operations to operator-backed traits
...
The ff_derive, pairing, zcash_primitives::jubjub, and bellman dummy_engine
changes are minimally implemented on top of the existing *_assign()
functions.
2020-08-25 23:09:46 +01:00
str4d
0aab37f418
Merge pull request #46 from zkcrypto/bellman-0.6.0
...
bellman 0.6.0
2020-04-30 15:31:18 +12:00
Sean Bowe
33a6b8cdbb
Version bump of all crates (except librustzcash)
2020-04-30 15:27:46 +12:00
Sean Bowe
d8a3a0da04
Remove Sized for RngCore
...
Co-authored-by: Weiliang Li <to.be.impressive@gmail.com>
2020-04-30 15:27:46 +12:00
Sean Bowe
2d8033ef95
Fix Field::random method declarations.
2020-04-30 15:27:46 +12:00
str4d
2279da422c
Merge pull request #38 from debris/docs
...
Remove documentation entry from Cargo.toml
2020-02-10 17:16:44 +00:00
debris
2e571901e3
Remove documentation entry from Cargo.toml
2019-12-12 15:39:40 +01:00
Jack Grigg
346d540507
bellman 0.2.0
2019-10-08 17:43:33 +13:00
str4d
8d796652d9
Merge pull request #93 from defuse/qed-it-lrz
...
Bring in QED-it Tests
2019-10-08 13:47:36 +13:00
Jack Grigg
f50079f03d
Crate docs
2019-09-24 14:23:59 +01:00
Jack Grigg
701cb2b348
Update READMEs
2019-09-24 14:23:55 +01:00
Jack Grigg
ccf1ee97e1
CI: Check intra-doc links
...
Credit: https://twitter.com/tomaka17/status/1176017851410526208
2019-09-24 10:35:12 +01:00
Jack Grigg
ddd390a721
Add READMEs to Cargo.toml files
...
This will cause crates.io to render each crate's README as its
information page.
2019-09-23 14:42:38 +01:00
Jack Grigg
54d31221cd
Add missing cs.is_satisfied() to bellman test
2019-09-17 00:16:33 +01:00
Taylor Hornby
52bf23c5ce
Fix build warnings
2019-09-16 23:06:48 +01:00
Kobi Gurkan
581ad354a7
boolean: adds tests for alloc_conditionally
2019-09-16 22:08:30 +01:00
Kobi Gurkan
0403396a77
blake2s: adds test vectors from go-jubjub
2019-09-16 20:34:21 +01:00
Taylor Hornby
9f24e47390
Fix blake2s test data length assertion.
2019-09-16 20:24:31 +01:00
Kobi Gurkan
42d5b3b6ca
Add blake2s test vectors for varying sizes from go-jubjub
2019-09-16 20:23:09 +01:00
Kobi Gurkan
b2597deb85
pedersen_hash: removes debug prints
2019-09-16 20:20:03 +01:00
Kobi Gurkan
c903fadae8
pedersen hashes: example of size limit bug
2019-09-16 20:17:50 +01:00
Jack Grigg
bc697c14bb
bellman: Fix compile errors without multicore feature
2019-09-12 19:38:52 +01:00
Jack Grigg
a4e5df9190
Upgrade to hex-literal 0.2
2019-09-12 19:38:51 +01:00
Jack Grigg
c063509856
Migrate bellman to crossbeam 0.7
2019-09-12 19:38:50 +01:00
Jack Grigg
1775843724
Take self directly in into_* functions
2019-08-24 00:39:55 +01:00
Jack Grigg
614d784b29
Rename into_ -> to_ where &self is used.
2019-08-24 00:39:54 +01:00
Jack Grigg
08664b1df9
Address various clippy warnings/errors in bellman
2019-08-24 00:38:32 +01:00
Eirik Ogilvie-Wigley
bb11ef26e9
cargo fmt
2019-08-20 22:22:03 -06:00
Eirik Ogilvie-Wigley
cff2e2f28d
cargo fix --edition-idioms for bellman
2019-08-20 22:07:24 -06:00
Eirik Ogilvie-Wigley
dc2a280e38
Add edition = 2018
2019-08-20 18:31:20 -06:00
Eirik Ogilvie-Wigley
1a2bc19b44
cargo fmt
2019-08-20 17:17:21 -06:00
Eirik Ogilvie-Wigley
ad37878533
cargo fix --edition for bellman
2019-08-20 16:45:10 -06:00
Eirik Ogilvie-Wigley
e73d1a2637
cargo fmt bellman
2019-08-15 10:38:41 -06:00
Jack Grigg
dfb86fcf11
Move generic circuit gadgets into bellman
2019-08-14 10:45:58 +01:00
Jack Grigg
9b3d76694b
Migrate to rand 0.7
2019-07-19 00:47:40 +02:00
Jack Grigg
055280fd82
Migrate ff, group, pairing, and bellman to rand 0.6
2019-07-19 00:42:39 +02:00
Jack Grigg
533d5860bd
Migrate bellman to rand 0.5
2019-07-19 00:35:06 +02:00
str4d
bfa9aaf7ee
Merge pull request #61 from rex4539/fix-typos
...
Fix typos
2019-05-29 17:38:30 +01:00
Sean Bowe
3dd849053a
Place bellman multicore operations behind a (default) feature flag
...
Co-authored-by: Jack Grigg <jack@z.cash>
2019-04-10 06:01:24 -07:00
str4d
955e6795d5
Merge pull request #46 from str4d/ff-traits
...
Migrate to ff and group crates
2019-02-26 20:41:45 +00:00
Dimitris Apostolou
d4ddaa93c7
Fix typos
2019-02-18 13:17:49 +02:00