-
Notifications
You must be signed in to change notification settings - Fork 180
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
[WIP]: Add bn256 #3795
[WIP]: Add bn256 #3795
Conversation
@4ever9 Thank you for the PR and your contribution! Meanwhile, it would be great to add a PR description summarizing the code changes and especially the motivation behind adding BLS on bn256. In particular, I am curious what would be the use case of BLS with this curve, and if this use case isn't impacted by its security level being strictly smaller than 128 bits (more details here : https://moderncrypto.org/mail-archive/curves/2016/000740.html) |
@tarakby Thx for your reply. I am a developer from MAP Protocol. We have received a grant from dapper labs to build an cross-chain infrastructure for Flow. Since then We have been working on the plan and have submitted this PR for Flow team to review. |
Thanks for the info.
|
1c598b4
to
a4c6d9c
Compare
@tarakby
|
Hi @4ever9, apologies for the late reply.
bn254 and bn256 are both belonging to the same BN family, however:
From my understanding, the MAP protocol design requires bn254, while this PR implements bn256.
Some platforms supported these curves when they were known to be secure enough. Once, the security reduction was discovered, these platforms did not deprecate the curves yet. I can understand that moving away from some tools may take time (even though I think security related topics should be addressed quickly). |
Hi @4ever9, I'm getting back to you regarding the point (3) above. The Flow team thinks it makes sense to support the
Curious to hear your thoughts on this, and also on the points (1) and (2) from my previous message. |
Closing since the PR is stale. |
#4006