-
Notifications
You must be signed in to change notification settings - Fork 514
perf: optimize scalar multiplications and multi-scalar multiplications circuits via lattice reductions #1697
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
Open
yelhousni
wants to merge
54
commits into
master
Choose a base branch
from
perf/ec-mul
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
64ce5e9
perf: use lattice reduction instead of eisenstein gcd for tighter bounds
yelhousni eddaa5d
perf: LLL-based 4D G2-GLVAndFakeGLV
yelhousni 1eeebeb
perf: 2-MSM
yelhousni 5b43236
docs: correct comments
yelhousni 905539c
perf: emulated non-GLV 2-MSM as 3-MSM
yelhousni c08edd3
fix: edge cases in 3D MSM
yelhousni 1e50f4f
perf: revisit complete arithmetic paths
yelhousni 25e4951
refactor: clean code and add tests
yelhousni 51db1ed
fix: cursor review
yelhousni df3f8cf
refactor: remove dead code
yelhousni 7f5a2dd
Merge branch 'master' into perf/ec-mul
yelhousni e2dd28b
fix: G2 ScalarMul edge cases
yelhousni a9b5ece
perf(ec/hints): use cached rational reconstructions
yelhousni c556c02
chore: up gnark-crypto dep
yelhousni 6ad3dea
chore: fix ci
yelhousni 74dfaa4
Merge branch 'master' into perf/ec-mul
yelhousni 3047a08
test: up stats
yelhousni b654da0
Merge branch 'master' into perf/ec-mul
yelhousni 8dd87e2
fix: remove bls24 from ted
yelhousni 4ff4c65
fix(native/bls12-377): fix overflow in scalar decomposition check
yelhousni 7cb51da
test: up stats
yelhousni cced239
Merge branch 'master' into perf/ec-mul
yelhousni e88eaa0
perf: use Eval in AddUnified
yelhousni e1a73ff
fix: complete path for table precomputation for s=1
yelhousni 6a4283f
fix(native): complete path for table precomputation for s=1
yelhousni 2441baf
fix: edge cases
yelhousni 5e6423c
fix: 0-scalar edge case in tEd
yelhousni 2663a72
fix: cross-cancelation in MSM tEd
yelhousni 435fc58
fix: various edge cases
yelhousni 3da9d5d
fix: jointScalarMulComplete
yelhousni 5333b62
Merge branch 'master' into perf/ec-mul
yelhousni cfc3e60
Merge branch 'perf/ec-mul' of github.com:consensys/gnark into perf/ec…
yelhousni 5ef8e74
fix: 8-way mux ordering
yelhousni f0183ae
Merge branch 'master' into perf/ec-mul
yelhousni c1d0f2d
test: up stats
yelhousni f83b054
Merge branch 'master' into perf/ec-mul
yelhousni 6915e39
fix: address ivo comments
yelhousni 1829f00
fix: prevent malicious trivial decomposition
yelhousni 96c8689
fix: happy linter
yelhousni 243e75b
test: up stats
yelhousni 2caff8e
fix: native edge case
yelhousni 2759c7c
fix: emulated -1 scalar edge case
yelhousni a07691d
test: emulated -1 scalar edge case for all methods
yelhousni 97caa8f
fix: prevent malicious trivial decomposition
yelhousni ff055a9
fix: more edge cases
yelhousni 22491e1
perf: incomplete addition by default, unified when CompleteArithmetic
yelhousni f21ffac
fix: ±3-scalar edge case
yelhousni 7a6d504
Merge branch 'master' into perf/ec-mul
yelhousni a34d205
fix: tEd endomorphism on identity
yelhousni bbc3000
fix: go generate
yelhousni 386a911
Merge branch 'master' into perf/ec-mul
yelhousni 7324974
fix: replace unconstrained point with constrained scalar
yelhousni 9794b2e
fix: overflow in tEd
yelhousni a8f2407
fix: bit-length tEd
yelhousni 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.