Home
last modified time | relevance | path

Searched refs:keydatalen (Results 1 – 2 of 2) sorted by relevance

/hostap-3.6.0/wlantest/
Drx_eapol.c353 const u8 *keydata, u16 keydatalen, in decrypt_eapol_key_data_rc4() argument
358 buf = os_memdup(keydata, keydatalen); in decrypt_eapol_key_data_rc4()
364 if (rc4_skip(ek, 32, 256, buf, keydatalen)) { in decrypt_eapol_key_data_rc4()
370 *len = keydatalen; in decrypt_eapol_key_data_rc4()
377 const u8 *keydata, u16 keydatalen, in decrypt_eapol_key_data_aes() argument
382 if (keydatalen % 8) { in decrypt_eapol_key_data_aes()
384 keydatalen); in decrypt_eapol_key_data_aes()
387 keydatalen -= 8; /* AES-WRAP adds 8 bytes */ in decrypt_eapol_key_data_aes()
388 buf = os_malloc(keydatalen); in decrypt_eapol_key_data_aes()
391 if (aes_unwrap(kek, 16, keydatalen / 8, keydata, buf)) { in decrypt_eapol_key_data_aes()
[all …]
/hostap-3.6.0/src/rsn_supp/
Dwpa.c1852 size_t keydatalen, in wpa_supplicant_process_1_of_2_rsn() argument
1861 keydata, keydatalen); in wpa_supplicant_process_1_of_2_rsn()
1862 if (wpa_supplicant_parse_ies(keydata, keydatalen, &ie) < 0) in wpa_supplicant_process_1_of_2_rsn()