/external/wpa_supplicant/ |
pmksa_cache.h | 24 u8 pmk[PMK_LEN]; 25 size_t pmk_len; member in struct:rsn_pmksa_cache_entry 48 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 92 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
|
pmksa_cache.c | 45 * @pmk_len: Length of pmk in bytes 52 static void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, 64 hmac_sha1_vector(pmk, pmk_len, 3, addr, len, hash); 146 * @pmk_len: PMK length in bytes, usually PMK_LEN (32) 158 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 164 if (pmksa->sm->proto != WPA_PROTO_RSN || pmk_len > PMK_LEN) 170 os_memcpy(entry->pmk, pmk, pmk_len); 171 entry->pmk_len = pmk_len [all...] |
preauth.c | 88 u8 pmk[PMK_LEN]; 91 int res, pmk_len; local 92 pmk_len = PMK_LEN; 93 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 100 pmk_len = 16; 104 pmk, pmk_len); 105 sm->pmk_len = pmk_len; 106 pmksa_cache_add(sm->pmksa, pmk, pmk_len, [all...] |
wpa.h | 115 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 171 size_t pmk_len)
|
wpa.c | 861 * @pmk_len: Length of PMK 879 static void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, 903 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk, ptk_len); 905 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK", pmk, pmk_len); 1374 int res, pmk_len; local [all...] |
wpa_i.h | 58 u8 smk[PMK_LEN]; 79 u8 pmk[PMK_LEN]; 80 size_t pmk_len; member in struct:wpa_sm
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
pmksa_cache.h | 24 u8 pmk[PMK_LEN]; 25 size_t pmk_len; member in struct:rsn_pmksa_cache_entry 58 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 102 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
|
pmksa_cache.c | 44 * @pmk_len: Length of pmk in bytes 52 static void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, 66 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash); 69 hmac_sha1_vector(pmk, pmk_len, 3, addr, len, hash); 151 * @pmk_len: PMK length in bytes, usually PMK_LEN (32) 164 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 170 if (pmksa->sm->proto != WPA_PROTO_RSN || pmk_len > PMK_LEN) 176 os_memcpy(entry->pmk, pmk, pmk_len); [all...] |
preauth.c | 87 u8 pmk[PMK_LEN]; 90 int res, pmk_len; local 91 pmk_len = PMK_LEN; 92 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 99 pmk_len = 16; 103 pmk, pmk_len); 104 sm->pmk_len = pmk_len; 105 pmksa_cache_add(sm->pmksa, pmk, pmk_len, [all...] |
wpa.c | 218 sm->pmk, sm->pmk_len); 224 int res, pmk_len; local 225 pmk_len = PMK_LEN; 226 res = eapol_sm_get_key(sm->eapol, sm->pmk, PMK_LEN); 233 pmk_len = 16; 236 u8 buf[2 * PMK_LEN]; 237 if (eapol_sm_get_key(sm->eapol, buf, 2 * PMK_LEN) == 0) 239 os_memcpy(sm->xxkey, buf + PMK_LEN, PMK_LEN); [all...] |
wpa.h | 97 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 151 size_t pmk_len)
|
wpa_i.h | 26 u8 pmk[PMK_LEN]; 27 size_t pmk_len; member in struct:wpa_sm 95 u8 xxkey[PMK_LEN]; /* PSK or the second 256 bits of MSK */ 97 u8 pmk_r0[PMK_LEN]; 99 u8 pmk_r1[PMK_LEN];
|
/external/wpa_supplicant_8/src/rsn_supp/ |
pmksa_cache.h | 24 u8 pmk[PMK_LEN]; 25 size_t pmk_len; member in struct:rsn_pmksa_cache_entry 58 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 103 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
|
pmksa_cache.c | 116 * @pmk_len: PMK length in bytes, usually PMK_LEN (32) 129 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len, 135 if (pmk_len > PMK_LEN) 141 os_memcpy(entry->pmk, pmk, pmk_len); 142 entry->pmk_len = pmk_len; 143 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, 159 if (pos->pmk_len == pmk_len & [all...] |
preauth.c | 84 u8 pmk[PMK_LEN]; 87 int res, pmk_len; local 88 pmk_len = PMK_LEN; 89 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 96 pmk_len = 16; 100 pmk, pmk_len); 101 sm->pmk_len = pmk_len; 102 pmksa_cache_add(sm->pmksa, pmk, pmk_len, [all...] |
wpa.c | 170 sm->pmk, sm->pmk_len); 176 int res, pmk_len; local 177 pmk_len = PMK_LEN; 178 res = eapol_sm_get_key(sm->eapol, sm->pmk, PMK_LEN); 185 pmk_len = 16; 188 u8 buf[2 * PMK_LEN]; 189 if (eapol_sm_get_key(sm->eapol, buf, 2 * PMK_LEN) == 0) 191 os_memcpy(sm->xxkey, buf + PMK_LEN, PMK_LEN); [all...] |
wpa.h | 98 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 155 size_t pmk_len)
|
/external/wpa_supplicant_8/src/ap/ |
pmksa_cache_auth.h | 26 u8 pmk[PMK_LEN]; 27 size_t pmk_len; member in struct:rsn_pmksa_cache_entry 54 const u8 *pmk, size_t pmk_len,
|
pmksa_cache_auth.c | 221 * @pmk_len: PMK length in bytes, usually PMK_LEN (32) 236 const u8 *pmk, size_t pmk_len, 243 if (pmk_len > PMK_LEN) 249 os_memcpy(entry->pmk, pmk, pmk_len); 250 entry->pmk_len = pmk_len; 251 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, 294 os_memcpy(entry->pmk, old_entry->pmk, old_entry->pmk_len); [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 74 * @pmk_len: Length of PMK 93 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label, 120 sha256_prf(pmk, pmk_len, label, data, sizeof(data), 124 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk, 131 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK", pmk, pmk_len); 588 os_memcpy(pmk_r0, r0_key_data, PMK_LEN); 595 addr[1] = r0_key_data + PMK_LEN; 652 sha256_prf(pmk_r0, PMK_LEN, "FT-R1", buf, pos - buf, pmk_r1, PMK_LEN); 687 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len) [all...] |
wpa_common.h | 22 #define PMK_LEN 32 308 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label, 351 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_common.c | 74 * @pmk_len: Length of PMK 93 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label, 120 sha256_prf(pmk, pmk_len, label, data, sizeof(data), 124 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk, 129 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK", pmk, pmk_len); 448 os_memcpy(pmk_r0, r0_key_data, PMK_LEN); 455 addr[1] = r0_key_data + PMK_LEN; 512 sha256_prf(pmk_r0, PMK_LEN, "FT-R1", buf, pos - buf, pmk_r1, PMK_LEN); 547 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len) [all...] |
wpa_common.h | 22 #define PMK_LEN 32 294 void wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpas_glue.c | 230 int res, pmk_len; local 231 u8 pmk[PMK_LEN]; 257 pmk_len = PMK_LEN; 260 u8 buf[2 * PMK_LEN]; 263 res = eapol_sm_get_key(eapol, buf, 2 * PMK_LEN); 265 os_memcpy(pmk, buf + PMK_LEN, PMK_LEN); 272 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 279 pmk_len = 16 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
wpas_glue.c | 226 int res, pmk_len; local 227 u8 pmk[PMK_LEN]; 253 pmk_len = PMK_LEN; 254 res = eapol_sm_get_key(eapol, pmk, PMK_LEN); 261 pmk_len = 16; 271 pmk_len)) {
|