Lines Matching refs:ek
1336 u8 ek[32]; in wpa_supplicant_process_1_of_2_wpa() local
1343 os_memcpy(ek, key->key_iv, 16); in wpa_supplicant_process_1_of_2_wpa()
1344 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_process_1_of_2_wpa()
1346 if (rc4_skip(ek, 32, 256, gd->gtk, key_data_len)) { in wpa_supplicant_process_1_of_2_wpa()
1347 os_memset(ek, 0, sizeof(ek)); in wpa_supplicant_process_1_of_2_wpa()
1352 os_memset(ek, 0, sizeof(ek)); in wpa_supplicant_process_1_of_2_wpa()
1567 u8 ek[32]; in wpa_supplicant_decrypt_key_data() local
1568 os_memcpy(ek, key->key_iv, 16); in wpa_supplicant_decrypt_key_data()
1569 os_memcpy(ek + 16, sm->ptk.kek, sm->ptk.kek_len); in wpa_supplicant_decrypt_key_data()
1570 if (rc4_skip(ek, 32, 256, key_data, *key_data_len)) { in wpa_supplicant_decrypt_key_data()
1571 os_memset(ek, 0, sizeof(ek)); in wpa_supplicant_decrypt_key_data()
1576 os_memset(ek, 0, sizeof(ek)); in wpa_supplicant_decrypt_key_data()