Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmanuelSegol committed Feb 1, 2024
1 parent b0bc8ea commit ce85dc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/icicle/primitives/msm.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ msm::msm(&scalars, &points, &cfg, &mut msm_results).unwrap();
```




#### support for G2 group
## support for G2 group

MSM also supports G2 group.

Expand All @@ -139,6 +137,8 @@ let mut g2_msm_results: HostOrDeviceSlice<'_, G2Projective> = HostOrDeviceSlice:
let mut g2_cfg = msm::get_default_msm_config::<G2CurveCfg>();

msm::msm(&scalars, &g2_points, &g2_cfg, &mut g2_msm_results).unwrap();

...
```

Here you can [find an example](https://github.com/ingonyama-zk/icicle/blob/5a96f9937d0a7176d88c766bd3ef2062b0c26c37/examples/rust/msm/src/main.rs#L114) of MSM on G2 Points.

0 comments on commit ce85dc5

Please sign in to comment.