Home
last modified time | relevance | path

Searched refs:mac_id (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_pax.c34 u8 mac_id, dh_group_id, public_key_id; member
114 pax->mac_id = req->mac_id; in eap_pax_alloc_resp()
187 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
214 eap_pax_mac(req->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_1()
224 eap_pax_mac(req->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_1()
230 data->mac_id = req->mac_id; in eap_pax_process_std_1()
285 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3()
315 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3()
354 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
359 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process()
[all …]
/external/wpa_supplicant/
Deap_pax.c35 u8 mac_id, dh_group_id, public_key_id; member
124 resp->mac_id = req->mac_id; in eap_pax_alloc_resp()
198 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
229 eap_pax_mac(req->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_1()
239 eap_pax_mac(req->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_1()
246 data->mac_id = req->mac_id; in eap_pax_process_std_1()
303 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3()
335 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3()
373 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
378 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process()
[all …]
Deap_pax_common.c36 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() argument
52 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_kdf()
92 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument
104 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac()
132 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument
136 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation()
138 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation()
140 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation()
Deap_pax_common.h29 u8 mac_id; member
89 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len,
93 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len,
98 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_pax_common.c36 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() argument
52 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_kdf()
92 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument
104 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac()
132 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument
136 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation()
138 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation()
140 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation()
Deap_pax_common.h25 u8 mac_id; member
85 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len,
89 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len,
94 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_pax.c32 u8 mac_id; member
62 data->mac_id = EAP_PAX_MAC_HMAC_SHA1_128; in eap_pax_init()
104 pax->mac_id = data->mac_id; in eap_pax_build_std_1()
114 eap_pax_mac(data->mac_id, (u8 *) "", 0, in eap_pax_build_std_1()
145 pax->mac_id = data->mac_id; in eap_pax_build_std_3()
151 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_build_std_3()
161 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_build_std_3()
209 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
234 if (data->mac_id != resp->mac_id) { in eap_pax_check()
236 "received 0x%x", data->mac_id, resp->mac_id); in eap_pax_check()
[all …]