Home
last modified time | relevance | path

Searched refs:dppcon (Results 1 – 5 of 5) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_reconfig.c174 struct wpabuf *dppcon = NULL; in dpp_configurator_build_own_connector() local
188 dppcon = wpabuf_alloc(1000 + 2 * curve->prime_len * 4 / 3); in dpp_configurator_build_own_connector()
189 if (!dppcon) in dpp_configurator_build_own_connector()
191 json_start_object(dppcon, NULL); in dpp_configurator_build_own_connector()
192 json_start_array(dppcon, "groups"); in dpp_configurator_build_own_connector()
193 json_start_object(dppcon, NULL); in dpp_configurator_build_own_connector()
194 json_add_string(dppcon, "groupId", "*"); in dpp_configurator_build_own_connector()
195 json_value_sep(dppcon); in dpp_configurator_build_own_connector()
196 json_add_string(dppcon, "netRole", "configurator"); in dpp_configurator_build_own_connector()
197 json_end_object(dppcon); in dpp_configurator_build_own_connector()
[all …]
Ddpp.c1426 struct wpabuf *dppcon = NULL; in dpp_build_conf_obj_dpp() local
1455 dppcon = wpabuf_alloc(extra_len + 2 * auth->curve->prime_len * 4 / 3); in dpp_build_conf_obj_dpp()
1456 if (!dppcon) in dpp_build_conf_obj_dpp()
1460 wpabuf_put_u8(dppcon, '{'); in dpp_build_conf_obj_dpp()
1465 wpabuf_put_str(dppcon, "\"groups\":"); in dpp_build_conf_obj_dpp()
1466 wpabuf_put_str(dppcon, auth->groups_override); in dpp_build_conf_obj_dpp()
1467 json_value_sep(dppcon); in dpp_build_conf_obj_dpp()
1472 json_start_object(dppcon, NULL); in dpp_build_conf_obj_dpp()
1473 json_start_array(dppcon, "groups"); in dpp_build_conf_obj_dpp()
1474 json_start_object(dppcon, NULL); in dpp_build_conf_obj_dpp()
[all …]
Ddpp_i.h138 const struct wpabuf *dppcon);
Ddpp_crypto.c1932 const struct wpabuf *dppcon) in dpp_sign_connector() argument
1939 signed2 = base64_url_encode(wpabuf_head(dppcon), wpabuf_len(dppcon), in dpp_sign_connector()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c4592 struct wpabuf *dppcon = NULL; in dpp_build_conf_obj_dpp() local
4638 dppcon = wpabuf_alloc(extra_len + 2 * auth->curve->prime_len * 4 / 3); in dpp_build_conf_obj_dpp()
4639 if (!dppcon) in dpp_build_conf_obj_dpp()
4643 wpabuf_put_u8(dppcon, '{'); in dpp_build_conf_obj_dpp()
4648 wpabuf_put_str(dppcon, "\"groups\":"); in dpp_build_conf_obj_dpp()
4649 wpabuf_put_str(dppcon, auth->groups_override); in dpp_build_conf_obj_dpp()
4650 wpabuf_put_u8(dppcon, ','); in dpp_build_conf_obj_dpp()
4655 wpabuf_printf(dppcon, "{\"groups\":[{\"groupId\":\"%s\",", in dpp_build_conf_obj_dpp()
4657 wpabuf_printf(dppcon, "\"netRole\":\"%s\"}],", ap ? "ap" : "sta"); in dpp_build_conf_obj_dpp()
4661 if (dpp_build_jwk(dppcon, "netAccessKey", auth->peer_protocol_key, NULL, in dpp_build_conf_obj_dpp()
[all …]