Home
last modified time | relevance | path

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

/NextBSD/contrib/wpa/src/common/
HDwpa_common.c168 ptk->kck_len = wpa_kck_len(akmp); in wpa_pmk_to_ptk()
171 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_to_ptk()
194 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_to_ptk()
195 wpa_hexdump_key(MSG_DEBUG, "WPA: KCK", ptk->kck, ptk->kck_len); in wpa_pmk_to_ptk()
197 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk()
200 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk()
209 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument
221 if (kck_len != 16) { in wpa_ft_mic()
223 (unsigned int) kck_len); in wpa_ft_mic()
967 ptk->kck_len = wpa_kck_len(akmp); in wpa_pmk_r1_to_ptk()
[all …]
HDwpa_common.h213 size_t kck_len; member
343 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
384 int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa,
387 static inline int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, in rsn_pmkid_suite_b() argument
394 int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa,
397 static inline int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, in rsn_pmkid_suite_b_192() argument
/NextBSD/contrib/wpa/src/rsn_supp/
HDpmksa_cache.h60 const u8 *kck, size_t kck_len,
108 const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
HDpmksa_cache.c127 const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
145 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
147 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
HDpeerkey.c117 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, dst, in wpa_supplicant_send_smk_error()
171 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, src_addr, in wpa_supplicant_send_smk_m3()
429 wpa_eapol_key_send(sm, peerkey->stk.kck, peerkey->stk.kck_len, ver, in wpa_supplicant_send_stk_3_of_4()
932 wpa_eapol_key_mic(peerkey->tstk.kck, peerkey->tstk.kck_len, in peerkey_verify_eapol_key_mic()
949 wpa_eapol_key_mic(peerkey->stk.kck, peerkey->stk.kck_len, in peerkey_verify_eapol_key_mic()
1087 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, bssid, in wpa_sm_stkstart()
HDwpa_ft.c143 const u8 *kck, size_t kck_len, in wpa_ft_gen_req_ies() argument
296 if (wpa_ft_mic(kck, kck_len, sm->own_addr, target_ap, 5, in wpa_ft_gen_req_ies()
483 sm->ptk.kck, sm->ptk.kck_len, bssid, in wpa_ft_process_response()
767 if (wpa_ft_mic(sm->ptk.kck, sm->ptk.kck_len, sm->own_addr, src_addr, 6, in wpa_ft_validate_reassoc_resp()
HDwpa.c38 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len, in wpa_eapol_key_send() argument
62 wpa_eapol_key_mic(kck, kck_len, sm->key_mgmt, ver, msg, msg_len, in wpa_eapol_key_send()
69 wpa_hexdump_key(MSG_DEBUG, "WPA: KCK", kck, kck_len); in wpa_eapol_key_send()
151 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, bssid, in wpa_sm_key_request()
412 wpa_eapol_key_send(sm, ptk->kck, ptk->kck_len, ver, dst, ETH_P_EAPOL, in wpa_supplicant_send_2_of_4()
1129 wpa_eapol_key_send(sm, ptk->kck, ptk->kck_len, ver, dst, ETH_P_EAPOL, in wpa_supplicant_send_4_of_4()
1251 sm->ptk.kck, sm->ptk.kck_len, in wpa_supplicant_process_3_of_4()
1440 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, sm->bssid, in wpa_supplicant_send_2_of_2()
1525 wpa_eapol_key_mic(sm->tptk.kck, sm->tptk.kck_len, sm->key_mgmt, in wpa_supplicant_verify_eapol_key_mic()
1542 wpa_eapol_key_mic(sm->ptk.kck, sm->ptk.kck_len, sm->key_mgmt, in wpa_supplicant_verify_eapol_key_mic()
[all …]
HDwpa_i.h259 sm->ptk.kck, sm->ptk.kck_len, in wpa_sm_set_rekey_offload()
352 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len,
HDwpa.h77 const u8 *kck, size_t kck_len,
/NextBSD/contrib/wpa/src/ap/
HDpmksa_cache_auth.c254 const u8 *kck, size_t kck_len, in pmksa_cache_auth_add() argument
273 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_add()
275 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_add()
HDpmksa_cache_auth.h53 const u8 *kck, size_t kck_len,
HDwpa_auth.c1580 wpa_eapol_key_mic(sm->PTK.kck, sm->PTK.kck_len, in __wpa_send_eapol()
1654 if (wpa_eapol_key_mic(PTK->kck, PTK->kck_len, akmp, in wpa_verify_key_mic()
3253 sm->PTK.kck, sm->PTK.kck_len, in wpa_auth_pmksa_add()
HDwpa_auth_ft.c745 wpa_ft_mic(sm->PTK.kck, sm->PTK.kck_len, sm->addr, in wpa_sm_write_assoc_resp_ies()
1108 if (wpa_ft_mic(sm->PTK.kck, sm->PTK.kck_len, sm->addr, in wpa_ft_validate_reassoc()
/NextBSD/contrib/wpa/wpa_supplicant/
HDwpas_glue.c1009 const u8 *kck, size_t kck_len, in wpa_supplicant_set_rekey_offload() argument
1014 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
HDdriver_i.h568 const u8 *kck, size_t kck_len, in wpa_drv_set_rekey_info() argument
574 kck, kck_len, replay_ctr); in wpa_drv_set_rekey_info()
/NextBSD/contrib/wpa/src/drivers/
HDdriver.h2923 const u8 *kck, size_t kck_len,