Searched refs:ptk (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | wpa_common.c | 657 struct wpa_ptk *ptk, int akmp, int cipher) in wpa_pmk_to_ptk() argument 681 ptk->kck_len = wpa_kck_len(akmp); in wpa_pmk_to_ptk() 682 ptk->kek_len = wpa_kek_len(akmp); in wpa_pmk_to_ptk() 683 ptk->tk_len = wpa_cipher_key_len(cipher); in wpa_pmk_to_ptk() 684 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_to_ptk() 706 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_to_ptk() 707 wpa_hexdump_key(MSG_DEBUG, "WPA: KCK", ptk->kck, ptk->kck_len); in wpa_pmk_to_ptk() 709 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk() 710 wpa_hexdump_key(MSG_DEBUG, "WPA: KEK", ptk->kek, ptk->kek_len); in wpa_pmk_to_ptk() 712 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk() [all …]
|
D | wpa_common.h | 389 struct wpa_ptk *ptk, int akmp, int cipher);
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/rsn_supp/ |
D | wpa.c | 347 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, bssid, in wpa_sm_key_request() 538 struct wpa_ptk *ptk) in wpa_supplicant_send_2_of_4() argument 590 wpa_eapol_key_send(sm, ptk->kck, ptk->kck_len, ver, dst, ETH_P_EAPOL, in wpa_supplicant_send_2_of_4() 598 const struct wpa_eapol_key *key, struct wpa_ptk *ptk) in wpa_derive_ptk() argument 602 key->key_nonce, ptk, sm->key_mgmt, in wpa_derive_ptk() 613 struct wpa_ptk *ptk; in wpa_supplicant_process_1_of_4() local 664 ptk = &sm->tptk; in wpa_supplicant_process_1_of_4() 665 wpa_derive_ptk(sm, src_addr, key, ptk); in wpa_supplicant_process_1_of_4() 673 ptk)) in wpa_supplicant_process_1_of_4() 710 sm->ptk.tk, keylen, KEY_FLAG_PAIRWISE | key_flag) < 0) { in wpa_supplicant_install_ptk() [all …]
|
D | wpa_i.h | 36 struct wpa_ptk ptk, tptk; member
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/ap/ |
D | wpa_auth_i.h | 205 struct wpa_ptk *ptk);
|
D | wpa_auth.c | 1505 const u8 *pmk, struct wpa_ptk *ptk) in wpa_derive_ptk() argument 1511 return wpa_auth_derive_ptk_ft(sm, pmk, ptk, ptk_len); in wpa_derive_ptk() 1516 ptk, sm->wpa_key_mgmt, sm->pairwise); in wpa_derive_ptk()
|