-
Notifications
You must be signed in to change notification settings - Fork 2
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
BLS: translate herumi-mcl logic into noble-curves #51
Open
andreibancioiu
wants to merge
33
commits into
main
Choose a base branch
from
research-noble-bls
base: main
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 all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
97b3f9a
Research noble crypto BLS. Work in progress.
andreibancioiu 0b10207
Use newer typescript (handles better "noble-curves").
andreibancioiu dd1ed51
Add unit test for "getWeierstrassLikeHerumi".
andreibancioiu c0f37ec
setArrayMaskLikeHerumi().
andreibancioiu 77ea0f0
Further sketches.
andreibancioiu c8f08d0
Translation. Work in progress.
andreibancioiu 4bd8445
Translation and tests.
andreibancioiu a386a21
calcBNLoopLikeHerumi().
andreibancioiu a8fd967
Further translation.
andreibancioiu d15f138
Tests and implementation.
andreibancioiu e111a69
legendreLikeHerumi(). Additional tests.
andreibancioiu e3c4304
Signing, with tests.
andreibancioiu 0a5fdd6
More compact tests.
andreibancioiu 1b265be
verifyShortSignatureLikeHerumi().
andreibancioiu 52a53e4
For now, "@noble/curves" only as dev-dependency (used in tests).
andreibancioiu 4b78f0a
Additional tests.
andreibancioiu c91377f
verifySignature(), work in progress.
andreibancioiu 8a4079e
Stricter tests.
andreibancioiu c8ff776
Additional tests.
andreibancioiu 9c0ae4c
Tests, fixes.
andreibancioiu cbb22d7
Implement bytesToG2ProjectivePoint(). Add tests.
andreibancioiu 247e494
Add some BLS test vectors (got from MCL).
andreibancioiu b559326
Some refactoring, plus tests based on test vectors.
andreibancioiu 1747eed
New vectors.
andreibancioiu ad3a2bf
New vectors.
andreibancioiu abadc32
Additional test vectors.
andreibancioiu 8fc83dc
Fix "bytesToG2ProjectivePoint".
andreibancioiu fb4191a
Fix bytesToG1ProjectivePoint().
andreibancioiu 03e74a1
Fix getPublicKeyBytesForShortSignaturesLikeHerumi().
andreibancioiu b172006
Fix comment.
andreibancioiu 2ce0a51
Better tests.
andreibancioiu eece6fa
Adjust slicing of test vectors.
andreibancioiu 9771715
Fix after self-review.
andreibancioiu 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"singleQuote": false, | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"printWidth": 120 | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
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.
Only as "dev-dependency" for now (no change of production code).