Searched refs:nbuf (Results 1 – 8 of 8) sorted by relevance
/hostap-latest/src/utils/ |
D | wpabuf.c | 70 unsigned char *nbuf; in wpabuf_resize() local 72 nbuf = os_realloc(buf->buf, buf->used + add_len); in wpabuf_resize() 73 if (nbuf == NULL) in wpabuf_resize() 75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize() 76 buf->buf = nbuf; in wpabuf_resize() 79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize() 82 if (nbuf == NULL) in wpabuf_resize() 84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize() 86 os_memset(nbuf + sizeof(struct wpabuf_trace) + in wpabuf_resize() 90 nbuf = os_realloc(buf, sizeof(struct wpabuf) + in wpabuf_resize() [all …]
|
/hostap-latest/src/eap_server/ |
D | eap_server_ttls.c | 1054 char *nbuf; in eap_ttls_process_phase2() local 1055 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2() 1056 if (nbuf) { in eap_ttls_process_phase2() 1057 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2() 1060 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2() 1061 os_free(nbuf); in eap_ttls_process_phase2()
|
D | eap_server_peap.c | 1144 struct wpabuf *nbuf = in eap_peap_process_phase2() local 1147 if (nbuf == NULL) { in eap_peap_process_phase2() 1153 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1158 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1161 in_decrypted = nbuf; in eap_peap_process_phase2()
|
/hostap-latest/src/eap_peer/ |
D | eap_teap_pac.c | 494 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_teap_write() local 496 if (!nbuf) { in eap_teap_write() 501 *pos = nbuf + (*pos - *buf); in eap_teap_write() 502 *buf = nbuf; in eap_teap_write()
|
D | eap_fast_pac.c | 494 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_fast_write() local 495 if (nbuf == NULL) { in eap_fast_write() 500 *pos = nbuf + (*pos - *buf); in eap_fast_write() 501 *buf = nbuf; in eap_fast_write()
|
/hostap-latest/src/ap/ |
D | sta_info.c | 1381 u8 *trans_id, *nbuf; in ap_sa_query_timer() local 1393 nbuf = os_realloc_array(sta->sa_query_trans_id, in ap_sa_query_timer() 1396 if (nbuf == NULL) in ap_sa_query_timer() 1402 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in ap_sa_query_timer() 1403 sta->sa_query_trans_id = nbuf; in ap_sa_query_timer()
|
D | wpa_auth_ft.c | 2664 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2672 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies() 2673 if (nbuf == NULL) { in wpa_sm_write_assoc_resp_ies() 2678 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2686 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2695 nbuf = os_realloc(subelem, subelem_len + bigtk_len); in wpa_sm_write_assoc_resp_ies() 2696 if (!nbuf) { in wpa_sm_write_assoc_resp_ies() 2701 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2709 u8 *nbuf, *ocipos; in wpa_sm_write_assoc_resp_ies() local 2728 nbuf = os_realloc(subelem, subelem_len); in wpa_sm_write_assoc_resp_ies() [all …]
|
/hostap-latest/wpa_supplicant/ |
D | sme.c | 3431 u8 *trans_id, *nbuf; in sme_sa_query_timer() local 3437 nbuf = os_realloc_array(wpa_s->sme.sa_query_trans_id, in sme_sa_query_timer() 3440 if (nbuf == NULL) { in sme_sa_query_timer() 3448 trans_id = nbuf + wpa_s->sme.sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in sme_sa_query_timer() 3449 wpa_s->sme.sa_query_trans_id = nbuf; in sme_sa_query_timer()
|