Lines Matching refs:len
19 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len)
23 hdr.len = host_to_be16(len);
29 u16 len)
31 eap_fast_put_tlv_hdr(buf, type, len);
32 wpabuf_put_data(buf, data, len);
97 const char *label, size_t len)
101 out = os_malloc(len);
105 if (tls_connection_prf(ssl_ctx, conn, label, 1, 1, out, len)) {
146 int tlv_type, u8 *pos, size_t len)
151 pos, len);
159 tlv->eap_payload_tlv_len = len;
162 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: Result TLV", pos, len);
169 if (len < 2) {
188 pos, len);
189 if (len < 2) {
214 pos, len);
221 tlv->crypto_binding_len = sizeof(struct eap_tlv_hdr) + len;
233 pos, len);
240 if (len < 2) {
251 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: PAC TLV", pos, len);
259 tlv->pac_len = len;