ec_curve_type
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_params_by_type(ec_curve_type ec_type,
ec_curve_type *ec_type);
ATTRIBUTE_WARN_UNUSED_RET int ec_get_curve_name_by_type(const ec_curve_type ec_type, u8 *out, u8 outlen);
ATTRIBUTE_WARN_UNUSED_RET int ec_check_curve_type_and_name(const ec_curve_type ec_type,
ec_curve_type type;
ec_curve_type curve_type;
ec_curve_type *ec_type)
int ec_get_curve_name_by_type(const ec_curve_type ec_type, u8 *out, u8 outlen)
int ec_check_curve_type_and_name(const ec_curve_type ec_type,
int ec_get_curve_params_by_type(ec_curve_type ec_type,
ec_curve_type curve_type;
ret = ec_check_curve_type_and_name((ec_curve_type) (priv_key_buf[2]),
ec_curve_type curve_type;
ret = ec_check_curve_type_and_name((ec_curve_type) (pub_key_buf[2]),
ec_curve_type curve_type;
ret = ec_check_curve_type_and_name((ec_curve_type) (priv_key_buf[2]),
ec_curve_type curve_type)
ret = ec_get_curve_name_by_type((ec_curve_type) out_buf[2],
ec_curve_type curve_type;
ec_curve_type ctype;
ec_curve_type ctype;