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

Verify a BLS signature inside the contract #205

Closed
11 tasks done
Tracked by #190
philippecamacho opened this issue Feb 8, 2023 · 4 comments · Fixed by #292
Closed
11 tasks done
Tracked by #190

Verify a BLS signature inside the contract #205

philippecamacho opened this issue Feb 8, 2023 · 4 comments · Fixed by #292

Comments

@philippecamacho
Copy link
Contributor

philippecamacho commented Feb 8, 2023

  • Hash to group
    • hash to field
      • expand function
      • convert uniform bytes into field element
        • split bytes in two chunks
        • field_elem_from_random_bytes
        • process extra bytes
    • hash and pray algorithm
  • bilinear check
  • Merge PR Minor changes to support BLS signature verification inside a smart contract jellyfish#242 in Jellyfish as we need to access the internal field of Signature and also slightly change the logic of the hash_to_curve function.
  • Cleanup and document code.
@philippecamacho
Copy link
Contributor Author

philippecamacho commented Mar 16, 2023

Documentation

@philippecamacho
Copy link
Contributor Author

We use https://datatracker.ietf.org/doc/pdf/draft-irtf-cfrg-bls-signature-05 in our Jellyfish implementation.

@philippecamacho
Copy link
Contributor Author

Blocked by EspressoSystems/jellyfish#218

@philippecamacho
Copy link
Contributor Author

Gas comsumption for BLS verification: https://hackmd.io/@liangcc/bls-solidity#Gas-Consumption

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants