Home
last modified time | relevance | path

Searched refs:keydata (Results 1 – 4 of 4) sorted by relevance

/hostap-3.6.0/tests/hwsim/
Dtest_wnm.py1511 keydata = struct.pack("<BB", 0, 1)
1514 len(keydata))
1515 msg['payload'] += keydata
1524 keydata = struct.pack("<BB", WNM_SLEEP_SUBELEM_GTK, 0)
1527 len(keydata))
1528 msg['payload'] += keydata
1537 keydata = struct.pack("<BBHB2L4L", WNM_SLEEP_SUBELEM_GTK, 11 + 16,
1541 len(keydata))
1542 msg['payload'] += keydata
1551 keydata = struct.pack("<BBHB2L4L", WNM_SLEEP_SUBELEM_GTK, 11 + 16,
[all …]
/hostap-3.6.0/src/eapol_supp/
Deapol_supp_sm.c699 struct eap_key_data keydata; in eapol_sm_processKey() local
737 res = eapol_sm_get_key(sm, (u8 *) &keydata, sizeof(keydata)); in eapol_sm_processKey()
745 res = eapol_sm_get_key(sm, (u8 *) &keydata, 16); in eapol_sm_processKey()
753 os_memcpy(keydata.sign_key, keydata.encr_key, 16); in eapol_sm_processKey()
777 hmac_md5(keydata.sign_key, sign_key_len, in eapol_sm_processKey()
805 os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key, in eapol_sm_processKey()
824 os_memcpy(datakey, keydata.encr_key, key_len); in eapol_sm_processKey()
/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()
377 const u8 *keydata, u16 keydatalen, in decrypt_eapol_key_data_aes() argument
391 if (aes_unwrap(kek, 16, keydatalen / 8, keydata, buf)) { in decrypt_eapol_key_data_aes()
411 const u8 *mic, *keydata; in decrypt_eapol_key_data() local
418 keydata = mic + mic_len + 2; in decrypt_eapol_key_data()
423 return decrypt_eapol_key_data_rc4(wt, kek, hdr, keydata, in decrypt_eapol_key_data()
427 return decrypt_eapol_key_data_aes(wt, kek, hdr, keydata, in decrypt_eapol_key_data()
431 return decrypt_eapol_key_data_aes(wt, kek, hdr, keydata, in decrypt_eapol_key_data()
/hostap-3.6.0/src/rsn_supp/
Dwpa.c1851 const u8 *keydata, 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()