Searched refs:user_info (Results 1 – 3 of 3) sorted by relevance
72 struct hc_user_info user_info; in IsTrustPeerFuzz() local73 user_info.auth_id = selfId; in IsTrustPeerFuzz()74 user_info.user_type = type % 2; /* 2 : total branch */ in IsTrustPeerFuzz()75 is_trust_peer(handle, &user_info); in IsTrustPeerFuzz()
63 static int32_t check_auth_info(const struct hc_user_info *user_info);289 if (check_auth_info(user_info) != HC_OK) { in delete_local_auth_info()319 enum huks_key_alias_type alias_type = (user_info->user_type == HC_USER_TYPE_ACCESSORY ? in delete_local_auth_info()340 DLL_API_PUBLIC int32_t is_trust_peer(hc_handle handle, struct hc_user_info *user_info) in is_trust_peer() argument344 if (check_auth_info(user_info) != HC_OK) { in is_trust_peer()355 enum huks_key_alias_type alias_type = (user_info->user_type == HC_USER_TYPE_ACCESSORY ? in is_trust_peer()838 static int32_t check_auth_info(const struct hc_user_info *user_info) in check_auth_info() argument840 check_ptr_return_val(user_info, HC_INPUT_ERROR); in check_auth_info()841 if (user_info->auth_id.length > HC_AUTH_ID_BUFF_LEN) { in check_auth_info()845 …if ((user_info->user_type != HC_USER_TYPE_CONTROLLER) && (user_info->user_type != HC_USER_TYPE_ACC… in check_auth_info()[all …]
340 DLL_API_PUBLIC int32_t delete_local_auth_info(hc_handle handle, struct hc_user_info *user_info);373 int32_t delete_local_auth_info(hc_handle handle, struct hc_user_info *user_info);382 DLL_API_PUBLIC int32_t is_trust_peer(hc_handle handle, struct hc_user_info *user_info);