Skip to content

refactor: kzg and polynomial commitment interfaces#63

Merged
gbotrel merged 14 commits intodevelopfrom
feat/kzg_update
Jun 22, 2021
Merged

refactor: kzg and polynomial commitment interfaces#63
gbotrel merged 14 commits intodevelopfrom
feat/kzg_update

Conversation

@gbotrel
Copy link
Copy Markdown
Collaborator

@gbotrel gbotrel commented Jun 16, 2021

This PR removes polynomial/commitment.go and polynomial/polynomial.go interfaces.

KZG is now strongly typed per curve under ./ecc/curve/fr/kzg .

KZG structure has two elements: a fft domain and a SRS.

In a non-test environment, the SRS will be deserialized once (result of MPC) and shared accros KZG instances. Hence, this PR introduce kzg.SRS.

@gbotrel gbotrel requested a review from ThomasPiellard June 16, 2021 18:01
@gbotrel gbotrel merged commit c4dd88a into develop Jun 22, 2021
@gbotrel gbotrel deleted the feat/kzg_update branch June 22, 2021 19:50
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.

2 participants