Searched refs:ptk_len (Results 1 – 4 of 4) sorted by relevance
/hostap-3.7.0/wlantest/ |
D | wlantest.c | 211 size_t ptk_len; in add_ptk_file() local 226 ptk_len = pos - buf; in add_ptk_file() 227 if (ptk_len & 1) in add_ptk_file() 229 ptk_len /= 2; in add_ptk_file() 230 if (ptk_len != 16 && ptk_len != 32 && in add_ptk_file() 231 ptk_len != 48 && ptk_len != 64) in add_ptk_file() 233 if (hexstr2bin(buf, ptk, ptk_len) < 0) in add_ptk_file() 238 if (ptk_len < 48) { in add_ptk_file() 239 os_memcpy(p->ptk.tk, ptk, ptk_len); in add_ptk_file() 240 p->ptk.tk_len = ptk_len; in add_ptk_file() [all …]
|
D | wlantest.h | 45 size_t ptk_len; member
|
D | rx_eapol.c | 201 ptk->ptk_len = 32 + in derive_ptk()
|
/hostap-3.7.0/src/common/ |
D | wpa_common.c | 359 size_t ptk_len; in wpa_pmk_to_ptk() local 417 ptk_len = ptk->kck_len + ptk->kek_len + ptk->tk_len + ptk->kdk_len; in wpa_pmk_to_ptk() 423 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 431 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 438 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 443 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 448 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 459 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 464 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() 469 tmp, ptk_len) < 0) in wpa_pmk_to_ptk() [all …]
|