Home
last modified time | relevance | path

Searched refs:json_token (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/wpa/src/utils/
H A Djson.h12 struct json_token { struct
33 struct json_token *parent, *child, *sibling; argument
37 struct json_token * json_parse(const char *data, size_t data_len);
38 void json_free(struct json_token *json);
39 struct json_token * json_get_member(struct json_token *json, const char *name);
40 struct wpabuf * json_get_member_base64url(struct json_token *json,
42 struct wpabuf * json_get_member_base64(struct json_token *json,
44 void json_print_tree(struct json_token *root, char *buf, size_t buflen);
H A Djson.c239 static int json_check_tree_state(struct json_token *token) in json_check_tree_state()
257 static struct json_token * json_alloc_token(unsigned int *tokens) in json_alloc_token()
264 return os_zalloc(sizeof(struct json_token)); in json_alloc_token()
268 struct json_token * json_parse(const char *data, size_t data_len) in json_parse()
270 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse()
565 void json_free(struct json_token *json) in json_free()
577 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member()
579 struct json_token *token, *ret = NULL; in json_get_member()
592 struct wpabuf * json_get_member_base64url(struct json_token *json, in json_get_member_base64url()
595 struct json_token *token; in json_get_member_base64url()
[all …]
H A Dutils_module_tests.c967 struct json_token *root; in json_tests()
/freebsd/contrib/wpa/src/common/
H A Ddpp_i.h47 struct json_token * dpp_parse_own_connector(const char *own_connector);
48 int dpp_connector_match_groups(struct json_token *own_root,
49 struct json_token *peer_root, bool reconfig);
53 struct crypto_ec_key * dpp_parse_jwk(struct json_token *jwk,
138 struct json_token *peer_net_access_key);
141 struct json_token *net_access_key);
H A Ddpp.c2334 struct json_token *root = NULL, *token; in dpp_conf_req_rx()
2611 struct json_token *cred) in dpp_parse_cred_legacy()
2613 struct json_token *pass, *psk_hex; in dpp_parse_cred_legacy()
2623 struct json_token *saepi = json_get_member(cred, "idpass"); in dpp_parse_cred_legacy()
2669 struct crypto_ec_key * dpp_parse_jwk(struct json_token *jwk, in dpp_parse_jwk()
2672 struct json_token *token; in dpp_parse_jwk()
2827 struct json_token *root, *groups, *netkey, *token; in dpp_parse_connector()
2845 struct json_token *id, *role; in dpp_parse_connector()
2971 struct json_token *cred) in dpp_parse_cred_dpp()
2974 struct json_token *token, *csign, *ppkey; in dpp_parse_cred_dpp()
[all …]
H A Ddpp_reconfig.c450 struct json_token *root = NULL, *own_root = NULL, *token; in dpp_reconfig_auth_req_rx()
675 struct json_token *root = NULL, *token, *conn_status_json = NULL; in dpp_reconfig_auth_resp_rx()
H A Ddpp_crypto.c612 struct json_token *root, *token; in dpp_parse_jws_prot_hdr()
1685 struct json_token *peer_net_access_key) in dpp_reconfig_derive_ke_responder()
1787 struct json_token *net_access_key) in dpp_reconfig_derive_ke_initiator()
H A Ddpp.h22 struct json_token;
/freebsd/contrib/wpa/src/ap/
H A Dafc.c405 struct json_token *freq_info) in hostad_afc_parse_available_freq_info()
408 struct json_token *freq_obj; in hostad_afc_parse_available_freq_info()
413 struct json_token *freq_range_obj, *token; in hostad_afc_parse_available_freq_info()
525 struct json_token *chan_info) in hostad_afc_parse_available_chan_info()
528 struct json_token *chan_obj; in hostad_afc_parse_available_chan_info()
533 struct json_token *chan_cfi, *max_eirp; in hostad_afc_parse_available_chan_info()
534 struct json_token *token, *chan_arr, *power_arr; in hostad_afc_parse_available_chan_info()
588 static int hostad_afc_get_timeout(struct json_token *obj) in hostad_afc_get_timeout()
613 struct json_token *root = NULL, *reply_obj, *token; in hostapd_afc_parse_reply()
651 struct json_token *reply_elem, *response; in hostapd_afc_parse_reply()