poly-commit icon indicating copy to clipboard operation
poly-commit copied to clipboard

Fast amortized KZG commitments

Open joebebel opened this issue 4 years ago • 4 comments

Description

This is an implementation of fast amortized KZG commitments with additional details from here and here and here

Definitely a "work in progress" but early-stage review, feedback, critique is appreciated.

joebebel avatar May 04 '21 10:05 joebebel

Thanks for the PR! Left some comments

Pratyush avatar May 04 '21 22:05 Pratyush

I added more comments to the SubproductDomain algorithms

joebebel avatar May 13 '21 00:05 joebebel

this looks great, modulo the nits and the bug fix!

Pratyush avatar May 28 '21 21:05 Pratyush

I stumble onto this stale PR yesterday, for those who want to use this FK23 today(Fast amortized KZG https://eprint.iacr.org/2023/033.pdf), we have an implementation in Jellyfish library. (relevant PR: initial work, follow-up refactor)

Essentially, you can go to: jellyfish/primitives/pcs/univariate_kzg/mod.rs::UnivariateKzgPCS::multi_open() for general multi-points opening, and the multi_open_rou_*() APIs in the same file that are specialized for roots of unity (faster)

Of independent interest, you can find

(we are open-sourced under permissive license, so feel free to grab whichever subcomponent you find useful.)

alxiong avatar May 25 '23 15:05 alxiong