Lines Matching refs:wpabuf_len
178 if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN ||
180 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN)
183 tmp = os_malloc(wpabuf_len(req));
188 len[0] = wpabuf_len(req);
193 os_memcpy(tmp, wpabuf_head(req), wpabuf_len(req));
196 tmp, wpabuf_len(req));
373 if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN ||
375 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN)
378 tmp = os_malloc(wpabuf_len(req));
383 len[0] = wpabuf_len(req);
388 os_memcpy(tmp, wpabuf_head(req), wpabuf_len(req));
391 tmp, wpabuf_len(req));
1024 eap->length = host_to_be16(wpabuf_len(msg->buf));
1029 wpabuf_len(msg->buf),
1036 wpabuf_len(msg->buf),
1148 encr_len = wpabuf_len(msg->buf) - msg->encr - 4;