HomeSort by relevance Sort by last modified time
    Searched refs:pmk (Results 1 - 20 of 20) sorted by null

  /external/wpa_supplicant_8/src/rsn_supp/
pmksa_cache.h 18 u8 pmk[PMK_LEN]; member in struct:rsn_pmksa_cache_entry
59 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
105 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
pmksa_cache.c 110 * @pmk: The new pairwise master key
111 * @pmk_len: PMK length in bytes, usually PMK_LEN (32)
114 * @network_ctx: Network configuration context for this PMK
118 * This function create a PMKSA entry for a new PMK and adds it to the PMKSA
121 * based on the PMK and the driver interface is notified of the new PMKID.
124 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
136 os_memcpy(entry->pmk, pmk, pmk_len);
138 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid,
155 os_memcmp(pos->pmk, pmk, pmk_len) == 0 &
    [all...]
preauth.c 77 u8 pmk[PMK_LEN]; local
82 res = eapol_sm_get_key(eapol, pmk, PMK_LEN);
86 * uses only 16-byte PMK.
88 res = eapol_sm_get_key(eapol, pmk, 16);
92 wpa_hexdump_key(MSG_DEBUG, "RSN: PMK from pre-auth",
93 pmk, pmk_len);
95 pmksa_cache_add(sm->pmksa, pmk, pmk_len,
wpa.c 164 wpa_hexdump_key(MSG_DEBUG, "RSN: PMK from PMKSA cache",
165 sm->pmk, sm->pmk_len);
173 res = eapol_sm_get_key(sm->eapol, sm->pmk, PMK_LEN);
177 * uses only 16-byte PMK.
179 res = eapol_sm_get_key(sm->eapol, sm->pmk, 16);
194 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK from EAPOL state "
195 "machines", sm->pmk, pmk_len);
200 sm->pmk, pmk_len,
209 "RSN: the new PMK matches with the "
365 wpa_pmk_to_ptk(sm->pmk, sm->pmk_len, "Pairwise key expansion"
    [all...]
wpa.h 103 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
163 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk,
wpa_i.h 22 u8 pmk[PMK_LEN]; member in struct:wpa_sm
  /external/wpa_supplicant_8/src/ap/
pmksa_cache_auth.h 20 u8 pmk[PMK_LEN]; member in struct:rsn_pmksa_cache_entry
49 const u8 *pmk, size_t pmk_len,
pmksa_cache_auth.c 223 * @pmk: The new pairwise master key
224 * @pmk_len: PMK length in bytes, usually PMK_LEN (32)
232 * This function create a PMKSA entry for a new PMK and adds it to the PMKSA
235 * based on the PMK.
239 const u8 *pmk, size_t pmk_len,
252 os_memcpy(entry->pmk, pmk, pmk_len);
254 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid,
297 os_memcpy(entry->pmk, old_entry->pmk, old_entry->pmk_len)
    [all...]
wpa_auth.h 257 int wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk,
260 const u8 *pmk, size_t len, const u8 *sta_addr,
wpa_auth.c 406 wpa_printf(MSG_ERROR, "FT PMK cache initialization failed.");
1753 const u8 *pmk = NULL; local
    [all...]
wpa_auth_i.h 60 u8 PMK[PMK_LEN];
225 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk,
wpa_auth_glue.c 194 return sta->sae->pmk;
wpa_auth_ft.c 313 wpa_printf(MSG_DEBUG, "FT: Send PMK-R1 pull request to remote R0KH "
343 int wpa_auth_derive_ptk_ft(struct wpa_state_machine *sm, const u8 *pmk,
365 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, PMK_LEN);
372 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, PMK_LEN);
854 "PMK-R1 and unknown R0KH-ID");
866 wpa_hexdump_key(MSG_DEBUG, "FT: Selected PMK-R1", pmk_r1, PMK_LEN);
    [all...]
  /external/wpa_supplicant_8/src/common/
sae.h 43 u8 pmk[SAE_PMK_LEN]; member in struct:sae_data
wpa_common.c 68 * wpa_pmk_to_ptk - Calculate PTK from PMK, addresses, and nonces
69 * @pmk: Pairwise master key
70 * @pmk_len: Length of PMK
81 * PTK = PRF-X(PMK, "Pairwise key expansion",
89 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
116 sha256_prf(pmk, pmk_len, label, data, sizeof(data),
120 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
127 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK", pmk, pmk_len);
701 * wpa_derive_pmk_r0 - Derive PMK-R0 and PMKR0Nam
    [all...]
wpa_common.h 316 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
359 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
sae.c 605 * KCK || PMK = KDF-512(keyseed, "SAE KCK and PMK",
620 sha256_prf(keyseed, sizeof(keyseed), "SAE KCK and PMK",
623 os_memcpy(sae->pmk, keys + SAE_KCK_LEN, SAE_PMK_LEN);
625 wpa_hexdump_key(MSG_DEBUG, "SAE: PMK", sae->pmk, SAE_PMK_LEN);
  /external/wpa_supplicant_8/wpa_supplicant/
eapol_test.c 336 u8 pmk[PMK_LEN]; local
339 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) {
340 wpa_hexdump(MSG_DEBUG, "PMK from EAPOL", pmk, PMK_LEN);
341 if (os_memcmp(pmk, e->authenticator_pmk, PMK_LEN) != 0) {
342 printf("WARNING: PMK mismatch\n");
343 wpa_hexdump(MSG_DEBUG, "PMK from AS",
348 eapol_sm_get_key(e->wpa_s->eapol, pmk, 16) == 0) {
349 wpa_hexdump(MSG_DEBUG, "LEAP PMK from EAPOL", pmk, 16)
    [all...]
wpas_glue.c 224 u8 pmk[PMK_LEN]; local
247 wpa_printf(MSG_DEBUG, "Configure PMK for driver-based RSN 4-way "
254 wpa_printf(MSG_DEBUG, "RSN: Use FT XXKey as PMK for "
258 os_memcpy(pmk, buf + PMK_LEN, PMK_LEN);
265 res = eapol_sm_get_key(eapol, pmk, PMK_LEN);
269 * uses only 16-byte PMK.
271 res = eapol_sm_get_key(eapol, pmk, 16);
277 wpa_printf(MSG_DEBUG, "Failed to get PMK from EAPOL state "
282 wpa_hexdump_key(MSG_DEBUG, "RSN: Configure PMK for driver-based 4-way "
283 "handshake", pmk, pmk_len)
    [all...]
sme.c 569 wpa_printf(MSG_DEBUG, "SME: SAE completed - setting PMK for "
571 wpa_sm_set_pmk(wpa_s->wpa, wpa_s->sme.sae.pmk, PMK_LEN);
    [all...]

Completed in 6560 milliseconds