Home
last modified time | relevance | path

Searched refs:PMK_LEN (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant/
Deapol_test.c60 u8 authenticator_pmk[PMK_LEN];
294 u8 pmk[PMK_LEN]; in eapol_test_compare_pmk()
297 if (eapol_sm_get_key(e->wpa_s->eapol, pmk, PMK_LEN) == 0) { in eapol_test_compare_pmk()
298 wpa_hexdump(MSG_DEBUG, "PMK from EAPOL", pmk, PMK_LEN); in eapol_test_compare_pmk()
299 if (os_memcmp(pmk, e->authenticator_pmk, PMK_LEN) != 0) { in eapol_test_compare_pmk()
302 e->authenticator_pmk, PMK_LEN); in eapol_test_compare_pmk()
587 keys->recv_len > PMK_LEN ? PMK_LEN : in ieee802_1x_get_keys()
Dconfig_ssid.h45 #define PMK_LEN 32 macro
149 u8 psk[PMK_LEN];
Dwpa_i.h58 u8 smk[PMK_LEN];
79 u8 pmk[PMK_LEN];
Dpreauth.c88 u8 pmk[PMK_LEN]; in rsn_preauth_eapol_cb()
92 pmk_len = PMK_LEN; in rsn_preauth_eapol_cb()
93 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); in rsn_preauth_eapol_cb()
Dpmksa_cache.h24 u8 pmk[PMK_LEN];
Dconfig.c342 if (hexstr2bin(value, ssid->psk, PMK_LEN) || in wpa_config_parse_psk()
343 value[PMK_LEN * 2] != '\0') { in wpa_config_parse_psk()
353 wpa_hexdump_key(MSG_MSGDUMP, "PSK", ssid->psk, PMK_LEN); in wpa_config_parse_psk()
367 return wpa_config_write_string_hex(ssid->psk, PMK_LEN); in wpa_config_write_psk()
1666 ssid->psk, PMK_LEN); in wpa_config_update_psk()
1668 ssid->psk, PMK_LEN); in wpa_config_update_psk()
Dwpa.c1375 pmk_len = PMK_LEN; in wpa_supplicant_get_pmk()
1376 res = eapol_sm_get_key(sm->eapol, sm->pmk, PMK_LEN); in wpa_supplicant_get_pmk()
2388 hmac_sha1_vector(smk, PMK_LEN, 5, addr, len, hash); in rsn_smkid()
2530 kde.smk == NULL || kde.smk_len < PMK_LEN + WPA_NONCE_LEN || in wpa_supplicant_process_smk_m45()
2570 if (os_memcmp(kde.smk + PMK_LEN, peerkey->inonce, in wpa_supplicant_process_smk_m45()
2602 if (os_memcmp(kde.smk + PMK_LEN, peerkey->pnonce, in wpa_supplicant_process_smk_m45()
2617 os_memcpy(peerkey->smk, kde.smk, PMK_LEN); in wpa_supplicant_process_smk_m45()
2619 wpa_hexdump_key(MSG_DEBUG, "RSN: SMK", peerkey->smk, PMK_LEN); in wpa_supplicant_process_smk_m45()
2747 wpa_pmk_to_ptk(peerkey->smk, PMK_LEN, "Peer key expansion", in wpa_supplicant_process_stk_1_of_4()
3221 wpa_pmk_to_ptk(peerkey->smk, PMK_LEN, "Peer key expansion", in wpa_supplicant_verify_eapol_key_mic_peerkey()
[all …]
Dpmksa_cache.c164 if (pmksa->sm->proto != WPA_PROTO_RSN || pmk_len > PMK_LEN) in pmksa_cache_add()
Dwpa_supplicant.c1359 wpa_sm_set_pmk(wpa_s->wpa, ssid->psk, PMK_LEN); in wpa_supplicant_set_suites()