Lines Matching refs:igtk_len
2313 size_t igtk_len; in wpa_ft_igtk_subelem() local
2324 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher); in wpa_ft_igtk_subelem()
2328 subelem_len = 1 + 1 + 2 + 6 + 1 + igtk_len + 8; in wpa_ft_igtk_subelem()
2340 *pos++ = igtk_len; in wpa_ft_igtk_subelem()
2347 if (random_get_bytes(stub_igtk, igtk_len / 8) < 0) { in wpa_ft_igtk_subelem()
2353 if (aes_wrap(kek, kek_len, igtk_len / 8, igtk, pos)) { in wpa_ft_igtk_subelem()
2663 size_t igtk_len; in wpa_sm_write_assoc_resp_ies() local
2665 igtk = wpa_ft_igtk_subelem(sm, &igtk_len); in wpa_sm_write_assoc_resp_ies()
2672 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies()
2679 os_memcpy(subelem + subelem_len, igtk, igtk_len); in wpa_sm_write_assoc_resp_ies()
2680 subelem_len += igtk_len; in wpa_sm_write_assoc_resp_ies()