Home
last modified time | relevance | path

Searched refs:pasn_params (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dpasn_supplicant.c1224 struct wpa_pasn_params_data pasn_params; in wpas_pasn_auth_rx() local
1296 if (!elems.pasn_params || !elems.pasn_params_len) { in wpas_pasn_auth_rx()
1302 ret = wpa_pasn_parse_parameter_ie(elems.pasn_params - 3, in wpas_pasn_auth_rx()
1304 true, &pasn_params); in wpas_pasn_auth_rx()
1337 if (pasn->group != pasn_params.group) { in wpas_pasn_auth_rx()
1342 if (!pasn_params.pubkey || !pasn_params.pubkey_len) { in wpas_pasn_auth_rx()
1348 pasn_params.pubkey, in wpas_pasn_auth_rx()
1349 pasn_params.pubkey_len); in wpas_pasn_auth_rx()
1356 if (pasn_params.wrapped_data_format != WPA_PASN_WRAPPED_DATA_NO) { in wpas_pasn_auth_rx()
1367 ret = wpas_pasn_set_pmk(wpa_s, &rsn_data, &pasn_params, wrapped_data); in wpas_pasn_auth_rx()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c3609 struct wpa_pasn_params_data *pasn_params) in wpa_pasn_parse_parameter_ie() argument
3614 if (!pasn_params) { in wpa_pasn_parse_parameter_ie()
3627 os_memset(pasn_params, 0, sizeof(*pasn_params)); in wpa_pasn_parse_parameter_ie()
3640 pasn_params->wrapped_data_format = params->wrapped_data_format; in wpa_pasn_parse_parameter_ie()
3651 pasn_params->after = WPA_GET_LE16(pos); in wpa_pasn_parse_parameter_ie()
3662 pasn_params->comeback_len = *pos++; in wpa_pasn_parse_parameter_ie()
3664 pasn_params->comeback = pos; in wpa_pasn_parse_parameter_ie()
3665 len -= pasn_params->comeback_len; in wpa_pasn_parse_parameter_ie()
3666 pos += pasn_params->comeback_len; in wpa_pasn_parse_parameter_ie()
3676 pasn_params->group = WPA_GET_LE16(pos); in wpa_pasn_parse_parameter_ie()
[all …]
Dieee802_11_common.h119 const u8 *pasn_params; member
Dwpa_common.h666 struct wpa_pasn_params_data *pasn_params);
Dieee802_11_common.c311 elems->pasn_params = pos; in ieee802_11_parse_extension()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c3009 struct wpa_pasn_params_data pasn_params; in handle_auth_pasn_1() local
3063 if (!elems.pasn_params || !elems.pasn_params_len) { in handle_auth_pasn_1()
3070 ret = wpa_pasn_parse_parameter_ie(elems.pasn_params - 3, in handle_auth_pasn_1()
3072 false, &pasn_params); in handle_auth_pasn_1()
3080 for (i = 0; groups[i] > 0 && groups[i] != pasn_params.group; i++) in handle_auth_pasn_1()
3083 if (!pasn_params.group || groups[i] != pasn_params.group) { in handle_auth_pasn_1()
3085 pasn_params.group); in handle_auth_pasn_1()
3090 if (!pasn_params.pubkey || !pasn_params.pubkey_len) { in handle_auth_pasn_1()
3096 sta->pasn->ecdh = crypto_ecdh_init(pasn_params.group); in handle_auth_pasn_1()
3103 sta->pasn->group = pasn_params.group; in handle_auth_pasn_1()
[all …]