Dev Ojha
a83914af50
Add mul_by_inverse to FieldGadget ( #227 )
4 years ago
Dev Ojha
75439b9b4d
Add constant folding to FpGadget<F> ( #226 )
4 years ago
Weikeng Chen
885e9d7bad
Add constraints for Edwards curves over MNT4 ( #221 )
4 years ago
Pratyush Mishra
9391b1fd04
Rename to `ed_on`
4 years ago
Pratyush Mishra
7a0177e8c7
Re-export `edwards_on_cp6_782` as `edwards_on_bw6_761`
4 years ago
Pratyush Mishra
40e89254e0
Fix no-std compilation
4 years ago
Pratyush Mishra
d5e7d8bb36
Compilation fix
4 years ago
Pratyush Mishra
1959a3de63
Rename curves
4 years ago
Pratyush Mishra
07e8c79d79
Update README with new badge
4 years ago
Pratyush Mishra
bbf732980f
Move to github actions
4 years ago
ValarDragon
349407faef
Speed up exp_by_const
4 years ago
ValarDragon
c555535605
Improve invalid namespace error msg
4 years ago
Pratyush Mishra
75c55f7bee
Change `from_repr` to output `Option<Self>`
4 years ago
Georgios Konstantopoulos
ecf863f541
expose function which enforces a <= (p-1)/2
4 years ago
Sergey Vasilyev
67196d8371
Formatting fix
4 years ago
Sergey Vasilyev
0b87c84cdd
Merkle tree panics when there's a single leaf - fix
4 years ago
Sergey Vasilyev
4e0d92a6ec
Merkle tree fails to compute the root when there's no need in dummy nodes - fix
4 years ago
Sergey Vasilyev
97ca70b854
Merkle tree panics when there's a single leaf - test
4 years ago
Sergey Vasilyev
f4e2039d61
Merkle tree fails to compute the root when there's no need in dummy nodes - test
4 years ago
Georgios Konstantopoulos
ea2adb4f7f
fix(fp-cmp): use enforce unchecked in enforce unchecked function
4 years ago
Pratyush Mishra
cc534494ec
Add x86_64 asm codegen for PrimeField mul and square ( #176 )
4 years ago
Pratyush Mishra
04267f48a2
Merge remote-tracking branch 'upstream/master' into inline-asm
4 years ago
Pratyush Mishra
11e689ddc0
Clean up features, and make nightly detection robust
4 years ago
jon-chuang
95fbfe06f6
Merge branch 'master' into inline-asm
4 years ago
Pascal Berrang
3708a444a2
Give Travis more time
4 years ago
Pascal Berrang
9455f00c01
Add benchmark for mixed-radix and radix-2 FFT resembling the Groth16 operations.
4 years ago
Pascal Berrang
13b9c6c6fe
Split FpParameters/PrimeField and add FFT related traits
4 years ago
jon-chuang
b1f4c50fd8
Merge branch 'master' into inline-asm
4 years ago
Bruno França
bbb7d75ec8
Implement `conditional_check_verify` for `NIZK`s ( #195 )
* Implement `ToBitsGadget` for `UInt8` and `Vec<UInt8>`
* Add `kary_or` function to `Boolean`.
4 years ago
jon-chuang
535f93d378
--emit=asm seemed to be hurting performance significantly... So lets not recommend it for now.
4 years ago
jon-chuang
a919e8658c
update readme
4 years ago
jon-chuang
0b85f5cfa1
update readme
4 years ago
jon-chuang
4e85a68d0f
update readme
4 years ago
jon-chuang
33583be17a
more readme edits
4 years ago
jon-chuang
2d0f2943e0
More detailed readme instructions
4 years ago
jon-chuang
60ebc0d907
readme asm instructions
4 years ago
Kobi Gurkan
5cc094be6b
Adds alloc_constant to AllocGadget ( #189 )
* adds alloc constant to AllocGadget
* fmt
* fmt
* more alloc constant impls
* fmt
* even more impls
* fixes type
* fixes alloc_constant in gm17
* uses alloc_constant from field gadget in group gadgets
* fmt
* handle most comments
4 years ago
Pascal Berrang
c486e15f0e
Add test cases for COFACTOR and generalize SW tests
4 years ago
Pascal Berrang
d4a2d31d07
Fix Vec imports for no_std
4 years ago
Pratyush Mishra
5659b0d9ea
Fix CI to test more code in `no_std`
4 years ago
jon-chuang
0427d2a678
Merge branch 'master' into inline-asm
4 years ago
Pratyush Mishra
33a9da08f8
Switch to `stable` cargo formatting options
4 years ago
Pratyush Mishra
456f30a849
Fix #172 and improve squaring code for deg-3 extensions ( #174 )
4 years ago
Pascal Berrang
8631f883c4
MNT4/6 curves and recursive SNARKs ( #150 )
* Add mnt6_753 curve
Generalize mnt6 curve model
* Add mnt4 curves
* Use resampled generators
* Calculate correct G2 cofactors
* Add fields to r1cs-std
* Add pairings
* Improve reusing of Fq/Fr among MNT curves
* Add instantiations of curves
Fix Fp6_2over3
Rebase code to current master
* Add test for recursive NIZK proof verification
* Address comments in PR
* Improve test case and port to GM17
Also fix a minor bug in to_field_vec
4 years ago
Pratyush Mishra
81f3105a91
Fix MerkleTree leaf index calculation
4 years ago
Kobi Gurkan
c58fc31119
fmt and docs
4 years ago
Kobi Gurkan
ded3d687cc
removes unused struct + fmt
4 years ago
Kobi Gurkan
8cd0999431
moves cmp to be under FpGadget
4 years ago
Kobi Gurkan
60058b2186
changes test name
4 years ago
Kobi Gurkan
bd86eb4563
uses core instead of std
4 years ago