Home | History | Annotate | Download | only in common

Lines Matching refs:PMK_LEN

121  * @pmk_len: Length of PMK
141 int wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
175 sha256_prf(pmk, pmk_len, label, data, sizeof(data),
179 sha1_prf(pmk, pmk_len, label, data, sizeof(data), tmp, ptk_len);
185 wpa_hexdump_key(MSG_DEBUG, "WPA: PMK", pmk, pmk_len);
860 os_memcpy(pmk_r0, r0_key_data, PMK_LEN);
867 addr[1] = r0_key_data + PMK_LEN;
924 sha256_prf(pmk_r0, PMK_LEN, "FT-R1", buf, pos - buf, pmk_r1, PMK_LEN);
966 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, tmp, ptk_len);
1008 * @pmk_len: Length of pmk in bytes
1017 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
1031 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash);
1034 hmac_sha1_vector(pmk, pmk_len, 3, addr, len, hash);