Home
last modified time | relevance | path

Searched refs:tk_len (Results 1 – 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c409 ptk->tk_len = wpa_cipher_key_len(cipher); in wpa_pmk_to_ptk()
411 if (ptk->tk_len == 0) { in wpa_pmk_to_ptk()
417 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len + ptk->kdk_len; in wpa_pmk_to_ptk()
498 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk()
499 wpa_hexdump_key(MSG_DEBUG, "WPA: TK", ptk->tk, ptk->tk_len); in wpa_pmk_to_ptk()
503 ptk->tk_len, ptk->kdk_len); in wpa_pmk_to_ptk()
637 ptk->tk_len = wpa_cipher_key_len(cipher); in fils_pmk_to_ptk()
644 key_data_len = *ick_len + ptk->kek_len + ptk->tk_len; in fils_pmk_to_ptk()
700 os_memcpy(ptk->tk, tmp + offset, ptk->tk_len); in fils_pmk_to_ptk()
701 wpa_hexdump_key(MSG_DEBUG, "FILS: TK", ptk->tk, ptk->tk_len); in fils_pmk_to_ptk()
[all …]
Dcommon_module_tests.c665 if (ptk.tk_len != sizeof(tk) || in pasn_test_pasn_auth()
750 if (ptk.tk_len != sizeof(tk) || in pasn_test_no_pasn_auth()
Dptksa_cache.c193 e->ptk.tk_len); in ptksa_cache_list()
Dwpa_common.h239 size_t tk_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c394 ptk->tk_len = wpa_cipher_key_len(cipher); in wpa_pmk_to_ptk()
395 if (ptk->tk_len == 0) { in wpa_pmk_to_ptk()
401 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_to_ptk()
464 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk()
465 wpa_hexdump_key(MSG_DEBUG, "WPA: TK", ptk->tk, ptk->tk_len); in wpa_pmk_to_ptk()
593 ptk->tk_len = wpa_cipher_key_len(cipher); in fils_pmk_to_ptk()
600 key_data_len = *ick_len + ptk->kek_len + ptk->tk_len; in fils_pmk_to_ptk()
641 os_memcpy(ptk->tk, tmp + *ick_len + ptk->kek_len, ptk->tk_len); in fils_pmk_to_ptk()
642 wpa_hexdump_key(MSG_DEBUG, "FILS: TK", ptk->tk, ptk->tk_len); in fils_pmk_to_ptk()
645 os_memcpy(fils_ft, tmp + *ick_len + ptk->kek_len + ptk->tk_len, in fils_pmk_to_ptk()
[all …]
Dwpa_common.h218 size_t tk_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.c814 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in wpa_supplicant_install_ptk()
816 keylen, (long unsigned int) sm->ptk.tk_len); in wpa_supplicant_install_ptk()
839 sm->ptk.tk_len = 0; in wpa_supplicant_install_ptk()
4452 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in fils_process_assoc_resp()
4454 keylen, (long unsigned int) sm->ptk.tk_len); in fils_process_assoc_resp()
4473 sm->ptk.tk_len = 0; in fils_process_assoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c939 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in wpa_supplicant_install_ptk()
941 keylen, (long unsigned int) sm->ptk.tk_len); in wpa_supplicant_install_ptk()
969 sm->ptk.tk_len = 0; in wpa_supplicant_install_ptk()
4957 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in fils_process_assoc_resp()
4959 keylen, (long unsigned int) sm->ptk.tk_len); in fils_process_assoc_resp()
4982 sm->ptk.tk_len = 0; in fils_process_assoc_resp()