wpa_supplicant: Fix issues reported by coverity

This commit is contained in:
Kapil Gupta
2022-04-26 15:23:43 +05:30
parent adb04c5ab1
commit f070e2db6d
13 changed files with 49 additions and 166 deletions

View File

@@ -646,10 +646,6 @@ const char * wpa_cipher_txt(int cipher)
* PTK = PRF-X(PMK, "Pairwise key expansion",
* Min(AA, SA) || Max(AA, SA) ||
* Min(ANonce, SNonce) || Max(ANonce, SNonce))
*
* STK = PRF-X(SMK, "Peer key expansion",
* Min(MAC_I, MAC_P) || Max(MAC_I, MAC_P) ||
* Min(INonce, PNonce) || Max(INonce, PNonce))
*/
int wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
const u8 *addr1, const u8 *addr2,