add function for computing pubkey and compressed pubkey at the same time