Home
last modified time | relevance | path

Searched refs:kck (Results 1 – 20 of 20) 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
327 if (kck) { in wpa_ft_gen_req_ies()
340 if (kck && wpa_sm_ocv_enabled(sm)) { in wpa_ft_gen_req_ies()
367 if (kck) { in wpa_ft_gen_req_ies()
496 const u8 *kck; in wpa_ft_process_response() local
623 kck = sm->ptk.kck2; in wpa_ft_process_response()
626 kck = sm->ptk.kck; in wpa_ft_process_response()
631 kck, kck_len, bssid, in wpa_ft_process_response()
848 const u8 *kck; in wpa_ft_validate_reassoc_resp() local
973 kck = sm->ptk.kck2; in wpa_ft_validate_reassoc_resp()
[all …]
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 Dtdls.c112 u8 kck[16]; /* TPK-KCK */ member
453 peer->tpk.kck, sizeof(peer->tpk.kck)); in wpa_tdls_generate_tpk()
513 wpa_hexdump_key(MSG_DEBUG, "TDLS: KCK", kck, 16); in wpa_tdls_ftie_mic()
514 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_ftie_mic()
572 wpa_hexdump_key(MSG_DEBUG, "TDLS: KCK", kck, 16); in wpa_tdls_key_mic_teardown()
573 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_key_mic_teardown()
588 wpa_tdls_ftie_mic(peer->tpk.kck, trans_seq, lnkid, in wpa_supplicant_verify_tdls_mic()
616 wpa_tdls_key_mic_teardown(peer->tpk.kck, trans_seq, rcode, in wpa_supplicant_verify_tdls_mic_teardown()
824 wpa_tdls_key_mic_teardown(peer->tpk.kck, 4, reason_code, in wpa_tdls_send_teardown()
1315 wpa_tdls_ftie_mic(peer->tpk.kck, 2, (u8 *) lnkid, peer->rsnie_p, in wpa_tdls_send_tpk_m2()
[all …]
H A Dpmksa_cache.c132 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
142 if (wpa_key_mgmt_suite_b(akmp) && !kck) in pmksa_cache_add()
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.h81 const u8 *kck, size_t kck_len,
H A Dwpa.c83 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()
3503 os_memcpy(sm->ptk.kck, ptk_kck, ptk_kck_len); in wpa_sm_set_ptk_kck_kek()
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_common.h211 u8 kck[WPA_KCK_MAX_LEN]; /* EAPOL-Key Key Confirmation Key (KCK) */ 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
H A Dcommon_module_tests.c309 const u8 kck[] = { in sae_tests() local
384 if (os_memcmp(kck, sae.tmp->kck, SAE_KCK_LEN) != 0) { in sae_tests()
H A Dwpa_common.c458 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_to_ptk()
459 wpa_hexdump_key(MSG_DEBUG, "WPA: KCK", ptk->kck, ptk->kck_len); in wpa_pmk_to_ptk()
754 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument
835 if (hmac_sha384_vector(kck, kck_len, num_elem, addr, len, hash)) in wpa_ft_mic()
841 omac1_aes_128_vector(kck, num_elem, addr, len, mic)) in wpa_ft_mic()
1787 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_r1_to_ptk()
1797 wpa_hexdump_key(MSG_DEBUG, "FT: KCK", ptk->kck, ptk->kck_len); in wpa_pmk_r1_to_ptk()
1882 int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, in rsn_pmkid_suite_b() argument
1894 if (hmac_sha256_vector(kck, kck_len, 3, addr, len, hash) < 0) in rsn_pmkid_suite_b()
1915 int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, in rsn_pmkid_suite_b_192() argument
[all …]
H A Dsae.h25 u8 kck[SAE_KCK_LEN]; member
H A Dsae.c726 os_memcpy(sae->tmp->kck, keys, SAE_KCK_LEN); in sae_derive_keys()
730 wpa_hexdump_key(MSG_DEBUG, "SAE: KCK", sae->tmp->kck, SAE_KCK_LEN); in sae_derive_keys()
1193 hmac_sha256_vector(sae->tmp->kck, sizeof(sae->tmp->kck), 5, addr, len, in sae_cn_confirm()
/dragonfly/contrib/wpa_supplicant/src/ap/
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
326 if (wpa_key_mgmt_suite_b(akmp) && !kck) in pmksa_cache_auth_create_entry()
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 Dpmksa_cache_auth.h53 const u8 *kck, size_t kck_len,
58 const u8 *kck, size_t kck_len, const u8 *aa,
H A Dwpa_auth_ft.c2428 const u8 *kck; in wpa_sm_write_assoc_resp_ies() local
2588 kck = sm->PTK.kck2; in wpa_sm_write_assoc_resp_ies()
2591 kck = sm->PTK.kck; 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()
3121 const u8 *kck; in wpa_ft_validate_reassoc() local
3264 kck = sm->PTK.kck2; in wpa_ft_validate_reassoc()
3267 kck = sm->PTK.kck; 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()