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

Add ZSA functionality (upstream) #14

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    35c815d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    731bc10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1e397f View commit details
    Browse the repository at this point in the history
  4. updated naming

    PaulLaux authored and ConstanceBeguier committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    8cfe0ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54697b2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ce262d View commit details
    Browse the repository at this point in the history
  7. Add Point::new_from_constant method (#17)

    It is now possible to create a Point from a constant.
    This functionality is required to evaluate the old nullifier.
    - for non split_notes, nf_old = Extract_P([PRF^{nfOrchard}_{nk}(rho_old) + psi_nf) mod q_P] NullifierK + cm_old)
    - for split notes, nf_old = Extract_P([PRF^{nfOrchard}_{nk}(rho_old) + psi_nf) mod q_P] NullifierK + cm_old + NullifierL)
    ConstanceBeguier committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    475f54d View commit details
    Browse the repository at this point in the history
  8. Optimized short range check on 4 and 5 bits (#21)

    Short range checks on 4 and 5 bits are now performed with only one lookup (instead of 2).
    To do that, we added a column `table_short_range_tag` in the lookup table.
    This new column `table_short_range_tag` contains the value
    - 4 for rows used in short range check on 4 bits
    - 5 for rows used in short range check on 5 bits
    - 0 for rows used in short range check on 10 bits
    
    Disable tests on i686 and code coverage in CI
    ConstanceBeguier committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    4c3c00b View commit details
    Browse the repository at this point in the history
  9. Add multiplexer chip (#23)

    It is now possible to perform a mux between two points or between two non-identity points.
    `mux(choice, left, right)` will return `left` when `choice=0` and `right` when `choice=1`.
    `choice` must be constrained to `{0, 1}` outside the gate.
    
    It is no longer needed to expose `from_coordinates_unchecked`.
    ConstanceBeguier committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    f51eebe View commit details
    Browse the repository at this point in the history
  10. Add functions to evaluate a Sinsemilla hash from an initial private p…

    …oint (#22)
    
    To share ZEC and ZSA hash computations in Orchard circuit's note commitment evaluation, we need to compute a Sinsemille hash from a private input point.
    ConstanceBeguier committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    cba30b1 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Update comments

    ConstanceBeguier committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    87464d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d76d231 View commit details
    Browse the repository at this point in the history
  3. Some minor changes

    ConstanceBeguier committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    ac7a90d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    622875e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f436dc View commit details
    Browse the repository at this point in the history