Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_pax_common.c30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() argument
46 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_kdf()
86 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument
98 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac()
126 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument
130 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation()
132 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation()
134 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation()
Deap_pax_common.h19 u8 mac_id; member
79 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len,
83 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len,
88 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
/external/wpa_supplicant_8/src/eap_peer/
Deap_pax.c27 u8 mac_id, dh_group_id, public_key_id; member
107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp()
180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
207 eap_pax_mac(req->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_1()
217 eap_pax_mac(req->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_1()
223 data->mac_id = req->mac_id; in eap_pax_process_std_1()
278 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3()
308 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3()
347 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
352 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pax.c27 u8 mac_id; member
57 data->mac_id = EAP_PAX_MAC_HMAC_SHA1_128; in eap_pax_init()
99 pax->mac_id = data->mac_id; in eap_pax_build_std_1()
109 eap_pax_mac(data->mac_id, (u8 *) "", 0, in eap_pax_build_std_1()
140 pax->mac_id = data->mac_id; in eap_pax_build_std_3()
146 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_build_std_3()
156 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_build_std_3()
204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
229 if (data->mac_id != resp->mac_id) { in eap_pax_check()
231 "received 0x%x", data->mac_id, resp->mac_id); in eap_pax_check()
[all …]