Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c788 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in wpa_supplicant_install_ptk()
790 keylen, (long unsigned int) sm->ptk.tk_len); in wpa_supplicant_install_ptk()
813 sm->ptk.tk_len = 0; in wpa_supplicant_install_ptk()
4402 if (keylen <= 0 || (unsigned int) keylen != sm->ptk.tk_len) { in fils_process_assoc_resp()
4404 keylen, (long unsigned int) sm->ptk.tk_len); in fils_process_assoc_resp()
4423 sm->ptk.tk_len = 0; in fils_process_assoc_resp()