Skip to content

Different choices of curve for emulated element definition and compilation #375

Closed Answered by ivokub
maoudia-via asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @maoudia-via, I would say there are three main criteria between choosing different curves:

  • compatibility - sometimes the underlying curve is defined by other systems. For example, Ethereum only provides native bn254 operations. You could possibly implement full arithmetic for the other curves, but it would be too prohibitive gas-cost wise. There is hope that BLS12-381 will be also supported in the future, but not standardised yet.
  • security -- different curves provide different security level. You normally want to have security level comparable to brute-forcing AES128 (i.e. 2^128 ops). BN254 doesn't provide it anymore, some curves way exceed it.
  • recursion -- some curves have a nice pro…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maoudia-via
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants