Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:sae

37 	if (sta->sae->state != SAE_ACCEPTED) {
55 sta->sae->state = SAE_NOTHING;
93 if (!sta->sae || prev_psk)
95 return sta->sae->pmk;
314 struct sae_data *sae)
327 if (sae_set_group(sae, group) == 0) {
328 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Selected SAE group %d",
329 sae->group);
349 wpa_msg(wpa_s, MSG_DEBUG, "SAE: No password available");
353 if (mesh_rsn_sae_group(wpa_s, sta->sae) < 0) {
354 wpa_msg(wpa_s, MSG_DEBUG, "SAE: Failed to select group");
358 if (sta->sae->tmp && !sta->sae->tmp->pw_id && ssid->sae_password_id) {
359 sta->sae->tmp->pw_id = os_strdup(ssid->sae_password_id);
360 if (!sta->sae->tmp->pw_id)
365 sta->sae);
369 /* initiate new SAE authentication with sta */
381 "AUTH: No current_ssid known to initiate new SAE");
385 if (!sta->sae) {
386 sta->sae = os_zalloc(sizeof(*sta->sae));
387 if (sta->sae == NULL)
404 " - try to use PMKSA caching instead of new SAE authentication",
407 sta->sae->pmkid, sta->sae->pmk,
408 &sta->sae->pmk_len);
419 "AUTH: started authentication with SAE peer: " MACSTR,
436 os_memcpy(pmkid, sta->sae->pmkid, SAE_PMKID_LEN);
452 /* Selected AKM Suite: SAE */
467 sha256_prf(sta->sae->pmk, sizeof(sta->sae->pmk), "AEK Derivation",
512 /* Selected AKM Suite: SAE */
528 sha256_prf(sta->sae->pmk, SAE_PMK_LEN,
663 if (!sta->sae) {
668 "Mesh RSN: SAE is not prepared yet");
675 (!sta->sae ||
676 os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN) != 0)) {