prysmaticlabs / go-bls

DEPRECATED. Go wrapper for a BLS12-381 Signature Aggregation implementation in C++
BSD 3-Clause "New" or "Revised" License
14 stars 12 forks source link

Optimize Miller Loop to Compute a Fixed P in G1 #17

Closed rauljordan closed 5 years ago

rauljordan commented 5 years ago

Hi all,

Given Ethereum Serenity desires Signatures to live in G2 while public keys will live in G1, we need to swap the roles of the groups in the https://github.com/herumi/mcl repo. Herumi already supports this swap by building the project with make BLS_SWAP_G=1 but it is not as efficient as MCL, in the words of herumi:

The current mcl supports only precomputing Miller loop for a fixed Q in G2.
It is a hard task to make the function for a fixed P in G1.
But it is not so hard to support to swap G1 and G2 unless using the optimized Miller loop.

A successful bounty for this would submit a PR to the MCL repository supporting a precomputed miller loop for a fixed P in G1.

rauljordan commented 5 years ago

This will then allow #16 to be efficient and useful for any go projects using this repo

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 300.0 DAI (300.0 USD @ $1.0/DAI) attached to it as part of the Ethereum Foundation fund.

mortdeus commented 5 years ago

im going to go ahead and start working on these two bounties.

prestonvanloon commented 5 years ago

Assigning to @mortdeus, after discussion in discord. It seems they fully understand the problem and are able to resolve it. Thanks!

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

mortdeus commented 5 years ago

im still working on this.

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mortdeus due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

mortdeus commented 5 years ago

im working on the code here. https://github.com/mortdeus/bls

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

@mortdeus Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mortdeus due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mortdeus due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

rauljordan commented 5 years ago

Closing for same reason as #16