Searched refs:PMK_LEN (Results 1 – 9 of 9) sorted by relevance
/external/wpa_supplicant/ |
D | eapol_test.c | 60 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()
|
D | config_ssid.h | 45 #define PMK_LEN 32 macro 149 u8 psk[PMK_LEN];
|
D | wpa_i.h | 58 u8 smk[PMK_LEN]; 79 u8 pmk[PMK_LEN];
|
D | preauth.c | 88 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()
|
D | pmksa_cache.h | 24 u8 pmk[PMK_LEN];
|
D | config.c | 342 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()
|
D | wpa.c | 1375 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 …]
|
D | pmksa_cache.c | 164 if (pmksa->sm->proto != WPA_PROTO_RSN || pmk_len > PMK_LEN) in pmksa_cache_add()
|
D | wpa_supplicant.c | 1359 wpa_sm_set_pmk(wpa_s->wpa, ssid->psk, PMK_LEN); in wpa_supplicant_set_suites()
|