Lines Matching refs:resp
89 struct wpabuf *resp; in eap_psk_process_1() local
135 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_process_1()
138 if (resp == NULL) in eap_psk_process_1()
140 hdr2 = wpabuf_put(resp, sizeof(*hdr2)); in eap_psk_process_1()
144 wpabuf_put_data(resp, data->id_p, data->id_p_len); in eap_psk_process_1()
149 wpabuf_free(resp); in eap_psk_process_1()
161 wpabuf_free(resp); in eap_psk_process_1()
173 return resp; in eap_psk_process_1()
183 struct wpabuf *resp; in eap_psk_process_3() local
315 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen, in eap_psk_process_3()
317 if (resp == NULL) { in eap_psk_process_3()
321 hdr4 = wpabuf_put(resp, sizeof(*hdr4)); in eap_psk_process_3()
324 rpchannel = wpabuf_put(resp, 4 + 16 + data_len); in eap_psk_process_3()
347 wpabuf_head(resp), in eap_psk_process_3()
351 wpabuf_free(resp); in eap_psk_process_3()
365 return resp; in eap_psk_process_3()
375 struct wpabuf *resp = NULL; in eap_psk_process() local
391 resp = eap_psk_process_1(data, ret, reqData); in eap_psk_process()
394 resp = eap_psk_process_3(data, ret, reqData); in eap_psk_process()
407 return resp; in eap_psk_process()