https://github.com/bitcoin/secp256k1/blob/master/src/group.h#L37
Particularly being able to access the generator point is useful.
https://github.com/bitcoin/secp256k1/blob/master/src/group.h#L37
Particularly being able to access the generator point is useful.
Can you explain why its useful?
It might be the case that eventually the library has no reason to internally have the generator represented in a 'typical' friendly form. If you wish to use the generator for multiplication with a scalar then having the generator in a special precomputed form is important for performance, and necessary for the implementation of a multiply that doesn't have a timing side-channel.
Well as long as there is a function to multiply by the generator point and get the result somehow. i.e new signature schemes in Bitcoin, HD keys or stealth addresses all need this ability.
Sure, thats how you generate a public key from a private key.
https://github.com/bitcoin/secp256k1/blob/master/include/secp256k1.h#L101 int secp256k1_ecdsa_pubkey_create(unsigned char *pubkey, int *pubkeylen, const unsigned char *seckey, int compressed);
right.