/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | wpa_common.c | 335 * @ptk: Buffer for pairwise transient key 352 struct wpa_ptk *ptk, int akmp, int cipher, 392 ptk->kck_len = wpa_kck_len(akmp, pmk_len); 393 ptk->kek_len = wpa_kek_len(akmp, pmk_len); 394 ptk->tk_len = wpa_cipher_key_len(cipher); 395 if (ptk->tk_len == 0) { 401 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len; 458 os_memcpy(ptk 349 wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label, const u8 *addr1, const u8 *addr2, const u8 *nonce1, const u8 *nonce2, struct wpa_ptk *ptk, int akmp, int cipher, const u8 *z, size_t z_len) argument 551 fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, u8 *ick, size_t *ick_len, int akmp, int cipher, u8 *fils_ft, size_t *fils_ft_len) argument 1696 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher) argument [all...] |
H A D | wpa_common.h | 350 struct wpa_ptk *ptk, int akmp, int cipher, 359 size_t dhss_len, struct wpa_ptk *ptk, 390 struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher);
|
/freebsd-11-stable/contrib/wpa/src/rsn_supp/ |
H A D | wpa.c | 41 * @ptk: PTK for Key Confirmation/Encryption Key 50 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, argument 79 if (key_mic && (!ptk || !ptk->kck_len)) 83 wpa_eapol_key_mic(ptk->kck, ptk->kck_len, sm->key_mgmt, ver, 90 if (ptk) 92 ptk->kck, ptk->kck_len); 107 if (!ptk || !pt 469 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 560 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument 592 struct wpa_ptk *ptk; local 1394 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) argument 2120 struct wpa_ptk *ptk; local [all...] |
H A D | wpa_i.h | 23 struct wpa_ptk ptk, tptk; member in struct:wpa_sm 304 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek, sm->ptk.kek_len, 305 sm->ptk.kck, sm->ptk.kck_len, 413 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, 420 struct wpa_ptk *ptk); 424 struct wpa_ptk *ptk); 427 const struct wpa_eapol_key *key, struct wpa_ptk *ptk);
|
H A D | wpa_ft.c | 26 const struct wpa_eapol_key *key, struct wpa_ptk *ptk) 64 sm->own_addr, sm->bssid, sm->pmk_r1_name, ptk, 416 sizeof(null_rsc), (u8 *) sm->ptk.tk, keylen) < 0) { 618 sm->pmk_r1_name, &sm->ptk, ptk_name, sm->key_mgmt, 623 kck = sm->ptk.kck2; 624 kck_len = sm->ptk.kck2_len; 626 kck = sm->ptk.kck; 627 kck_len = sm->ptk.kck_len; 698 kek = sm->ptk.kek2; 699 kek_len = sm->ptk 25 wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | wpa_auth_i.h | 295 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk);
|
H A D | wpa_auth.c | 44 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, 59 struct wpa_ptk *ptk); 2211 struct wpa_ptk *ptk) 2225 ptk, ptk_name, 2229 return wpa_auth_derive_ptk_ft(sm, ptk); 2242 ptk, sm->wpa_key_mgmt, sm->pairwise, z, z_len); 2324 static int wpa_aead_decrypt(struct wpa_state_machine *sm, struct wpa_ptk *ptk, argument 2355 if (aes_siv_decrypt(ptk->kek, ptk->kek_len, pos, key_data_len, 2209 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, const u8 *pmk, unsigned int pmk_len, struct wpa_ptk *ptk) argument
|
H A D | wpa_auth_ft.c | 2078 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, struct wpa_ptk *ptk) argument 2152 ptk, ptk_name, sm->wpa_key_mgmt, sm->pairwise);
|
/freebsd-11-stable/contrib/gcc/cp/ |
H A D | parser.c | 18215 cp_token *ptk; 18229 ptk = cp_lexer_peek_token (parser->lexer); 18231 if (ptk->type == CPP_OPEN_BRACE) 18212 cp_token *ptk; local
|