Searched refs:mac_id (Results 1 – 4 of 4) sorted by relevance
/hostap-3.6.0/src/eap_common/ |
D | eap_pax_common.c | 30 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() 87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument 99 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac() 129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument 133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation() 135 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation() 137 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation() 139 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Method ID", in eap_pax_initial_key_derivation()
|
D | eap_pax_common.h | 19 u8 mac_id; member 80 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, 84 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, 89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
|
/hostap-3.6.0/src/eap_peer/ |
D | eap_pax.c | 27 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 if (eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3() 315 if (eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3() 357 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process() 362 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process() [all …]
|
/hostap-3.6.0/src/eap_server/ |
D | eap_server_pax.c | 27 u8 mac_id; member 58 data->mac_id = EAP_PAX_MAC_HMAC_SHA1_128; in eap_pax_init() 100 pax->mac_id = data->mac_id; in eap_pax_build_std_1() 110 if (eap_pax_mac(data->mac_id, (u8 *) "", 0, in eap_pax_build_std_1() 146 pax->mac_id = data->mac_id; in eap_pax_build_std_3() 152 if (eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_build_std_3() 166 if (eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_build_std_3() 219 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check() 244 if (data->mac_id != resp->mac_id) { in eap_pax_check() 246 "received 0x%x", data->mac_id, resp->mac_id); in eap_pax_check() [all …]
|