Skip to content
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

NEP-488: Precompile for BLS12-381 curve operations #488

Merged
merged 163 commits into from
Oct 1, 2024
Merged
Changes from 160 commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
81d2c46
NEP-486 draft
olga24912 Jul 17, 2023
1d83ce0
fix header
olga24912 Jul 17, 2023
b590edf
fix header level
olga24912 Jul 17, 2023
e2c9fb7
update header table
olga24912 Jul 17, 2023
16990a7
update header table
olga24912 Jul 17, 2023
4a52161
update header table
olga24912 Jul 17, 2023
4819916
fix formuls
olga24912 Jul 17, 2023
107f4ae
fix formuls
olga24912 Jul 17, 2023
fa42b18
fix formuls
olga24912 Jul 17, 2023
dcfab7b
fix formuls
olga24912 Jul 17, 2023
88dfdea
fix formuls
olga24912 Jul 17, 2023
0b3e4ef
fix formuls
olga24912 Jul 17, 2023
81081cc
fix formuls
olga24912 Jul 17, 2023
6e6b4c8
fix formuls
olga24912 Jul 17, 2023
c577f78
links
olga24912 Jul 17, 2023
b5a5cfb
links
olga24912 Jul 17, 2023
0ce5e73
links
olga24912 Jul 17, 2023
7f1f5eb
links
olga24912 Jul 17, 2023
926b75a
update name
olga24912 Jul 17, 2023
3cc35f4
rename nep
olga24912 Jul 18, 2023
f26f71f
fix formating
olga24912 Jul 18, 2023
e3e63e0
fix formating
olga24912 Jul 18, 2023
51b5f2a
Fix link to implementation
olga24912 Aug 14, 2023
c14bb2c
Remove extra space
olga24912 Aug 14, 2023
12a1342
Remove extra space
olga24912 Aug 14, 2023
e71de64
Fix grammer
olga24912 Aug 14, 2023
61f540b
Make dash bold for consistency
olga24912 Aug 14, 2023
664373f
fix naming
olga24912 Aug 14, 2023
6cd7f07
test ref
olga24912 Aug 14, 2023
ffde154
test multilink
olga24912 Aug 14, 2023
3ad07e5
fix links
olga24912 Aug 14, 2023
9c50765
fix git actions
olga24912 Aug 14, 2023
489ef31
Light Client -> light client
olga24912 Aug 15, 2023
bb845d6
For sum operations support signs
olga24912 Oct 2, 2023
55f9d99
no error on empty input
olga24912 Oct 3, 2023
a24a226
Map to curve specification
olga24912 Oct 5, 2023
f505f99
clean up
olga24912 Oct 5, 2023
1bdcdd5
clean up
olga24912 Oct 5, 2023
1281423
clean up
olga24912 Oct 5, 2023
c7d9757
clean up
olga24912 Oct 5, 2023
8e091dd
clean up
olga24912 Oct 5, 2023
c914a0f
clean up
olga24912 Oct 5, 2023
0e9b7b9
fix code and math formating
olga24912 Oct 5, 2023
e299978
clean up
olga24912 Oct 5, 2023
cb8f184
try fix formating
olga24912 Oct 5, 2023
776f427
try fix formating
olga24912 Oct 5, 2023
aae2014
try fix formating
olga24912 Oct 5, 2023
e287b0e
try fix formating
olga24912 Oct 5, 2023
450b471
try fix formating
olga24912 Oct 5, 2023
910d270
Edit Summary, Motivation and headers
Karkunow Oct 9, 2023
71caeb4
Fix vocabulary, inconsistent use of names, incorrect terminology
Karkunow Oct 10, 2023
079e156
Remove comma between footnotes
Karkunow Oct 10, 2023
d124617
alt-bn128 -> bn254
olga24912 Oct 11, 2023
65a8df8
fix typo
olga24912 Oct 11, 2023
fc6e46b
fix typo
olga24912 Oct 11, 2023
bd1c469
fix naming
olga24912 Oct 11, 2023
f1a65d4
minor fix
olga24912 Oct 11, 2023
3b76fd4
add separation for links
olga24912 Oct 11, 2023
cead29e
add space before (
olga24912 Oct 11, 2023
23bd63a
Grammar, spelling fixes
Karkunow Oct 11, 2023
4003d70
return ERROR_CODE
olga24912 Nov 17, 2023
7c5cb3b
scalar encoding
olga24912 Nov 17, 2023
b2a315a
fix formating
olga24912 Nov 17, 2023
90cb55f
encoding of inf
olga24912 Nov 17, 2023
e47f922
fix formating
olga24912 Nov 17, 2023
d9b039a
change point, sign order
olga24912 Nov 17, 2023
b737d0b
simplify gas estimation
olga24912 Nov 17, 2023
80adcc7
simplify multiexp function
olga24912 Nov 17, 2023
cc448df
remove comments in annotation
olga24912 Nov 17, 2023
ab83571
input parsing description
olga24912 Nov 17, 2023
1526529
rewrite sentence about library
olga24912 Nov 17, 2023
6e9c7b0
add negative factor
olga24912 Nov 17, 2023
fe0151d
extra motivation
olga24912 Nov 17, 2023
8609d5b
clarify the bit order
olga24912 Nov 20, 2023
7bcb52f
fix formula
olga24912 Nov 20, 2023
4b225f0
fix typo
olga24912 Nov 20, 2023
22529fb
hard limit
olga24912 Nov 20, 2023
7588008
improve test case for sum
olga24912 Nov 21, 2023
43a7b3f
dec to hex
olga24912 Nov 21, 2023
dc1b001
clean up
olga24912 Nov 21, 2023
c9ee940
update motivation
olga24912 Nov 21, 2023
dd43b9f
update motivation
olga24912 Nov 21, 2023
67842d4
update motivation
olga24912 Nov 21, 2023
cbce9e3
fix tests case
olga24912 Nov 21, 2023
225352d
test cases for point decompression
olga24912 Nov 22, 2023
966290a
map_fp_to_g1 tests
olga24912 Nov 22, 2023
aede25d
pairing tests
olga24912 Nov 22, 2023
f671725
test cases for multiexp function
olga24912 Nov 22, 2023
020a6b3
tests for fp2 to g2
olga24912 Nov 22, 2023
b40119f
fix tests from decompression
olga24912 Nov 22, 2023
cbab082
fix tests formating
olga24912 Nov 22, 2023
c4e91ae
fix tests formating
olga24912 Nov 22, 2023
f1e919e
simplify map to curve specification
olga24912 Nov 22, 2023
60a4a80
improve english
olga24912 Nov 22, 2023
5911703
remove unused links
olga24912 Nov 22, 2023
5c87153
remove the hard limits
olga24912 Nov 23, 2023
dbdb08a
fix ERROR_CODE
olga24912 Nov 28, 2023
034ae11
remove redundant definition
olga24912 Nov 28, 2023
3cb0c57
implicit Error cases comments
olga24912 Nov 28, 2023
c895d70
fix error case
olga24912 Nov 28, 2023
749b0cc
remove unses link
olga24912 Nov 28, 2023
7ca6c1a
fix grammer for Consequences, Future possibilities and alternatives
olga24912 Nov 28, 2023
fa332dd
fix grammer in Reference Implementation section
olga24912 Nov 28, 2023
9a70bde
separate common parts
olga24912 Nov 28, 2023
65bbd1f
remove test reference section
olga24912 Nov 28, 2023
01912b7
fix bls12381_decompress_g2 section
olga24912 Nov 28, 2023
43f2026
fix bls12381_decompress_g1 section
olga24912 Nov 28, 2023
4adcbf1
fix pairing check
olga24912 Nov 28, 2023
6ea39ba
map fp to g1
olga24912 Nov 28, 2023
63b7c2d
fix map fp to g2
olga24912 Nov 28, 2023
702adc0
fix g2 multiexp
olga24912 Nov 28, 2023
c616ec3
fix g1 multiexp
olga24912 Nov 28, 2023
0744ff6
fix g2 sum
olga24912 Nov 28, 2023
2442ab9
fix bls12381_g1_sum
olga24912 Nov 29, 2023
bf3e8d8
fix ERROR_CODE
olga24912 Nov 29, 2023
31209ee
fix compressed points on twisted curve
olga24912 Nov 29, 2023
7ac1467
fix Uncompressed points on twisted curve
olga24912 Nov 29, 2023
6278d0a
separate common part
olga24912 Nov 29, 2023
39393a1
compressed points on curve
olga24912 Nov 29, 2023
a287996
fix uncompressed points on curve
olga24912 Nov 29, 2023
4cff959
fix extension Fp2
olga24912 Nov 29, 2023
455bc5c
fix Fp encdoing
olga24912 Nov 29, 2023
b7843b1
fix scalar description
olga24912 Nov 29, 2023
2a9b948
fix sign
olga24912 Nov 29, 2023
f019ad7
map to curve specification
olga24912 Nov 29, 2023
c2cad64
fix summary for BLS specification
olga24912 Nov 29, 2023
7379f18
Pairing section fix
olga24912 Nov 29, 2023
b0a0f93
Generator section fix
olga24912 Nov 29, 2023
35df676
fix twist section
olga24912 Nov 29, 2023
534cd49
fix field extension section
olga24912 Nov 29, 2023
56325a4
fix subgroup section
olga24912 Nov 29, 2023
cdc7484
fix Elliptic Curve section
olga24912 Nov 29, 2023
7667596
fix Motivation section
olga24912 Nov 29, 2023
e5b42f6
map functions take as input arbitary number of elements
olga24912 Nov 30, 2023
9aa6123
separate gas estimation section
olga24912 Nov 30, 2023
0fbd492
separate error cases
olga24912 Nov 30, 2023
809dd19
fix typo
olga24912 Nov 30, 2023
8e0feb9
fix motivation grammer
olga24912 Dec 6, 2023
616fd03
fix bls12381 specification section
olga24912 Dec 6, 2023
c70a134
fix encoding section
olga24912 Dec 6, 2023
f6402c4
fix host functions specidifcations
olga24912 Dec 6, 2023
32798b2
fix Future possibilities and Implementation sections
olga24912 Dec 6, 2023
8ea07da
fix style
olga24912 Dec 12, 2023
5401f53
fix tests list
olga24912 Dec 12, 2023
b279616
fix functions description
olga24912 Dec 12, 2023
b939207
minor fixes
olga24912 Dec 12, 2023
8453fed
fix ERROR_CODE encoding
olga24912 Dec 12, 2023
60edc7f
non constant time comments
olga24912 Dec 21, 2023
d4655c4
Fix the library list
olga24912 Dec 21, 2023
384395b
Specify register id
olga24912 Dec 21, 2023
c9dc82d
Fix encoding bits description
olga24912 Dec 21, 2023
ebbf768
fix reference
olga24912 Dec 21, 2023
83a17d8
remove redundant description
olga24912 Dec 21, 2023
8ebe96e
move general comments up
olga24912 Dec 21, 2023
f9343c8
remove unused register_id in pairing check function
olga24912 Dec 21, 2023
d508b6f
negative numbers explanation
olga24912 Dec 21, 2023
a634505
comments about positive values
olga24912 Dec 21, 2023
6f9d3a4
simplify pairing description
olga24912 Dec 21, 2023
177d508
general encoding comments
olga24912 Dec 28, 2023
ec3e025
support multiplication and addition only for subgroup
olga24912 May 14, 2024
59c7f7f
fix reference
olga24912 May 20, 2024
52f9559
fix formula representation
olga24912 May 20, 2024
60ca005
sum for any point, multiexp only for subgroup
olga24912 May 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading