paritytech / paritytech/fflonk

G1_Affine & Scalar Multiplication Issue

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
31
Forks
16
PR merge metrics
No merged PRs in 30d

Description

https://github.com/w3f/fflonk/blob/26b6e2e15f7fa90eee97ebd039a4146a8dafc695/src/pcs/kzg/mod.rs#L59

Hello, I'm trying to implement the RingVRF in Python,

The Multiplication Result of the parameters 'Proof' (G1 Affine type) with Scalar 'X' here is giving a different Output compared to typical G1 type Point Multiplication of bls12_381 curve's Multiply function which is available in Python's py_ecc.optimized_bls12_381 module, is that different from this multiplication?.

I've tried comparing the results after Affine conversion as well but still it's different from this, even the same happening with Addition operation

I would appreciate if you could consider helping me figuring this out, Thank You.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read src/pcs/kzg/mod.rs at line 59, then compare its G1 affine scalar multiplication and addition with the corresponding operations in Python's py_ecc.optimized_bls12_381 module. Done means identifying whether the differing outputs come from the implementation, representation or comparison method, and documenting a reproducible conclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
cryptography
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.