use a generic EC_KEY structure (EC keys are not ECDSA specific)