pub unsafe extern "C" fn sm2_key_generate(key: *mut SM2_KEY) -> c_int