Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/hs20/client/
H A Dosu_client.h27 struct hs20_osu_client { struct
60 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) argument
62 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...)
65 void debug_dump_node(struct hs20_osu_client *ctx, const char *title,
67 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert);
68 int hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri,
70 void get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps,
72 int update_pps_file(struct hs20_osu_client *ctx, const char *pps_fname,
74 void cmd_set_pps(struct hs20_osu_client *ctx, const char *pps_fname);
79 void spp_sub_rem(struct hs20_osu_client *ctx, const char *address,
[all …]
H A Doma_dm_client.c66 static void add_item(struct hs20_osu_client *ctx, xml_node_t *parent,
78 static char * oma_dm_get_target_locuri(struct hs20_osu_client *ctx, in oma_dm_get_target_locuri()
96 static void oma_dm_add_locuri(struct hs20_osu_client *ctx, xml_node_t *parent, in oma_dm_add_locuri()
108 static xml_node_t * oma_dm_build_hdr(struct hs20_osu_client *ctx, in oma_dm_build_hdr()
136 static void oma_dm_add_cmdid(struct hs20_osu_client *ctx, xml_node_t *parent, in oma_dm_add_cmdid()
143 static xml_node_t * add_alert(struct hs20_osu_client *ctx, xml_node_t *parent, in add_alert()
158 static xml_node_t * add_status(struct hs20_osu_client *ctx, xml_node_t *parent, in add_status()
183 static xml_node_t * add_results(struct hs20_osu_client *ctx, xml_node_t *parent, in add_results()
202 static char * mo_str(struct hs20_osu_client *ctx, const char *urn, in mo_str()
226 static void add_item(struct hs20_osu_client *ctx, xml_node_t *parent, in add_item()
[all …]
H A Dspp_client.c26 static int hs20_spp_update_response(struct hs20_osu_client *ctx,
31 struct hs20_osu_client *ctx, const char *pps_fname);
41 static int hs20_spp_validate(struct hs20_osu_client *ctx, xml_node_t *node, in hs20_spp_validate()
107 static xml_node_t * build_spp_post_dev_data(struct hs20_osu_client *ctx, in build_spp_post_dev_data()
147 static int process_update_node(struct hs20_osu_client *ctx, xml_node_t *pps, in process_update_node()
293 static int update_pps(struct hs20_osu_client *ctx, xml_node_t *update, in update_pps()
307 static void hs20_sub_rem_complete(struct hs20_osu_client *ctx, in hs20_sub_rem_complete()
326 static xml_node_t * hs20_spp_upload_mo(struct hs20_osu_client *ctx, in hs20_spp_upload_mo()
375 static int hs20_add_mo(struct hs20_osu_client *ctx, xml_node_t *add_mo, in hs20_add_mo()
409 static int process_spp_user_input_response(struct hs20_osu_client *ctx, in process_spp_user_input_response()
[all …]
H A Dosu_client.c31 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) in write_result()
57 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) in write_summary()
77 void debug_dump_node(struct hs20_osu_client *ctx, const char *title, in debug_dump_node()
137 int osu_get_certificate(struct hs20_osu_client *ctx, xml_node_t *getcert) in osu_get_certificate()
218 static int process_est_cert(struct hs20_osu_client *ctx, xml_node_t *cert, in process_est_cert()
304 static int download_cert(struct hs20_osu_client *ctx, xml_node_t *params, in download_cert()
395 static int cmd_dl_osu_ca(struct hs20_osu_client *ctx, const char *pps_fname, in cmd_dl_osu_ca()
422 static int cmd_dl_polupd_ca(struct hs20_osu_client *ctx, const char *pps_fname, in cmd_dl_polupd_ca()
449 static int cmd_dl_aaa_ca(struct hs20_osu_client *ctx, const char *pps_fname, in cmd_dl_aaa_ca()
483 static int download_trust_roots(struct hs20_osu_client *ctx, in download_trust_roots()
[all …]
H A Dest.c28 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert()
118 int est_load_cacerts(struct hs20_osu_client *ctx, const char *url) in est_load_cacerts()
246 static void add_csrattrs_oid(struct hs20_osu_client *ctx, ASN1_OBJECT *oid, in add_csrattrs_oid()
269 static void add_csrattrs_ext_req(struct hs20_osu_client *ctx, in add_csrattrs_ext_req()
300 static void add_csrattrs_attr(struct hs20_osu_client *ctx, Attribute *attr, in add_csrattrs_attr()
332 static void add_csrattrs(struct hs20_osu_client *ctx, CsrAttrs *csrattrs, in add_csrattrs()
363 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, in generate_csr()
575 int est_build_csr(struct hs20_osu_client *ctx, const char *url) in est_build_csr()
648 int est_simple_enroll(struct hs20_osu_client *ctx, const char *url, in est_simple_enroll()