Need to differentiate between EC and EC_pub