-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update arkworks
dependencies
#207
Merged
Merged
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
5c0208d
Bump the arkworks library versions to 0.4.0
tessico e74fb89
Rename `ModelParameters` -> `CurveConfig`
tessico a901c28
Rename `PairingEngine` -> `Pairing`, and its associated traits
tessico 3688d20
Rename `prime_subgroup_generator` -> `generator`
tessico 3a0c32a
Rename `AffineCurve` -> `AffineRepr`
tessico c180138
Rename `ProjecitveCurve` -> `CurveGroup`
tessico d1c6159
fix the jellyfish multi_pairing implementation
tessico aa44cd2
Rename `EdwardsParameters` -> `EdwardsConfig`
tessico 703aac2
replace `into_repr` -> `into_bigint`
tessico e19b59d
replace `size_in_bits` with `MODULUS_BIT_SIZE`
tessico bcd3071
Specify explicit type as usize for length
tessico ea24b23
replace usages of `(de)serialize` with `(de)serialize_compressed`
tessico 45a7876
rename `FftParameters` -> `FftField`
tessico b63b082
rename modules
tessico af70bfb
rename `GroupAffine` -> `Affine`
tessico 4f93364
Rename `GroupProjective`-> `Projective`
tessico b85578f
Move the `{SW/TE}CurveConfig` import to its right submodule
tessico eb5247b
fix the `Group` import
tessico 28512fd
rename `FpParameters` -> `FpConfig`
tessico d1d0589
Rename `UVPolynomial` -> `DenseUVPolynomial`
tessico 6ad1534
use const generic methods for creating new BigInts
tessico a2f45e4
fft field
tessico eac474f
remove sw hash to curve
tessico 5775a87
ark_sponge has been moved to ark_crypto_primitives
tessico e290e8d
temp: update tagged-base64 dep to `update-ark-deps` branch
tessico ad5a60a
implement new Canonical (de)Serialize traits
tessico 55e1f3f
`MODULUS` is now directly a member of `PrimeField` trait
tessico 75a4637
rename `into_group` -> `into_projective`
tessico 905660e
refactor `product_of_pairings` -> `multi_pairing`
tessico 15b6540
rename `batch_normalization_affine` to `normalize_batch`
tessico dceebff
Cast modulus as usize
tessico 5dffeac
swap around point creation
tessico f0b5d76
use the new multiplication call instead of `Group::mul`
tessico 75c8ac4
explicit type case to usize
tessico 9e807b1
use the new scalar_mul imports instead of msm
tessico 8f4657b
VariableBaseMSM is a trait, and needs to know its type (E::G1)
tessico b989d45
Use the new constructor for Affine points
tessico 4ea21ee
use explicit usize conversion
tessico 774b289
FixedBaseMSM -> FixedBase
tessico b33df64
use the new mul trait impl
tessico b010d2d
more msm stuff
tessico de8f34d
explicit conversion to usize
tessico d197704
use mul traits
tessico 61f5d18
replace function call `modulus_minus_one_div_two` with const
tessico 3743995
explicit type conversion
tessico 68a259a
modulus in on PrimeField now
tessico 3622a8b
use direct construction of `PrimeField` from `BigInt`
tessico 9615054
mark unused Compress flags with underscore
tessico bdf2e42
remove unnecessary `mut` modifiers
tessico a6a3533
remove the unused `into()` calls on multi-pairing
tessico 0e7a68a
replace usages of `Rc` with `Arc`
tessico 0986cd6
use mul traits
tessico 5b5ce8e
remove bunch of unused imports
tessico a11d6a4
Rename all remaining usages of `Parameters` to `Config`
tessico b9ddb33
replace `field_new` with `MontFp` macros
tessico 0df65a1
fix a pairing import in test
tessico 899cdac
replace usages of ark test_rng with jf_utils::test_rng
tessico 9e09edf
remove outdated TODO
tessico 04ccd51
ignore a _compress flag, since SK is only supported in compressed form
tessico 49c2c4b
move te/sw imports to correct modules
tessico 7f0984e
use MontFp instead of field_new macros
tessico 0cad431
explicit usize cast
tessico 757c0c9
replace Fq->BaseField, Fqk -> TargetField, Fr -> ScalarField
tessico 469cf16
in tests, replace MulAssign with mul (outputs Projective) then convert
tessico 2edae38
Call `VariableBaseMSM` on Projective "wrapper" around Params
tessico 9fecab8
Refactor `compute_base_points` to operate on Projective coordinates
tessico b5d40e7
remove unused imports from relations module
tessico 1bed8dc
point addition results in a Projetive -> need to convert to affine first
tessico 4094562
compare PairingOutput's internal value to one
tessico d20fddd
Commitment's inner value is an AffinePoint, convert after addition
tessico 03df962
rename `multiplicative_generator()` -> `GENERATOR`
tessico c1e7e42
first negate the projective, then convert into affine
tessico 5200b83
use new Mul trait
tessico d76d317
fix associated type on the `group2_to_fields` helper method
tessico 1f136fe
make `domain_size_ratio` a const function
tessico 9814306
Create a coset with offset g, then do fft on that
tessico 500785e
add coset TODO
tessico 9d1c7c5
remove unused imports
tessico 9957460
fix clippy errors
tessico 659a5dd
clippy: simplify boolean expressions
tessico 2602bff
import test_rng in benches
tessico 7177dce
format remaining files
tessico 64e88d3
fix bare link
tessico 44ed571
clippy
mrain 0f171bc
cargo clippy
mrain 668b5a6
remove unnecessary marks
mrain 4a4aa70
clippy: remove unnecessary generics
mrain 1c5ac07
remove unnecessary on_curve check
mrain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should use this constructor or
Affine::new_unchecked
( cuz the former includeis_on_curve
andis_in_correct_subgroup
by default)(same for other changes in this commit)