Home
last modified time | relevance | path

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

/dragonfly/contrib/wpa_supplicant/src/rsn_supp/
H A Dwpa_ft.c163 const u8 *kck, size_t kck_len, in wpa_ft_gen_req_ies() argument
381 if (wpa_ft_mic(kck, kck_len, sm->own_addr, target_ap, 5, in wpa_ft_gen_req_ies()
497 size_t kck_len; in wpa_ft_process_response() local
624 kck_len = sm->ptk.kck2_len; in wpa_ft_process_response()
627 kck_len = sm->ptk.kck_len; in wpa_ft_process_response()
631 kck, kck_len, bssid, in wpa_ft_process_response()
849 size_t kck_len; in wpa_ft_validate_reassoc_resp() local
974 kck_len = sm->ptk.kck2_len; in wpa_ft_validate_reassoc_resp()
977 kck_len = sm->ptk.kck_len; in wpa_ft_validate_reassoc_resp()
980 if (wpa_ft_mic(kck, kck_len, sm->own_addr, src_addr, 6, in wpa_ft_validate_reassoc_resp()
H A Dpmksa_cache.h70 const u8 *pmkid, const u8 *kck, size_t kck_len,
136 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
H A Dpmksa_cache.c132 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
153 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
155 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
H A Dwpa_i.h305 sm->ptk.kck, sm->ptk.kck_len, in wpa_sm_set_rekey_offload()
H A Dwpa.c79 if (key_mic && (!ptk || !ptk->kck_len)) in wpa_eapol_key_send()
83 wpa_eapol_key_mic(ptk->kck, ptk->kck_len, sm->key_mgmt, ver, in wpa_eapol_key_send()
92 ptk->kck, ptk->kck_len); in wpa_eapol_key_send()
1584 sm->ptk.kck, sm->ptk.kck_len, in wpa_supplicant_process_3_of_4()
1907 if (wpa_eapol_key_mic(sm->tptk.kck, sm->tptk.kck_len, in wpa_supplicant_verify_eapol_key_mic()
1941 if (wpa_eapol_key_mic(sm->ptk.kck, sm->ptk.kck_len, in wpa_supplicant_verify_eapol_key_mic()
3504 sm->ptk.kck_len = ptk_kck_len; in wpa_sm_set_ptk_kck_kek()
H A Dwpa.h81 const u8 *kck, size_t kck_len,
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_common.c392 ptk->kck_len = wpa_kck_len(akmp, pmk_len); in wpa_pmk_to_ptk()
458 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_to_ptk()
591 ptk->kck_len = 0; in fils_pmk_to_ptk()
767 if (kck_len == 16) { in wpa_ft_mic()
770 } else if (kck_len == 24) { in wpa_ft_mic()
775 (unsigned int) kck_len); in wpa_ft_mic()
832 if (kck_len == 24) { in wpa_ft_mic()
840 if (kck_len == 16 && in wpa_ft_mic()
1731 ptk->kck_len = wpa_kck_len(akmp, PMK_LEN); in wpa_pmk_r1_to_ptk()
1787 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_r1_to_ptk()
[all …]
H A Dwpa_common.h216 size_t kck_len; member
370 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
416 int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa,
419 static inline int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, in rsn_pmkid_suite_b() argument
426 int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa,
429 static inline int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, in rsn_pmkid_suite_b_192() argument
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dpmksa_cache_auth.h53 const u8 *kck, size_t kck_len,
58 const u8 *kck, size_t kck_len, const u8 *aa,
H A Dpmksa_cache_auth.c281 const u8 *kck, size_t kck_len, in pmksa_cache_auth_add() argument
287 entry = pmksa_cache_auth_create_entry(pmk, pmk_len, pmkid, kck, kck_len, in pmksa_cache_auth_add()
316 const u8 *kck, size_t kck_len, const u8 *aa, in pmksa_cache_auth_create_entry() argument
337 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
339 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
H A Dwpa_auth_ft.c2429 size_t kck_len; in wpa_sm_write_assoc_resp_ies() local
2589 kck_len = sm->PTK.kck2_len; in wpa_sm_write_assoc_resp_ies()
2592 kck_len = sm->PTK.kck_len; in wpa_sm_write_assoc_resp_ies()
2595 wpa_ft_mic(kck, kck_len, sm->addr, sm->wpa_auth->addr, 6, in wpa_sm_write_assoc_resp_ies()
3122 size_t kck_len; in wpa_ft_validate_reassoc() local
3265 kck_len = sm->PTK.kck2_len; in wpa_ft_validate_reassoc()
3268 kck_len = sm->PTK.kck_len; in wpa_ft_validate_reassoc()
3270 if (wpa_ft_mic(kck, kck_len, sm->addr, sm->wpa_auth->addr, 5, in wpa_ft_validate_reassoc()
H A Dwpa_auth.c1619 if (wpa_eapol_key_mic(sm->PTK.kck, sm->PTK.kck_len, in __wpa_send_eapol()
1701 if (wpa_eapol_key_mic(PTK->kck, PTK->kck_len, akmp, in wpa_verify_key_mic()
4388 sm->PTK.kck, sm->PTK.kck_len, in wpa_auth_pmksa_add()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Ddriver_i.h593 const u8 *kck, size_t kck_len, in wpa_drv_set_rekey_info() argument
599 kck, kck_len, replay_ctr); in wpa_drv_set_rekey_info()
H A Dwpas_glue.c1143 const u8 *kck, size_t kck_len, in wpa_supplicant_set_rekey_offload() argument
1148 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver.h3558 const u8 *kck, size_t kck_len,
H A Ddriver_nl80211.c8263 const u8 *kck, size_t kck_len, in nl80211_set_rekey_info() argument
8279 (kck_len && nla_put(msg, NL80211_REKEY_DATA_KCK, kck_len, kck)) || in nl80211_set_rekey_info()