Searched defs:ptk (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ft.c23 struct wpa_ptk *ptk, size_t ptk_len)
48 (u8 *) ptk, ptk_len, ptk_name);
49 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
336 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
484 (u8 *) &sm->ptk, ptk_len, ptk_name);
486 (u8 *) &sm->ptk, ptk_len);
490 sm->pmk_r1_name, sm->ptk.kck, bssid,
569 if (aes_unwrap(sm->ptk.kek, 16, gtk_len / 8, gtk_elem + 11, gtk)) {
648 if (aes_unwrap(sm->ptk.kek, 16, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk))
773 if (wpa_ft_mic(sm->ptk
21 wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk, size_t ptk_len) argument
[all...]
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
253 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
254 sm->ptk.kck, sm->rx_replay_counter);
322 struct wpa_ptk *ptk);
326 struct wpa_ptk *ptk);
330 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c135 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
272 * @ptk: PTK to use for keyed hash and encryption
279 struct wpa_ptk *ptk)
354 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
363 struct wpa_ptk *ptk)
368 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
373 (u8 *) ptk, ptk_len,
386 struct wpa_ptk *ptk; local
437 ptk = &sm->tptk;
438 wpa_derive_ptk(sm, src_addr, key, ptk);
275 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
361 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
1033 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
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_ft.c23 struct wpa_ptk *ptk, size_t ptk_len)
48 (u8 *) ptk, ptk_len, ptk_name);
49 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
336 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
484 (u8 *) &sm->ptk, ptk_len, ptk_name);
486 (u8 *) &sm->ptk, ptk_len);
490 sm->pmk_r1_name, sm->ptk.kck, bssid,
569 if (aes_unwrap(sm->ptk.kek, 16, gtk_len / 8, gtk_elem + 11, gtk)) {
648 if (aes_unwrap(sm->ptk.kek, 16, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk))
773 if (wpa_ft_mic(sm->ptk
21 wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk, size_t ptk_len) argument
[all...]
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
253 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
254 sm->ptk.kck, sm->rx_replay_counter);
322 struct wpa_ptk *ptk);
326 struct wpa_ptk *ptk);
330 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c135 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
272 * @ptk: PTK to use for keyed hash and encryption
279 struct wpa_ptk *ptk)
354 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
363 struct wpa_ptk *ptk)
368 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
373 (u8 *) ptk, ptk_len,
386 struct wpa_ptk *ptk; local
437 ptk = &sm->tptk;
438 wpa_derive_ptk(sm, src_addr, key, ptk);
275 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
361 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
1033 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
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ft.c23 struct wpa_ptk *ptk, size_t ptk_len)
48 (u8 *) ptk, ptk_len, ptk_name);
49 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
336 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
484 (u8 *) &sm->ptk, ptk_len, ptk_name);
486 (u8 *) &sm->ptk, ptk_len);
490 sm->pmk_r1_name, sm->ptk.kck, bssid,
569 if (aes_unwrap(sm->ptk.kek, 16, gtk_len / 8, gtk_elem + 11, gtk)) {
648 if (aes_unwrap(sm->ptk.kek, 16, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk))
773 if (wpa_ft_mic(sm->ptk
21 wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk, size_t ptk_len) argument
[all...]
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
253 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
254 sm->ptk.kck, sm->rx_replay_counter);
322 struct wpa_ptk *ptk);
326 struct wpa_ptk *ptk);
330 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c135 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
272 * @ptk: PTK to use for keyed hash and encryption
279 struct wpa_ptk *ptk)
354 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
363 struct wpa_ptk *ptk)
368 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
373 (u8 *) ptk, ptk_len,
386 struct wpa_ptk *ptk; local
437 ptk = &sm->tptk;
438 wpa_derive_ptk(sm, src_addr, key, ptk);
275 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
361 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
1033 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
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ft.c364 struct wpa_ptk *ptk, size_t ptk_len)
400 (u8 *) ptk, ptk_len, ptk_name);
401 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
363 wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk, size_t ptk_len) argument
H A Dwpa_auth.c1818 struct wpa_ptk *ptk)
1823 return wpa_auth_derive_ptk_ft(sm, pmk, ptk, ptk_len);
1828 (u8 *) ptk, ptk_len,
1817 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.c82 * @ptk: Buffer for pairwise transient key
98 u8 *ptk, size_t ptk_len, int use_sha256)
123 ptk, ptk_len);
126 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
134 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
850 u8 *ptk, size_t ptk_len, u8 *ptk_name)
871 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
95 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, u8 *ptk, size_t ptk_len, int use_sha256) argument
847 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, u8 *ptk, size_t ptk_len, u8 *ptk_name) argument
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ft.c364 struct wpa_ptk *ptk, size_t ptk_len)
400 (u8 *) ptk, ptk_len, ptk_name);
401 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
363 wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk, size_t ptk_len) argument
H A Dwpa_auth.c1818 struct wpa_ptk *ptk)
1823 return wpa_auth_derive_ptk_ft(sm, pmk, ptk, ptk_len);
1828 (u8 *) ptk, ptk_len,
1817 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
/external/wpa_supplicant_8/src/common/
H A Dwpa_common.c82 * @ptk: Buffer for pairwise transient key
98 u8 *ptk, size_t ptk_len, int use_sha256)
123 ptk, ptk_len);
126 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
134 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
850 u8 *ptk, size_t ptk_len, u8 *ptk_name)
871 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
95 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, u8 *ptk, size_t ptk_len, int use_sha256) argument
847 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, u8 *ptk, size_t ptk_len, u8 *ptk_name) argument
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ft.c364 struct wpa_ptk *ptk, size_t ptk_len)
400 (u8 *) ptk, ptk_len, ptk_name);
401 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
363 wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk, size_t ptk_len) argument
H A Dwpa_auth.c1818 struct wpa_ptk *ptk)
1823 return wpa_auth_derive_ptk_ft(sm, pmk, ptk, ptk_len);
1828 (u8 *) ptk, ptk_len,
1817 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_common.c82 * @ptk: Buffer for pairwise transient key
98 u8 *ptk, size_t ptk_len, int use_sha256)
123 ptk, ptk_len);
126 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
134 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
850 u8 *ptk, size_t ptk_len, u8 *ptk_name)
871 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
95 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, u8 *ptk, size_t ptk_len, int use_sha256) argument
847 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, u8 *ptk, size_t ptk_len, u8 *ptk_name) argument

Completed in 192 milliseconds