Searched refs:sm2_wanted (Results 1 – 1 of 1) sorted by relevance
375 static int common_check_sm2(const EC_KEY *ec, int sm2_wanted) in common_check_sm2() argument384 || (sm2_wanted ^ (EC_GROUP_get_curve_name(ecg) == NID_sm2))) in common_check_sm2()391 int sm2_wanted) in common_import() argument417 if (!common_check_sm2(ec, sm2_wanted)) in common_import()1368 int sm2_wanted) in common_load() argument1376 if (!common_check_sm2(ec, sm2_wanted)) in common_load()