[][src]Function yogcrypt::sm2::get_pub_key

pub fn get_pub_key(d: SecKey) -> PubKey

Compute public key from secret key

By definition public key is computed by pk = [sk] G, where G is the base point.