/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_sim.c | 117 eap_sim_msg_add(msg, EAP_SIM_AT_ANY_ID_REQ, 0, NULL, 0); in eap_sim_build_start() 133 eap_sim_msg_add(msg, EAP_SIM_AT_FULLAUTH_ID_REQ, 0, NULL, 0); in eap_sim_build_start() 136 eap_sim_msg_add(msg, EAP_SIM_AT_PERMANENT_ID_REQ, 0, NULL, 0); in eap_sim_build_start() 141 eap_sim_msg_add(msg, EAP_SIM_AT_VERSION_LIST, sizeof(ver), in eap_sim_build_start() 181 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_sim_build_encr() 186 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_sim_build_encr() 193 eap_sim_msg_add(msg, EAP_SIM_AT_NEXT_PSEUDONYM, in eap_sim_build_encr() 202 eap_sim_msg_add(msg, EAP_SIM_AT_NEXT_REAUTH_ID, in eap_sim_build_encr() 228 eap_sim_msg_add(msg, EAP_SIM_AT_RAND, 0, (u8 *) data->rand, in eap_sim_build_challenge() 238 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_sim_build_challenge() [all …]
|
D | eap_server_aka.c | 281 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, NULL, 0); in eap_aka_add_checkcode() 294 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, hash, in eap_aka_add_checkcode() 365 eap_sim_msg_add(msg, EAP_SIM_AT_ANY_ID_REQ, 0, NULL, 0); in eap_aka_build_identity() 375 eap_sim_msg_add(msg, EAP_SIM_AT_FULLAUTH_ID_REQ, 0, NULL, 0); in eap_aka_build_identity() 378 eap_sim_msg_add(msg, EAP_SIM_AT_PERMANENT_ID_REQ, 0, NULL, 0); in eap_aka_build_identity() 428 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_aka_build_encr() 433 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_aka_build_encr() 440 eap_sim_msg_add(msg, EAP_SIM_AT_NEXT_PSEUDONYM, in eap_aka_build_encr() 449 eap_sim_msg_add(msg, EAP_SIM_AT_NEXT_REAUTH_ID, in eap_aka_build_encr() 475 eap_sim_msg_add(msg, EAP_SIM_AT_RAND, 0, data->rand, EAP_AKA_RAND_LEN); in eap_aka_build_challenge() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sim.c | 466 eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0); in eap_sim_client_error() 505 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_MT, 0, in eap_sim_response_start() 509 eap_sim_msg_add(msg, EAP_SIM_AT_SELECTED_VERSION, in eap_sim_response_start() 516 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_sim_response_start() 534 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_sim_response_challenge() 561 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER_TOO_SMALL, 0, NULL, 0); in eap_sim_response_reauth() 567 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_sim_response_reauth() 577 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_sim_response_reauth() 601 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, data->counter, in eap_sim_response_notification()
|
D | eap_aka.c | 466 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, NULL, 0); in eap_aka_add_checkcode() 481 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, hash, in eap_aka_add_checkcode() 550 eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0); in eap_aka_client_error() 627 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_aka_response_identity() 644 eap_sim_msg_add(msg, EAP_SIM_AT_RES, data->res_len * 8, in eap_aka_response_challenge() 649 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_aka_response_challenge() 675 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER_TOO_SMALL, 0, NULL, 0); in eap_aka_response_reauth() 681 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_aka_response_reauth() 692 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_aka_response_reauth() 716 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, data->counter, in eap_aka_response_notification() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 1074 u8 * eap_sim_msg_add(struct eap_sim_msg *msg, u8 attr, u16 value, in eap_sim_msg_add() function 1104 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN); in eap_sim_msg_add_mac() 1114 u8 *pos = eap_sim_msg_add(msg, attr_iv, 0, NULL, EAP_SIM_IV_LEN); in eap_sim_msg_add_encr_start() 1124 pos = eap_sim_msg_add(msg, attr_encr, 0, NULL, 0); in eap_sim_msg_add_encr_start() 1153 pos = eap_sim_msg_add(msg, attr_pad, 0, NULL, pad_len - 4); in eap_sim_msg_add_encr_end()
|
D | eap_sim_common.h | 220 u8 * eap_sim_msg_add(struct eap_sim_msg *msg, u8 attr,
|