Give scalars and EC points , calculate such that
Let's first partition each scalar into windows each has bits, then
You can think each scalar as a bignum and representing it as a multi-precision integer with limb size .
Then we have,
By reordering the sums, we get
It means we can calculte the MSM for each window first, then aggregate the results via
Then, let's examine
Because each window has bits, has a value range of . Therefore, we can put points into buckets according to the value of . We can first calculate by,
For example, if and , then we have points, buckets, such that
Therefore,
https://www.notamonadtutorial.com/multiscalar-multiplication-strategies-and-challenges/
msm
zkp
public