Home
last modified time | relevance | path

Searched refs:ZX_ALLOC (Results 1 – 25 of 34) sorted by relevance

12

/dports/security/p5-Net-SAML/zxid-1.42/
H A Dzxlib.c147 char* p = ZX_ALLOC(c, ss->len+1); in zx_str_to_c()
201 ss->s = ZX_ALLOC(c, len+1); in zx_new_len_str()
227 char* s = ZX_ALLOC(c, len+1); in zx_dup_len_cstr()
279 ss->g.s = ZX_ALLOC(c, len+1); in zx_new_len_attr()
333 s = ZX_ALLOC(c, 1); in zx_alloc_vasprintf()
337 s = ZX_ALLOC(c, len+1); in zx_alloc_vasprintf()
533 el = ZX_ALLOC(c, ed->siz); in zx_new_elem()
638 p = ZX_ALLOC(c, attr->len); in zx_dup_attr()
659 p = ZX_ALLOC(c, attrn->len); in zx_clone_attr()
719 p = ZX_ALLOC(c, aen->g.len); in zx_clone_elem_common()
[all …]
H A Denc-templ.c138 …c->ns_tab = ZX_ALLOC(c, sizeof(TXns_tab)); /* *** do we really need to make a copy? Do we sti…
141 buf = ZX_ALLOC(c, len+1);
H A Dzxlog.c64 p = ZX_ALLOC(cf->ctx, siz); in zxlog_alloc_zbuf()
114 sig = ZX_ALLOC(cf->ctx, 20); in zxlog_write_line()
157 sig = ZX_ALLOC(cf->ctx, len); in zxlog_write_line()
163 p = ZX_ALLOC(cf->ctx, 2 + len + zlen); in zxlog_write_line()
197 b64 = ZX_ALLOC(cf->ctx, blen); in zxlog_write_line()
227 sig = ZX_ALLOC(cf->ctx, len); in zxlog_write_line()
552 char* s = ZX_ALLOC(cf->ctx, len+1); in zxlog_path()
873 buf = ZX_ALLOC(cf->ctx, len+1); in zxbus_mint_receipt()
1005 buf = ZX_ALLOC(cf->ctx, len+1); in zxbus_verify_receipt()
H A Dzxutil.c254 buf = ZX_ALLOC(c, len+1); in read_all_alloc()
916 return ZX_ALLOC(opaque, items*size); in zx_zlib_zalloc()
951 out = ZX_ALLOC(c, dlen); in zx_zlib_raw_deflate()
988 b64 = ZX_ALLOC(c, len+1); in zxid_deflate_safe_b64_raw()
1028 out = ZX_ALLOC(c, dlen+1); in zx_zlib_raw_inflate()
1054 out = ZX_ALLOC(c, dlen+1); in zx_zlib_raw_inflate()
1094 buf = ZX_ALLOC(c, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(in_len)); in zxid_unbase64_inflate()
1187 out = ZX_ALLOC(c, olen); in zx_url_encode()
1205 b64 = ZX_ALLOC(c, SIMPLE_BASE64_LEN(len)); in zx_mk_basic_auth_b64()
H A Dzxsig.c398 sigu = ZX_ALLOC(c, siglen); in zxsig_sign()
423 sigu = ZX_ALLOC(c, siglen); in zxsig_sign()
448 sigu = ZX_ALLOC(c, siglen); in zxsig_sign()
456 sigu = ZX_ALLOC(c, siglen); in zxsig_sign()
664 old_sig_raw = ZX_ALLOC(c, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(dv->len)); in zxsig_validate()
902 *sig = ZX_ALLOC(c, len); in zxsig_data()
952 *sig = ZX_ALLOC(c, len); in zxsig_data()
985 *sig = ZX_ALLOC(c, len); in zxsig_data()
996 *sig = ZX_ALLOC(c, len); in zxsig_data()
1163 raw.s = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(ss->len)); in zxenc_symkey_dec()
[all …]
H A Dzxidmda.c74 md_buf = ZX_ALLOC(cf->ctx, siz+1); in zxid_simple_md_authority()
H A Dzxidlib.c232 url = p = ZX_ALLOC(cf->ctx, alloc_len + 1); /* +1 for nul term */ in zx_ctx_lim_get()
362 b64 = ZX_ALLOC(cf->ctx, len); in delete_zx_ctx()
366 url = ZX_ALLOC(cf->ctx, len + sizeof("&SigAlg=")-1 in delete_zx_ctx()
414 b64 = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_LEN(zlen)); in delete_zx_ctx()
418 sig = ZX_ALLOC(cf->ctx, len + sizeof(ETSIGNATURE_EQ)-1 + slen + 1); in delete_zx_ctx()
976 enve = ZX_ALLOC(cf->ctx, q-p+1); in entity_s_aamap_set()
H A Dzxbusprod.c102 p = ZX_ALLOC(cf->ctx, siz);
152 sig = ZX_ALLOC(cf->ctx, 20);
195 sig = ZX_ALLOC(cf->ctx, len);
201 p = ZX_ALLOC(cf->ctx, 2 + len + zlen);
235 b64 = ZX_ALLOC(cf->ctx, blen);
265 sig = ZX_ALLOC(cf->ctx, len);
801 bu->m = bu->ap = ZX_ALLOC(cf->ctx, ZXBUS_BUF_SIZE); in zxbus_open_bus_url()
H A Dzxiduser.c127 buf = ZX_ALLOC(cf->ctx, ZXID_MAX_USER); in zxid_get_user_nameid()
181 buf = ZX_ALLOC(cf->ctx, ZXID_MAX_USER); in zxid_put_user()
H A Dzxidcgi.c289 qqs = ZX_ALLOC(cf->ctx, len+1); in zxid_new_cgi()
331 cgi->sid = ZX_ALLOC(cf->ctx, len + 1); in zxid_get_sid_from_cookie()
H A Dzxidses.c187 ses->sesbuf = ZX_ALLOC(cf->ctx, ZXID_MAX_SES); in zxid_get_ses()
261 buf = ZX_ALLOC(cf->ctx, ZXID_MAX_SES); in zxid_put_ses()
H A Dzxidmeta.c82 pp = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(e-p)); in zxid_process_keys()
270 md_buf = ZX_ALLOC(cf->ctx, siz+1); in zxid_get_ent_file()
541 dd = d = ZX_ALLOC(cf->ctx, len); in zxid_key_info()
543 pp = p = ZX_ALLOC(cf->ctx, (len+4) * 4 / 3 + (len/64) + 6); in zxid_key_info()
848 eid = ZX_ALLOC(cf->ctx, len+sizeof("?o=B")); in zxid_my_ent_id_cstr()
H A Dzxbustailf.c230 kids = ZX_ALLOC(cf->ctx, n_thr * sizeof(pid_t)); in zxbustailf_main()
H A Dzxbuslist.c262 kids = ZX_ALLOC(cf->ctx, n_thr * sizeof(pid_t)); in zxbuslist_main()
H A Dzxidps.c126 ret = p = ZX_ALLOC(cf->ctx, len+1); in zxid_render_perms()
157 ret = p = ZX_ALLOC(cf->ctx, len+1); in zxid_render_str_list()
205 char* buf = ZX_ALLOC(cf->ctx, ZXID_MAX_USER); in zxid_put_psobj()
H A Dzxidcurl.c132 rc.buf = rc.p = ZX_ALLOC(cf->ctx, ZXID_INIT_SOAP_BUF+1); in zxid_http_cli()
172 urli = ZX_ALLOC(cf->ctx, url_len+1); in zxid_http_cli()
H A Dzxidoauth.c49 bin = ZX_ALLOC(cf->ctx, BN_num_bytes(bn)); in zxid_bn2b64()
51 b64 = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_LEN(len)+1); in zxid_bn2b64()
359 buf = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(len)); in zxid_decode_jwt()
398 b64 = ZX_ALLOC(cf->ctx, len+1); in zxid_mk_jwt()
H A Dzxidsimp.c120 cc = ZX_ALLOC(cf->ctx, len+1); in zxid_conf_to_cf_len()
128 cc = ZX_ALLOC(cf->ctx, conf_len+1); in zxid_conf_to_cf_len()
139 cc = ZX_ALLOC(cf->ctx, len+1); in zxid_conf_to_cf_len()
631 tf = ZX_ALLOC(cf->ctx, p-cf->idp_sel_templ_file+strlen(cgi->templ)+1); in zxid_idp_select_zxstr_cf_cgi()
1750 ses->ipport = ZX_ALLOC(cf->ctx, strlen(remote_addr) + 6 + 1); /* :12345 */ in zxid_simple_cf_ses()
1771 cgi.post = buf = ZX_ALLOC(cf->ctx, got + 1 /* nul term */); in zxid_simple_cf_ses()
H A Dmini_httpd_filter.c366 p = ZX_ALLOC(cf->ctx, uri_len+1+qs_len+1); in zxid_mini_httpd_sso()
500 p = ZX_ALLOC(cf->ctx, len+1+qs_len+1); in zxid_mini_httpd_check_redirect_hack()
H A Dzxns.c141 ns->prefix = ZX_ALLOC(c, prefix_len+1); in zx_new_unknown_ns()
145 ns->url = ZX_ALLOC(c, url_len+1); in zx_new_unknown_ns()
H A Dzxiddec.c99 msg = ZX_ALLOC(cf->ctx, SIMPLE_BASE64_PESSIMISTIC_DECODE_LEN(msglen)); in zxid_decode_redir_or_post()
H A Dzxcall.c477 p = bdy = ZX_ALLOC(cf->ctx, siz); in zxcall_main()
H A Dzxlibenc.c309 buf = ZX_ALLOC(c, len+1); in zx_EASY_ENC_elem()
H A Dzxiduma.c125 b64 = ZX_ALLOC(cf->ctx, len+1); in zxid_mk_jwt()
H A Dzxidoidc.c125 b64 = ZX_ALLOC(cf->ctx, len+1); in zxid_mk_jwt()

12