Lines Matching refs:pmk_r0_len
2367 int wpa_derive_pmk_r1(const u8 *pmk_r0, size_t pmk_r0_len, in wpa_derive_pmk_r1() argument
2378 pmk_r0_len * 8); in wpa_derive_pmk_r1()
2379 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, pmk_r0_len); in wpa_derive_pmk_r1()
2390 if (pmk_r0_len == SHA512_MAC_LEN) in wpa_derive_pmk_r1()
2391 res = sha512_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
2392 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
2395 if (pmk_r0_len == SHA384_MAC_LEN) in wpa_derive_pmk_r1()
2396 res = sha384_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
2397 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
2399 if (pmk_r0_len == SHA256_MAC_LEN) in wpa_derive_pmk_r1()
2400 res = sha256_prf(pmk_r0, pmk_r0_len, "FT-R1", in wpa_derive_pmk_r1()
2401 buf, pos - buf, pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
2406 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, pmk_r0_len); in wpa_derive_pmk_r1()
2409 pmk_r1_name, pmk_r0_len); in wpa_derive_pmk_r1()