/external/wpa_supplicant_8/src/eap_server/ |
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 …]
|
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 …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_aka.c | 487 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, NULL, 0); in eap_aka_add_checkcode() 502 eap_sim_msg_add(msg, EAP_SIM_AT_CHECKCODE, 0, hash, in eap_aka_add_checkcode() 571 eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0); in eap_aka_client_error() 613 eap_sim_msg_add(msg, EAP_SIM_AT_KDF, attr->kdf[i], in eap_aka_synchronization_failure() 657 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_aka_response_identity() 674 eap_sim_msg_add(msg, EAP_SIM_AT_RES, data->res_len * 8, in eap_aka_response_challenge() 679 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_aka_response_challenge() 705 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER_TOO_SMALL, 0, NULL, 0); in eap_aka_response_reauth() 711 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_aka_response_reauth() 722 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_aka_response_reauth() [all …]
|
D | eap_sim.c | 487 eap_sim_msg_add(msg, EAP_SIM_AT_CLIENT_ERROR_CODE, err, NULL, 0); in eap_sim_client_error() 526 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_MT, 0, in eap_sim_response_start() 530 eap_sim_msg_add(msg, EAP_SIM_AT_SELECTED_VERSION, in eap_sim_response_start() 537 eap_sim_msg_add(msg, EAP_SIM_AT_IDENTITY, identity_len, in eap_sim_response_start() 555 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_sim_response_challenge() 582 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER_TOO_SMALL, 0, NULL, 0); in eap_sim_response_reauth() 588 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_sim_response_reauth() 598 eap_sim_msg_add(msg, EAP_SIM_AT_RESULT_IND, 0, NULL, 0); in eap_sim_response_reauth() 622 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, data->counter, in eap_sim_response_notification()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 1071 u8 * eap_sim_msg_add(struct eap_sim_msg *msg, u8 attr, u16 value, in eap_sim_msg_add() function 1101 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN); in eap_sim_msg_add_mac() 1111 u8 *pos = eap_sim_msg_add(msg, attr_iv, 0, NULL, EAP_SIM_IV_LEN); in eap_sim_msg_add_encr_start() 1121 pos = eap_sim_msg_add(msg, attr_encr, 0, NULL, 0); in eap_sim_msg_add_encr_start() 1150 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,
|