/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 192 ptk->kck_len = wpa_kck_len(akmp); in wpa_pmk_to_ptk() 195 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; in wpa_pmk_to_ptk() 218 os_memcpy(ptk->kck, tmp, ptk->kck_len); in wpa_pmk_to_ptk() 219 wpa_hexdump_key(MSG_DEBUG, "WPA: KCK", ptk->kck, ptk->kck_len); in wpa_pmk_to_ptk() 221 os_memcpy(ptk->kek, tmp + ptk->kck_len, ptk->kek_len); in wpa_pmk_to_ptk() 224 os_memcpy(ptk->tk, tmp + ptk->kck_len + ptk->kek_len, ptk->tk_len); in wpa_pmk_to_ptk() 329 ptk->kck_len = 0; in fils_pmk_to_ptk() 454 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, in wpa_ft_mic() argument 466 if (kck_len != 16) { in wpa_ft_mic() 468 (unsigned int) kck_len); in wpa_ft_mic() [all …]
|
D | wpa_common.h | 211 size_t kck_len; member 355 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, 396 int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, 399 static inline int rsn_pmkid_suite_b(const u8 *kck, size_t kck_len, const u8 *aa, in rsn_pmkid_suite_b() argument 406 int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, const u8 *aa, 409 static inline int rsn_pmkid_suite_b_192(const u8 *kck, size_t kck_len, in rsn_pmkid_suite_b_192() argument
|
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.h | 52 const u8 *kck, size_t kck_len, 57 const u8 *kck, size_t kck_len, const u8 *aa,
|
D | pmksa_cache_auth.c | 281 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()
|
D | wpa_auth_ft.c | 757 wpa_ft_mic(sm->PTK.kck, sm->PTK.kck_len, sm->addr, in wpa_sm_write_assoc_resp_ies() 1210 if (wpa_ft_mic(sm->PTK.kck, sm->PTK.kck_len, sm->addr, in wpa_ft_validate_reassoc()
|
D | wpa_auth.c | 1589 wpa_eapol_key_mic(sm->PTK.kck, sm->PTK.kck_len, in __wpa_send_eapol() 1662 if (wpa_eapol_key_mic(PTK->kck, PTK->kck_len, akmp, in wpa_verify_key_mic() 3786 sm->PTK.kck, sm->PTK.kck_len, in wpa_auth_pmksa_add()
|
/external/syslinux/gpxe/src/net/80211/ |
D | wpa_ccmp.c | 482 size_t kck_len = 16; in ccmp_kie_mic() local 484 memcpy ( kckb, kck, kck_len ); in ccmp_kie_mic() 486 hmac_init ( &sha1_algorithm, sha1_ctx, kckb, &kck_len ); in ccmp_kie_mic() 488 hmac_final ( &sha1_algorithm, sha1_ctx, kckb, &kck_len, hash ); in ccmp_kie_mic()
|
D | wpa_tkip.c | 548 size_t kck_len = 16; in tkip_kie_mic() local 550 memcpy ( kckb, kck, kck_len ); in tkip_kie_mic() 552 hmac_init ( &md5_algorithm, &md5, kckb, &kck_len ); in tkip_kie_mic() 554 hmac_final ( &md5_algorithm, &md5, kckb, &kck_len, mic ); in tkip_kie_mic()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.h | 61 const u8 *pmkid, const u8 *kck, size_t kck_len, 125 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument
|
D | pmksa_cache.c | 129 const u8 *pmkid, const u8 *kck, size_t kck_len, in pmksa_cache_add() argument 149 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add() 151 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_add()
|
D | wpa_ft.c | 143 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()
|
D | wpa.c | 72 if (key_mic && (!ptk || !ptk->kck_len)) in wpa_eapol_key_send() 76 wpa_eapol_key_mic(ptk->kck, ptk->kck_len, sm->key_mgmt, ver, in wpa_eapol_key_send() 85 ptk->kck, ptk->kck_len); in wpa_eapol_key_send() 1372 sm->ptk.kck, sm->ptk.kck_len, in wpa_supplicant_process_3_of_4() 1647 wpa_eapol_key_mic(sm->tptk.kck, sm->tptk.kck_len, sm->key_mgmt, in wpa_supplicant_verify_eapol_key_mic() 1664 wpa_eapol_key_mic(sm->ptk.kck, sm->ptk.kck_len, sm->key_mgmt, in wpa_supplicant_verify_eapol_key_mic() 3215 sm->ptk.kck_len = ptk_kck_len; in wpa_sm_set_ptk_kck_kek()
|
D | wpa_i.h | 277 sm->ptk.kck, sm->ptk.kck_len, in wpa_sm_set_rekey_offload()
|
D | wpa.h | 79 const u8 *kck, size_t kck_len,
|
D | peerkey.c | 938 wpa_eapol_key_mic(peerkey->tstk.kck, peerkey->tstk.kck_len, in peerkey_verify_eapol_key_mic() 955 wpa_eapol_key_mic(peerkey->stk.kck, peerkey->stk.kck_len, in peerkey_verify_eapol_key_mic()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | driver_i.h | 575 const u8 *kck, size_t kck_len, in wpa_drv_set_rekey_info() argument 581 kck, kck_len, replay_ctr); in wpa_drv_set_rekey_info()
|
D | wpas_glue.c | 1096 const u8 *kck, size_t kck_len, in wpa_supplicant_set_rekey_offload() argument 1101 wpa_drv_set_rekey_info(wpa_s, kek, kek_len, kck, kck_len, replay_ctr); in wpa_supplicant_set_rekey_offload()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 3220 const u8 *kck, size_t kck_len,
|
D | driver_nl80211.c | 7614 const u8 *kck, size_t kck_len, in nl80211_set_rekey_info() argument 7630 nla_put(msg, NL80211_REKEY_DATA_KCK, kck_len, kck) || in nl80211_set_rekey_info()
|