Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:pmk_len

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;
172 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid);
187 if (pos->pmk_len == pmk_len &&
188 os_memcmp(pos->pmk, pmk, pmk_len) == 0 &&
327 new_entry = pmksa_cache_add(pmksa, old_entry->pmk, old_entry->pmk_len,