Lines Matching defs:alen
244 u16 alen;
263 alen = WPA_GET_BE16(pos);
265 if (end - pos < alen) {
272 data->id_peer = os_malloc(alen);
275 "%d-octet ID_Peer", alen);
278 os_memcpy(data->id_peer, pos, alen);
279 data->id_peer_len = alen;
282 pos += alen;
290 alen = WPA_GET_BE16(pos);
292 if (end - pos < alen) {
298 if (alen != sm->server_id_len ||
299 os_memcmp(pos, sm->server_id, alen) != 0) {
305 pos += alen;
342 alen = WPA_GET_BE16(pos);
344 if (end - pos < alen) {
350 if (alen != data->csuite_count * sizeof(struct eap_gpsk_csuite) ||
351 os_memcmp(pos, data->csuite_list, alen) != 0) {
357 pos += alen;
391 alen = WPA_GET_BE16(pos);
393 if (end - pos < alen) {
399 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: PD_Payload_1", pos, alen);
400 pos += alen;
477 u16 alen;
495 alen = WPA_GET_BE16(pos);
497 if (end - pos < alen) {
503 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: PD_Payload_1", pos, alen);
504 pos += alen;