Skip to main content

Module scalar_mul

Module scalar_mul 

Source

Constants§

MSM_WINDOW
Optimal Straus window size (in bits) for secp256k1 multi-scalar multiplications; see msm_strauss_endo.

Functions§

msm_strauss_endo
Compute a multi-scalar multiplication Σ_i scalars[i] · points[i] over secp256k1 using the fixed-window (Straus) algorithm combined with the GLV endomorphism.
scalar_mul
Compute scalar multiplication point * scalar using the secp256k1 endomorphism optimization.