Struct ECPointG
tiny_secp256k1
pub struct ECPointG { /* fields omitted */ }
impl ECPointG
fn new() -> Self
This can be very expensive and should be performed only once. Ideally this would be memoized (using lazy_static or otherwise), however no_std makes that difficult, and using static would bloat up the WASM binary size.
fn mul(&self, num: &mut BigNum) -> ECPoint