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

[feat] v0.6.1 from upstream (cyclone MSM) #27

Merged
merged 5 commits into from
Apr 24, 2024
Merged

Commits on Apr 19, 2024

  1. change: Move from maybe_rayon to rayon-1.8 (privacy-scaling-explo…

    …rations#122)
    
    * change: Move from `maybe_rayon` to `rayon-1.8`
    
    After seeing the issues with WASM that the last release (`0.5.0`) of
    this crate made, the idea is to now control the compatibility with WASM
    while at the same time, making it easy to handle.
    
    In this line of work, the idea was to simply do the following:
    - Use `rayon 1.8` as a dependency for paralellism which fixes the WASM
      compat issues with `multicore`-related things. See: rayon-rs/rayon#1019
      thanks @han0110 for the suggestion.
    - Use conditional dev-dependency loading for `getrandom` such that we
      can compile the lib for WASM-targets in the CI without needing to have
      the dependency being pulled downstream.
    - The `multicore` module is gone, and the rest of the code has been
      refactored since the "fallback" is now handled by rayon itself.
    
    * change: Update CI to account for WASM compat
    
    * chore: Add paralellism section to README
    
    * chore: Fix CI missing "
    
    * chore:  Split WASM build & add targets
    
    * chore: Test all features for regular-target  builds
    
    * chore: Address review nits
    CPerezz authored and jonathanpwang committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    58156ec View commit details
    Browse the repository at this point in the history
  2. Implement CIOS for ARM F::mul (privacy-scaling-explorations#134)

    * impl CIOS
    
    * more details
    
    * add Fast CIOS for bn256
    
    * rolled Fast CIOS
    
    * clean comment
    
    * geq for last line in bigint_geq
    
    * update comment to include WORD_SIZE
    
    * mod in montomgery
    
    * cargo fmt
    
    * cargo clippy
    
    ---------
    
    Co-authored-by: sragss <[email protected]>
    2 people authored and jonathanpwang committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    c81e4bd View commit details
    Browse the repository at this point in the history
  3. MSM optimisations: CycloneMSM (privacy-scaling-explorations#130)

    * impl msm with batch addition
    
    * bring back multiexp serial
    
    * parallelize coeffs to repr
    
    Co-authored-by: Han <[email protected]>
    
    * parallelize bases to affine
    
    Co-authored-by: Han <[email protected]>
    
    * add missing dependency
    
    * bring back old implementation
    
    postfix new one as `_independent_points`
    
    ---------
    
    Co-authored-by: Han <[email protected]>
    2 people authored and jonathanpwang committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    67b3f3b View commit details
    Browse the repository at this point in the history
  4. bump: v0.6.1

    jonathanpwang committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    bb6c86d View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

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