Searched refs:ptk (Results 1 - 25 of 33) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
254 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
255 sm->ptk.kck, sm->rx_replay_counter);
309 struct wpa_ptk *ptk);
314 struct wpa_ptk *ptk);
318 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c131 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
267 * @ptk: PTK to use for keyed hash and encryption
274 struct wpa_ptk *ptk)
348 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
357 struct wpa_ptk *ptk)
362 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
367 (u8 *) ptk, ptk_len,
379 struct wpa_ptk *ptk; local
432 ptk = &sm->tptk;
433 wpa_derive_ptk(sm, src_addr, key, ptk);
270 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
355 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
996 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, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument
[all...]
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);
334 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
481 (u8 *) &sm->ptk, ptk_len, ptk_name);
483 (u8 *) &sm->ptk, ptk_len);
487 sm->pmk_r1_name, sm->ptk.kck, bssid,
560 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 11, gtk)) {
632 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
755 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 Dpeerkey.c115 wpa_eapol_key_send(sm, sm->ptk.kck, ver, dst, ETH_P_EAPOL,
167 wpa_eapol_key_send(sm, sm->ptk.kck, ver, src_addr, ETH_P_EAPOL,
1110 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
254 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
255 sm->ptk.kck, sm->rx_replay_counter);
309 struct wpa_ptk *ptk);
314 struct wpa_ptk *ptk);
318 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c131 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
267 * @ptk: PTK to use for keyed hash and encryption
274 struct wpa_ptk *ptk)
348 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
357 struct wpa_ptk *ptk)
362 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
367 (u8 *) ptk, ptk_len,
379 struct wpa_ptk *ptk; local
432 ptk = &sm->tptk;
433 wpa_derive_ptk(sm, src_addr, key, ptk);
270 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
355 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
996 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, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument
[all...]
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);
334 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
481 (u8 *) &sm->ptk, ptk_len, ptk_name);
483 (u8 *) &sm->ptk, ptk_len);
487 sm->pmk_r1_name, sm->ptk.kck, bssid,
560 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 11, gtk)) {
632 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
755 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...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_i.h24 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
254 sm->ctx->set_rekey_offload(sm->ctx->ctx, sm->ptk.kek,
255 sm->ptk.kck, sm->rx_replay_counter);
309 struct wpa_ptk *ptk);
314 struct wpa_ptk *ptk);
318 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa.c131 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
267 * @ptk: PTK to use for keyed hash and encryption
274 struct wpa_ptk *ptk)
348 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
357 struct wpa_ptk *ptk)
362 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
367 (u8 *) ptk, ptk_len,
379 struct wpa_ptk *ptk; local
432 ptk = &sm->tptk;
433 wpa_derive_ptk(sm, src_addr, key, ptk);
270 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
355 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
996 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, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument
[all...]
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);
334 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
481 (u8 *) &sm->ptk, ptk_len, ptk_name);
483 (u8 *) &sm->ptk, ptk_len);
487 sm->pmk_r1_name, sm->ptk.kck, bssid,
560 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 11, gtk)) {
632 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
755 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...]
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
H A Dwpa_i.h28 struct wpa_ptk ptk, tptk; member in struct:wpa_sm
234 struct wpa_ptk *ptk);
239 struct wpa_ptk *ptk);
243 struct wpa_ptk *ptk, size_t ptk_len);
H A Dwpa_ft.c28 struct wpa_ptk *ptk, size_t ptk_len)
53 (u8 *) ptk, ptk_len, ptk_name);
54 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len);
417 sizeof(null_rsc), (u8 *) sm->ptk.tk1, keylen) < 0) {
551 (u8 *) &sm->ptk, ptk_len, ptk_name);
553 (u8 *) &sm->ptk, ptk_len);
557 sm->pmk_r1_name, sm->ptk.kck, bssid);
616 if (aes_unwrap(sm->ptk.kek, gtk_len / 8, gtk_elem + 10, gtk)) {
707 if (aes_unwrap(sm->ptk.kek, WPA_IGTK_LEN / 8, igtk_elem + 9, igtk)) {
813 if (wpa_ft_mic(sm->ptk
26 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.c186 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
307 * @ptk: PTK to use for keyed hash and encryption
314 struct wpa_ptk *ptk)
351 wpa_eapol_key_send(sm, ptk->kck, ver, dst, ETH_P_EAPOL,
360 struct wpa_ptk *ptk)
365 return wpa_derive_ptk_ft(sm, src_addr, key, ptk, ptk_len);
370 (u8 *) ptk, ptk_len,
382 struct wpa_ptk *ptk; local
434 ptk = &sm->tptk;
435 wpa_derive_ptk(sm, src_addr, key, ptk);
310 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
358 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
899 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, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument
[all...]
H A Dpeerkey.c120 wpa_eapol_key_send(sm, sm->ptk.kck, ver, dst, ETH_P_EAPOL,
172 wpa_eapol_key_send(sm, sm->ptk.kck, ver, src_addr, ETH_P_EAPOL,
1119 wpa_eapol_key_send(sm, sm->ptk.kck, ver, bssid, ETH_P_EAPOL,
/external/wpa_supplicant_6/wpa_supplicant/src/common/
H A Dwpa_common.c80 * @ptk: Buffer for pairwise transient key
96 u8 *ptk, size_t ptk_len, int use_sha256)
121 ptk, ptk_len);
124 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
130 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
526 u8 *ptk, size_t ptk_len, u8 *ptk_name)
547 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
93 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
523 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
H A Dwpa_common.h297 u8 *ptk, size_t ptk_len, int use_sha256);
317 u8 *ptk, size_t ptk_len, u8 *ptk_name);
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.h309 u8 *ptk, size_t ptk_len, int use_sha256);
329 u8 *ptk, size_t ptk_len, u8 *ptk_name);
H A Dwpa_common.c76 * @ptk: Buffer for pairwise transient key
92 u8 *ptk, size_t ptk_len, int use_sha256)
117 ptk, ptk_len);
120 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
128 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
812 u8 *ptk, size_t ptk_len, u8 *ptk_name)
833 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
89 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
809 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/common/
H A Dwpa_common.h309 u8 *ptk, size_t ptk_len, int use_sha256);
329 u8 *ptk, size_t ptk_len, u8 *ptk_name);
H A Dwpa_common.c76 * @ptk: Buffer for pairwise transient key
92 u8 *ptk, size_t ptk_len, int use_sha256)
117 ptk, ptk_len);
120 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
128 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
812 u8 *ptk, size_t ptk_len, u8 *ptk_name)
833 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
89 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
809 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/common/
H A Dwpa_common.h309 u8 *ptk, size_t ptk_len, int use_sha256);
329 u8 *ptk, size_t ptk_len, u8 *ptk_name);
H A Dwpa_common.c76 * @ptk: Buffer for pairwise transient key
92 u8 *ptk, size_t ptk_len, int use_sha256)
117 ptk, ptk_len);
120 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
128 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
812 u8 *ptk, size_t ptk_len, u8 *ptk_name)
833 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);
89 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
809 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/hostapd/src/ap/
H A Dwpa_auth_i.h228 struct wpa_ptk *ptk, size_t ptk_len);
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_i.h228 struct wpa_ptk *ptk, size_t ptk_len);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_i.h228 struct wpa_ptk *ptk, size_t ptk_len);

Completed in 233 milliseconds

12