Skip to content

feat: standard C Interface for BN254 and BLS12-381 operations - #692

Open
mansur20478 wants to merge 10 commits into
feat/zkvm-accelerators-ops-kzgfrom
feat/zkvm-accelerators-ops-addmul
Open

feat: standard C Interface for BN254 and BLS12-381 operations#692
mansur20478 wants to merge 10 commits into
feat/zkvm-accelerators-ops-kzgfrom
feat/zkvm-accelerators-ops-addmul

Conversation

@mansur20478

@mansur20478 mansur20478 commented Jul 29, 2026

Copy link
Copy Markdown

Sixth PR of the zkVM accelerators C interface series: adds

  • zkvm_bn254_g1_add, zkvm_bn254_g1_mul, zkvm_bn254_pairing
  • zkvm_bls12_g1_add, zkvm_bls12_g1_msm, zkvm_bls12_g2_add, zkvm_bls12_g2_msm, zkvm_bls12_pairing

The implementations are separated into two parts:

  • codec.rs - responsible for reading and encoding data
  • mod.rs - operation implementations

zkvm_bls12_map_fp_to_g1 and zkvm_bls12_map_fp2_to_g2 that map Fp/Fp2 to G1/G2 point are implemented in the follow up PR due to their complexity.

towards INT-8940

@mansur20478
mansur20478 marked this pull request as ready for review July 29, 2026 22:53
@mansur20478
mansur20478 requested a review from shuklaayush July 29, 2026 22:58
@mansur20478
mansur20478 force-pushed the feat/zkvm-accelerators-ops-addmul branch from 3daad75 to 651a32f Compare July 30, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant