Related eBooks

libsecp256k1 has two implementations, secp256k1_ecmult in ecmult.h and secp256k1_ecmult_gen in ecmult_gen.h, to multiply the points of an elliptic curve.

secp256k1_ecmult_gen supports simple multiplication such as a*G and 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 eckey_impl.h#secp256k1_eckey_pubkey_tweak_mul.

How should these two functions be used properly? Is there any difference in the performance?

source

By pplny

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Translate »