Lines Matching refs:id
115 int id, size_t length, u8 subtype) in eap_sake_build_msg() argument
124 EAP_CODE_RESPONSE, id); in eap_sake_build_msg()
143 u8 id, in eap_sake_process_identity() argument
168 resp = eap_sake_build_msg(data, id, 2 + data->peerid_len, in eap_sake_process_identity()
186 u8 id, in eap_sake_process_challenge() argument
251 resp = eap_sake_build_msg(data, id, rlen, EAP_SAKE_SUBTYPE_CHALLENGE); in eap_sake_process_challenge()
288 u8 id, in eap_sake_process_confirm() argument
325 return eap_sake_build_msg(data, id, 0, in eap_sake_process_confirm()
336 return eap_sake_build_msg(data, id, 0, in eap_sake_process_confirm()
342 resp = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
379 u8 subtype, session_id, id; in eap_sake_process() local
389 id = eap_get_id(reqData); in eap_sake_process()
415 resp = eap_sake_process_identity(sm, data, ret, id, in eap_sake_process()
419 resp = eap_sake_process_challenge(sm, data, ret, id, in eap_sake_process()
423 resp = eap_sake_process_confirm(sm, data, ret, id, reqData, in eap_sake_process()
467 u8 *id; in eap_sake_get_session_id() local
473 id = os_malloc(*len); in eap_sake_get_session_id()
474 if (id == NULL) in eap_sake_get_session_id()
477 id[0] = EAP_TYPE_SAKE; in eap_sake_get_session_id()
478 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
479 os_memcpy(id + 1 + EAP_SAKE_RAND_LEN, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
480 wpa_hexdump(MSG_DEBUG, "EAP-SAKE: Derived Session-Id", id, *len); in eap_sake_get_session_id()
482 return id; in eap_sake_get_session_id()