Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c1030 int gtk_len; member
1042 if ((sm->gtk.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
1043 os_memcmp(sm->gtk.gtk, gd->gtk, sm->gtk.gtk_len) == 0) || in wpa_supplicant_install_gtk()
1044 (sm->gtk_wnm_sleep.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
1046 sm->gtk_wnm_sleep.gtk_len) == 0)) { in wpa_supplicant_install_gtk()
1049 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1053 wpa_hexdump_key(MSG_DEBUG, "WPA: Group Key", gd->gtk, gd->gtk_len); in wpa_supplicant_install_gtk()
1056 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1068 _gtk, gd->gtk_len, in wpa_supplicant_install_gtk()
1078 _gtk, gd->gtk_len, KEY_FLAG_GROUP_RX) < 0) { in wpa_supplicant_install_gtk()
[all …]
Dwpa_ft.c760 size_t gtk_len, keylen, rsc_len; in wpa_ft_process_gtk_subelem() local
786 gtk_len = gtk_elem_len - 19; in wpa_ft_process_gtk_subelem()
787 if (aes_unwrap(kek, kek_len, gtk_len / 8, gtk_elem + 11, gtk)) { in wpa_ft_process_gtk_subelem()
802 if (gtk_len < keylen) { in wpa_ft_process_gtk_subelem()
1214 if (wpa_ft_process_gtk_subelem(sm, parse.gtk, parse.gtk_len) < 0 || in wpa_ft_validate_reassoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.c884 int gtk_len; member
896 if ((sm->gtk.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
897 os_memcmp(sm->gtk.gtk, gd->gtk, sm->gtk.gtk_len) == 0) || in wpa_supplicant_install_gtk()
898 (sm->gtk_wnm_sleep.gtk_len == (size_t) gd->gtk_len && in wpa_supplicant_install_gtk()
900 sm->gtk_wnm_sleep.gtk_len) == 0)) { in wpa_supplicant_install_gtk()
903 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
907 wpa_hexdump_key(MSG_DEBUG, "WPA: Group Key", gd->gtk, gd->gtk_len); in wpa_supplicant_install_gtk()
910 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
922 _gtk, gd->gtk_len) < 0) { in wpa_supplicant_install_gtk()
931 _gtk, gd->gtk_len) < 0) { in wpa_supplicant_install_gtk()
[all …]
Dwpa_ie.h21 size_t gtk_len; member
Dwpa_ft.c693 size_t gtk_len, keylen, rsc_len; in wpa_ft_process_gtk_subelem() local
719 gtk_len = gtk_elem_len - 19; in wpa_ft_process_gtk_subelem()
720 if (aes_unwrap(kek, kek_len, gtk_len / 8, gtk_elem + 11, gtk)) { in wpa_ft_process_gtk_subelem()
735 if (gtk_len < keylen) { in wpa_ft_process_gtk_subelem()
1018 if (wpa_ft_process_gtk_subelem(sm, parse.gtk, parse.gtk_len) < 0) in wpa_ft_validate_reassoc_resp()
Dwpa_ie.c423 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.h19 size_t gtk_len; member
Dwpa_auth.c1376 const u8 *gnonce, u8 *gtk, size_t gtk_len) in wpa_gmk_to_gtk() argument
1398 if (random_get_bytes(pos, gtk_len) < 0) in wpa_gmk_to_gtk()
1403 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
1408 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
1412 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
2658 size_t gtk_len; in fils_prepare_plainbuf() local
2689 gtk_len = gsm->GTK_len; in fils_prepare_plainbuf()
2696 if (random_get_bytes(dummy_gtk, gtk_len) < 0) { in fils_prepare_plainbuf()
2706 gtk, gtk_len); in fils_prepare_plainbuf()
3154 size_t gtk_len, kde_len; in SM_STATE() local
[all …]
Dwpa_auth_ie.c1016 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.h248 size_t gtk_len; member
495 size_t gtk_len; member
565 size_t gtk_len; member
Dwpa_common.c956 parse->gtk_len = len; in wpa_ft_parse_ftie()
3060 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth.c1438 const u8 *gnonce, u8 *gtk, size_t gtk_len) in wpa_gmk_to_gtk() argument
1460 if (random_get_bytes(pos, gtk_len) < 0) in wpa_gmk_to_gtk()
1465 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
1470 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
1474 gtk, gtk_len) < 0) in wpa_gmk_to_gtk()
2755 size_t gtk_len; in fils_prepare_plainbuf() local
2791 gtk_len = gsm->GTK_len; in fils_prepare_plainbuf()
2797 if (random_get_bytes(stub_gtk, gtk_len) < 0) { in fils_prepare_plainbuf()
2807 gtk, gtk_len); in fils_prepare_plainbuf()
3385 size_t gtk_len, kde_len, wpa_ie_len; in SM_STATE() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwnm_sta.c228 u8 gtk_len; in wnm_sleep_mode_exit_success() local
262 gtk_len = *(ptr + 4); in wnm_sleep_mode_exit_success()
263 if (ptr[1] < 11 + gtk_len || in wnm_sleep_mode_exit_success()
264 gtk_len < 5 || gtk_len > 32) { in wnm_sleep_mode_exit_success()
273 ptr += 13 + gtk_len; in wnm_sleep_mode_exit_success()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwnm_sta.c237 u8 gtk_len; in wnm_sleep_mode_exit_success() local
271 gtk_len = *(ptr + 4); in wnm_sleep_mode_exit_success()
272 if (ptr[1] < 11 + gtk_len || in wnm_sleep_mode_exit_success()
273 gtk_len < 5 || gtk_len > 32) { in wnm_sleep_mode_exit_success()
282 ptr += 13 + gtk_len; in wnm_sleep_mode_exit_success()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.h226 size_t gtk_len; member
451 size_t gtk_len; member
Dwpa_common.c883 parse->gtk_len = len; in wpa_ft_parse_ftie()