Home | History | Annotate | Download | only in rsn_supp

Lines Matching refs:pmk

42  * rsn_pmkid - Calculate PMK identifier
43 * @pmk: Pairwise master key
44 * @pmk_len: Length of pmk in bytes
50 * PMKID = HMAC-SHA1-128(PMK, "PMK Name" || AA || SPA)
52 static void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa,
55 char *title = "PMK Name";
66 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash);
69 hmac_sha1_vector(pmk, pmk_len, 3, addr, len, hash);
150 * @pmk: The new pairwise master key
151 * @pmk_len: PMK length in bytes, usually PMK_LEN (32)
154 * @network_ctx: Network configuration context for this PMK
158 * This function create a PMKSA entry for a new PMK and adds it to the PMKSA
161 * based on the PMK and the driver interface is notified of the new PMKID.
164 pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
176 os_memcpy(entry->pmk, pmk, pmk_len);
178 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid,
195 os_memcmp(pos->pmk, pmk, pmk_len) == 0 &&
334 new_entry = pmksa_cache_add(pmksa, old_entry->pmk, old_entry->pmk_len,
356 * new AP is sharing the same PMK as another AP that has the same SSID and has