Lines Matching defs:pmk
273 u8 pmk[PMK_LEN];
302 wpa_printf(MSG_DEBUG, "Configure PMK for driver-based RSN 4-way "
309 wpa_printf(MSG_DEBUG, "RSN: Use FT XXKey as PMK for "
313 os_memcpy(pmk, buf + PMK_LEN, PMK_LEN);
320 res = eapol_sm_get_key(eapol, pmk, PMK_LEN);
324 * uses only 16-byte PMK.
326 res = eapol_sm_get_key(eapol, pmk, 16);
332 wpa_printf(MSG_DEBUG, "Failed to get PMK from EAPOL state "
337 wpa_hexdump_key(MSG_DEBUG, "RSN: Configure PMK for driver-based 4-way "
338 "handshake", pmk, pmk_len);
340 if (wpa_drv_set_key(wpa_s, WPA_ALG_PMK, NULL, 0, 0, NULL, 0, pmk,
342 wpa_printf(MSG_DEBUG, "Failed to set PMK to the driver");
1026 static int wpa_supplicant_key_mgmt_set_pmk(void *ctx, const u8 *pmk,
1034 NULL, 0, pmk, pmk_len);