Searched refs:nbuf (Results 1 – 8 of 8) sorted by relevance
/hostap-3.6.0/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-3.6.0/src/eap_server/ |
D | eap_server_ttls.c | 1053 char *nbuf; in eap_ttls_process_phase2() local 1054 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2() 1055 if (nbuf) { in eap_ttls_process_phase2() 1056 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2() 1059 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2() 1060 os_free(nbuf); in eap_ttls_process_phase2()
|
D | eap_server_peap.c | 1126 struct wpabuf *nbuf = in eap_peap_process_phase2() local 1129 if (nbuf == NULL) { in eap_peap_process_phase2() 1135 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1140 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1143 in_decrypted = nbuf; in eap_peap_process_phase2()
|
/hostap-3.6.0/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-3.6.0/src/ap/ |
D | sta_info.c | 1175 u8 *trans_id, *nbuf; in ap_sa_query_timer() local 1187 nbuf = os_realloc_array(sta->sa_query_trans_id, in ap_sa_query_timer() 1190 if (nbuf == NULL) in ap_sa_query_timer() 1196 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in ap_sa_query_timer() 1197 sta->sa_query_trans_id = nbuf; in ap_sa_query_timer()
|
D | wpa_auth_ft.c | 2613 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2621 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies() 2622 if (nbuf == NULL) { in wpa_sm_write_assoc_resp_ies() 2627 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2635 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2644 nbuf = os_realloc(subelem, subelem_len + bigtk_len); in wpa_sm_write_assoc_resp_ies() 2645 if (!nbuf) { in wpa_sm_write_assoc_resp_ies() 2650 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2658 u8 *nbuf, *ocipos; in wpa_sm_write_assoc_resp_ies() local 2677 nbuf = os_realloc(subelem, subelem_len); in wpa_sm_write_assoc_resp_ies() [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | sme.c | 2711 u8 *trans_id, *nbuf; in sme_sa_query_timer() local 2717 nbuf = os_realloc_array(wpa_s->sme.sa_query_trans_id, in sme_sa_query_timer() 2720 if (nbuf == NULL) { in sme_sa_query_timer() 2728 trans_id = nbuf + wpa_s->sme.sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in sme_sa_query_timer() 2729 wpa_s->sme.sa_query_trans_id = nbuf; in sme_sa_query_timer()
|