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

Add new BLS host function support and switch to affine #252

Merged
merged 6 commits into from
Dec 2, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Dec 1, 2023

Removes host functions:

  • bls_g1_mul
  • bls_g2_mul
  • bls_g1_exp
  • bls_g2_exp

Adds host functions:

  • bls_g1_weighted_sum
  • bls_g2_weighted_sum
  • bls_fp_mul
  • bls_fp_exp

All bls host functions modified to accept and return affine little endian form.

Corresponds to AntelopeIO/leap#1882

Resolves #251

@heifner heifner requested review from linh2931 and greg7mdp December 1, 2023 21:16
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
libraries/eosiolib/core/eosio/crypto_bls_ext.hpp Outdated Show resolved Hide resolved
@heifner heifner merged commit 122ff08 into main Dec 2, 2023
6 checks passed
@heifner heifner deleted the GH-251-bls-host-functions branch December 2, 2023 19:17
@heifner heifner added the OCI Work exclusive to OCI team label Dec 7, 2023
@ericpassmore
Copy link
Contributor

Note:start
group: FEATURE
category: INTERNALS
summary: Add new BLS host function support and switch to affine.
Note:end

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

Successfully merging this pull request may close these issues.

Update BLS wrappers to support new/changes BLS host functions
4 participants