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);
283 buf = eap_msg_alloc(EAP_VENDOR_MICROSOFT, 0x21, wpabuf_len(buf1),
293 req_len = wpabuf_len(buf);
380 len += wpabuf_len(data->soh_response);
454 wpabuf_len(buf));
921 if (wpabuf_len(in_data) > sizeof(*hdr) && *pos == EAP_TYPE_NAK) {
922 left = wpabuf_len(in_data) - sizeof(*hdr);
1039 in_len = wpabuf_len(in_buf);
1093 wpabuf_len(in_decrypted));
1104 wpabuf_len(in_decrypted));
1113 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) {
1127 wpabuf_len(in_decrypted)) {
1153 if (wpabuf_len(in_decrypted) < (int) sizeof(*hdr)) {
1156 (unsigned long) wpabuf_len(in_decrypted));
1162 if (len > wpabuf_len(in_decrypted)) {
1165 (unsigned long) wpabuf_len(in_decrypted),
1228 wpabuf_head(buf2), wpabuf_len(buf2),
1245 if (wpabuf_resize(&data->ssl.out_buf, wpabuf_len(buf)) < 0) {