libsecp256k1 has two implementations,
ecmult_gen.h, to multiply the points of an elliptic curve.
secp256k1_ecmult_gen supports simple multiplication such as
secp256k1_ecmult supports multiplication involving addition such as
a*P + bG. However,
secp256k1_ecmult can be used for simple multiplication by setting
b=0, actually, it is used as such in
How should these two functions be used properly? Is there any difference in the performance?