Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/utils/
H A Djson.h12 struct json_token { struct
31 struct json_token *parent, *child, *sibling; argument
35 struct json_token * json_parse(const char *data, size_t data_len);
36 void json_free(struct json_token *json);
37 struct json_token * json_get_member(struct json_token *json, const char *name);
38 struct wpabuf * json_get_member_base64url(struct json_token *json,
40 struct wpabuf * json_get_member_base64(struct json_token *json,
42 void json_print_tree(struct json_token *root, char *buf, size_t buflen);
H A Djson.c191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state()
209 static struct json_token * json_alloc_token(unsigned int *tokens) in json_alloc_token()
216 return os_zalloc(sizeof(struct json_token)); in json_alloc_token()
220 struct json_token * json_parse(const char *data, size_t data_len) in json_parse()
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse()
481 void json_free(struct json_token *json) in json_free()
493 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member()
495 struct json_token *token, *ret = NULL; in json_get_member()
508 struct wpabuf * json_get_member_base64url(struct json_token *json, in json_get_member_base64url()
511 struct json_token *token; in json_get_member_base64url()
[all …]
H A Dutils_module_tests.c892 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.c2285 struct json_token *root = NULL, *token; in dpp_conf_req_rx()
2550 struct json_token *cred) in dpp_parse_cred_legacy()
2552 struct json_token *pass, *psk_hex; in dpp_parse_cred_legacy()
2596 struct crypto_ec_key * dpp_parse_jwk(struct json_token *jwk, in dpp_parse_jwk()
2599 struct json_token *token; in dpp_parse_jwk()
2754 struct json_token *root, *groups, *netkey, *token; in dpp_parse_connector()
2772 struct json_token *id, *role; in dpp_parse_connector()
2898 struct json_token *cred) in dpp_parse_cred_dpp()
2901 struct json_token *token, *csign, *ppkey; in dpp_parse_cred_dpp()
2993 struct json_token *cred) in dpp_parse_cred_dot1x()
[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;