Home
last modified time | relevance | path

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

/hostap-3.7.0/src/ap/
Dieee802_1x.c149 u8 *buf, *ekey; in ieee802_1x_tx_key_one() local
209 ekey = os_malloc(ekey_len); in ieee802_1x_tx_key_one()
210 if (!ekey) { in ieee802_1x_tx_key_one()
215 os_memcpy(ekey, key->key_iv, sizeof(key->key_iv)); in ieee802_1x_tx_key_one()
216 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32); in ieee802_1x_tx_key_one()
217 rc4_skip(ekey, ekey_len, 0, (u8 *) (key + 1), key_len); in ieee802_1x_tx_key_one()
218 os_free(ekey); in ieee802_1x_tx_key_one()
/hostap-3.7.0/src/eapol_supp/
Deapol_supp_sm.c702 u8 ekey[IEEE8021X_KEY_IV_LEN + IEEE8021X_ENCR_KEY_LEN]; in eapol_sm_processKey() local
804 os_memcpy(ekey, key->key_iv, IEEE8021X_KEY_IV_LEN); in eapol_sm_processKey()
805 os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key, in eapol_sm_processKey()
808 rc4_skip(ekey, IEEE8021X_KEY_IV_LEN + encr_key_len, 0, in eapol_sm_processKey()