Home | History | Annotate | Download | only in common

Lines Matching refs:ptk

68  * wpa_pmk_to_ptk - Calculate PTK from PMK, addresses, and nonces
76 * @ptk: Buffer for pairwise transient key
77 * @ptk_len: Length of PTK
81 * PTK = PRF-X(PMK, "Pairwise key expansion",
92 u8 *ptk, size_t ptk_len, int use_sha256)
117 ptk, ptk_len);
120 sha1_prf(pmk, pmk_len, label, data, sizeof(data), ptk,
123 wpa_printf(MSG_DEBUG, "WPA: PTK derivation - A1=" MACSTR " A2=" MACSTR,
128 wpa_hexdump_key(MSG_DEBUG, "WPA: PTK", ptk, ptk_len);
805 * wpa_pmk_r1_to_ptk - Derive PTK and PTKName from PMK-R1
812 u8 *ptk, size_t ptk_len, u8 *ptk_name)
820 * PTK = KDF-PTKLen(PMK-R1, "FT-PTK", SNonce || ANonce ||
833 sha256_prf(pmk_r1, PMK_LEN, "FT-PTK", buf, pos - buf, ptk, ptk_len);