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

refac: improve pcs interface #225

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    ff48a92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3005b8 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. refac: enable TranscriptRead|Writer to choose transcript writing

    This is needed by improving PCS interface.
    chokobole committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    5efe19b View commit details
    Browse the repository at this point in the history
  2. refac: refactor transcript and organize commitment schemes

    This commit solves 2 problems.
    
    1. `Transcript` was only able to handle field or curve point.
       Since proof and hash algorithm can take arbitrary types, this limitation is
       overcame.
    
    2. The interfaces of `VectorCommitmentScheme` and
       `UnivariatePolynomialCommitmentScheme` are organized.
    
       When committing, the cases are divided into 3 cases.
    
       - non interactive: e.g, SHPlonk, MerkleTree
       - non interactive with random: e.g, Pedersen
       - interactive: e.g, FRI
    
      When opening, the cases are divided into 2 cases.
    
      - non interactive: e.g, MerkleTree
      - interactive: e.g, SHPlonk and FRI
    
      When verifying, the cases are divided into 2 cases.
    
      - both committing and opening is non interactive: e.g, MerkleTree
      - either committing or opening is interative: e.g, SHPlonk and FRI
    chokobole committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    5b9fadb View commit details
    Browse the repository at this point in the history