Lines Matching refs:identifier

44 				pkex->code_len, pkex->identifier, &ec);  in dpp_pkex_build_exchange_req()
84 if (pkex->identifier) in dpp_pkex_build_exchange_req()
85 attr_len += 4 + os_strlen(pkex->identifier); in dpp_pkex_build_exchange_req()
118 if (pkex->identifier) { in dpp_pkex_build_exchange_req()
120 wpabuf_put_le16(msg, os_strlen(pkex->identifier)); in dpp_pkex_build_exchange_req()
121 wpabuf_put_str(msg, pkex->identifier); in dpp_pkex_build_exchange_req()
175 const char *identifier, const char *code, in dpp_pkex_init() argument
196 if (identifier) { in dpp_pkex_init()
197 pkex->identifier = os_strdup(identifier); in dpp_pkex_init()
198 if (!pkex->identifier) in dpp_pkex_init()
231 if (pkex->identifier) in dpp_pkex_build_exchange_resp()
232 attr_len += 4 + os_strlen(pkex->identifier); in dpp_pkex_build_exchange_resp()
267 if (pkex->identifier) { in dpp_pkex_build_exchange_resp()
269 wpabuf_put_le16(msg, os_strlen(pkex->identifier)); in dpp_pkex_build_exchange_resp()
270 wpabuf_put_str(msg, pkex->identifier); in dpp_pkex_build_exchange_resp()
316 const char *identifier) in dpp_pkex_identifier_match() argument
318 if (!attr_id && identifier) { in dpp_pkex_identifier_match()
324 if (attr_id && !identifier) { in dpp_pkex_identifier_match()
330 if (attr_id && identifier && in dpp_pkex_identifier_match()
331 (os_strlen(identifier) != attr_id_len || in dpp_pkex_identifier_match()
332 os_memcmp(identifier, attr_id, attr_id_len) != 0)) { in dpp_pkex_identifier_match()
345 const char *identifier, in dpp_pkex_rx_exchange_req() argument
403 if (!dpp_pkex_identifier_match(attr_id, attr_id_len, identifier)) in dpp_pkex_rx_exchange_req()
444 identifier, &ec); in dpp_pkex_rx_exchange_req()
478 if (identifier) { in dpp_pkex_rx_exchange_req()
479 pkex->identifier = os_strdup(identifier); in dpp_pkex_rx_exchange_req()
480 if (!pkex->identifier) in dpp_pkex_rx_exchange_req()
503 identifier, NULL); in dpp_pkex_rx_exchange_req()
784 pkex->identifier)) { in dpp_pkex_rx_exchange_resp()
799 pkex->code, pkex->code_len, pkex->identifier, in dpp_pkex_rx_exchange_resp()
1379 os_free(pkex->identifier); in dpp_pkex_free()