algebra
algebra copied to clipboard
Add GLV-based scalar multiplication for appropriate curves.
We can obtain upto 30% speed ups for scalar multiplication by implementing a GLV-type endomorphism. See Section 3.5 (Pg 123) of http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.394.3037&rep=rep1&type=pdf
I think it still falls in patents US7110538B2 and US7995752B2 until September 2020.
We can add it behind a feature until then =)
I know this applies to the BN curves (as long as p = 1 mod 3) and the to-be-implemented BW6-761 curve. Which other curves does this apply to?
I believe a more modern reference for pairing-friendly curves would be link
Actually the speedup can be more than 30% especially if using w-NAF, it is more like 80% over the w-NAF base case. Together, one achieves a more than 2x speedup.