This extends secp256k1_multi
to support arbitrary numbers of input points.
Features:
- Any point can be infinity (resulting in it being ignored).
- The G factor can be NULL.
- Will split into batches of a maximum size and combine them.
- Uses effective affine addition across all inputs, and to build the odd-multiples tables.
- Supports endomorphism (TODO: figure out up to what size it is worth it).
- Uses Strauss’ algorithm to only do 255 doublings (129 with endomorphism) in each batch.