rewrite ec_pubkey_create to take curve_id and (un)compressed form