Skip to content

Commit

Permalink
BLS12-381 curve operations (#2537)
Browse files Browse the repository at this point in the history
* draft

* Update eip-x.md

* add ABI

* also mention encoding of boolean vars in pairing

* add point decompression

* fix decompression, add gas price

* expand on square root extraction and checks

* Cleanup title

* Fix typo and remove optional header fields

* set EIP number

* hm, html verifier is not satisfied...

* update on ABI, costs and subgroup checks

* add more information about field-to-curve

* add links to implementations

* spellcheck

* mapping costs are underetmined yet

* add mapping operations cost

* whoops, spellcheck!

* updates: test vectors, prefixes

* more explicit pairing output

* gas consumption in case of error

* fix multiplication -> multiexp

* split mapping into two separate ones

* spellcheck

* update link to Go implementation

* add addresses

Co-authored-by: Kobi Gurkan <[email protected]>
  • Loading branch information
shamatar and kobigurk authored Jun 1, 2020
1 parent e8accf2 commit 5edff4a
Showing 1 changed file with 324 additions and 0 deletions.
Loading

0 comments on commit 5edff4a

Please sign in to comment.