Lines Matching refs:wpabuf_len
117 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf));
127 tlv->length = host_to_be16(wpabuf_len(buf));
253 req_len = wpabuf_len(buf);
284 buf = eap_msg_alloc(EAP_VENDOR_MICROSOFT, 0x21, wpabuf_len(buf1),
294 req_len = wpabuf_len(buf);
382 mlen += wpabuf_len(data->soh_response);
923 if (wpabuf_len(in_data) > sizeof(*hdr) && *pos == EAP_TYPE_NAK) {
924 left = wpabuf_len(in_data) - sizeof(*hdr);
1038 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1069 wpabuf_len(in_decrypted));
1080 wpabuf_len(in_decrypted));
1089 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) {
1103 wpabuf_len(in_decrypted)) {
1129 if (wpabuf_len(in_decrypted) < (int) sizeof(*hdr)) {
1132 (unsigned long) wpabuf_len(in_decrypted));
1138 if (len > wpabuf_len(in_decrypted)) {
1141 (unsigned long) wpabuf_len(in_decrypted),
1210 if (wpabuf_resize(&data->ssl.tls_out, wpabuf_len(buf)) < 0) {