wifi: Add PMK caching feature for station WPA2-enterprise

4. Pmksa cache expiry after dot11RSNAConfigPMKLifetime timeout.
This commit is contained in:
Hrudaynath Dhabe
2019-10-15 13:56:07 +05:30
committed by bot
parent bd5d086475
commit 4d3356be52
7 changed files with 373 additions and 417 deletions

View File

@@ -286,7 +286,7 @@ char * wpa_config_parse_string(const char *value, size_t *len)
}
int is_hex(const u8 *data, size_t len)
int wpa_is_hex(const u8 *data, size_t len)
{
size_t i;
@@ -298,7 +298,7 @@ int is_hex(const u8 *data, size_t len)
}
size_t merge_byte_arrays(u8 *res, size_t res_len,
size_t wpa_merge_byte_arrays(u8 *res, size_t res_len,
const u8 *src1, size_t src1_len,
const u8 *src2, size_t src2_len)
{
@@ -344,7 +344,7 @@ char * dup_binstr(const void *src, size_t len)
return res;
}
void bin_clear_free(void *bin, size_t len)
void wpa_bin_clear_free(void *bin, size_t len)
{
if (bin) {
os_memset(bin, 0, len);