Home
last modified time | relevance | path

Searched refs:gtk_len (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c706 int gtk_len; member
717 wpa_hexdump_key(MSG_DEBUG, "WPA: Group Key", gd->gtk, gd->gtk_len); in wpa_supplicant_install_gtk()
720 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
732 _gtk, gd->gtk_len) < 0) { in wpa_supplicant_install_gtk()
741 _gtk, gd->gtk_len) < 0) { in wpa_supplicant_install_gtk()
745 gd->alg, gd->gtk_len, gd->keyidx); in wpa_supplicant_install_gtk()
805 const u8 *gtk, size_t gtk_len, in wpa_supplicant_pairwise_gtk() argument
821 gtk, gtk_len); in wpa_supplicant_pairwise_gtk()
823 if (gtk_len < 2 || gtk_len - 2 > sizeof(gd.gtk)) in wpa_supplicant_pairwise_gtk()
830 gtk_len -= 2; in wpa_supplicant_pairwise_gtk()
[all …]
Dwpa_ft.c545 size_t gtk_len, keylen, rsc_len; in wpa_ft_process_gtk_subelem() local
561 gtk_len = gtk_elem_len - 19; in wpa_ft_process_gtk_subelem()
562 if (aes_unwrap(sm->ptk.kek, sm->ptk.kek_len, gtk_len / 8, gtk_elem + 11, in wpa_ft_process_gtk_subelem()
578 if (gtk_len < keylen) { in wpa_ft_process_gtk_subelem()
784 if (wpa_ft_process_gtk_subelem(sm, parse.gtk, parse.gtk_len) < 0) in wpa_ft_validate_reassoc_resp()
Dwpa_ie.h21 size_t gtk_len; member
Dwpa_ie.c393 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.h19 size_t gtk_len; member
Dwpa_auth.c1362 const u8 *gnonce, u8 *gtk, size_t gtk_len) in wpa_gmk_to_gtk() argument
1384 sha256_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len); in wpa_gmk_to_gtk()
1386 if (sha1_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len) in wpa_gmk_to_gtk()
2205 size_t gtk_len, kde_len; in SM_STATE() local
2243 gtk_len = gsm->GTK_len; in SM_STATE()
2249 if (random_get_bytes(dummy_gtk, gtk_len) < 0) in SM_STATE()
2260 gtk_len = 0; in SM_STATE()
2281 kde_len += 2 + RSN_SELECTOR_LEN + 2 + gtk_len; in SM_STATE()
2321 gtk, gtk_len); in SM_STATE()
Dwpa_auth_ie.c807 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c182 u8 gtk_len; in wnm_sleep_mode_exit_success() local
216 gtk_len = *(ptr + 4); in wnm_sleep_mode_exit_success()
217 if (ptr[1] < 11 + gtk_len || in wnm_sleep_mode_exit_success()
218 gtk_len < 5 || gtk_len > 32) { in wnm_sleep_mode_exit_success()
227 ptr += 13 + gtk_len; in wnm_sleep_mode_exit_success()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h421 size_t gtk_len; member
Dwpa_common.c315 parse->gtk_len = len; in wpa_ft_parse_ftie()