Home
last modified time | relevance | path

Searched refs:racoon_malloc (Results 1 – 25 of 29) sorted by relevance

12

/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Ddebugrm.h40 #ifndef racoon_malloc
41 #define racoon_malloc(sz) malloc((sz)) macro
56 #ifndef racoon_malloc
57 #define racoon_malloc(sz) \ macro
Dgcmalloc.h91 #define racoon_malloc(sz) GC_debug_malloc(sz, GC_EXTRAS) macro
110 #ifndef racoon_malloc
111 #define racoon_malloc(sz) malloc((sz)) macro
Dprivsep.c159 if ((combuf = (struct admin_com *)racoon_malloc(com.ac_len)) == NULL) { in privsep_recv()
357 if ((reply = racoon_malloc(sizeof(*reply))) == NULL) { in privsep_init()
454 envp = racoon_malloc((envc + 1) * sizeof(char *)); in privsep_init()
899 if ((msg = racoon_malloc(len)) == NULL) { in privsep_eay_get_pkcs1privkey()
945 if ((msg = racoon_malloc(sizeof(*msg))) == NULL) { in privsep_script_exec()
1053 if ((msg = racoon_malloc(len)) == NULL) { in privsep_getpsk()
1112 if ((msg = racoon_malloc(len)) == NULL) { in privsep_socket()
1178 if ((msg = racoon_malloc(len)) == NULL) { in privsep_bind()
1252 if ((msg = racoon_malloc(len)) == NULL) { in privsep_setsockopt()
1313 if ((msg = racoon_malloc(len)) == NULL) { in privsep_xauth_login_system()
[all …]
Dlogger.c68 p = (struct log *)racoon_malloc(sizeof(*p)); in log_open()
73 p->buf = (char **)racoon_malloc(sizeof(char *) * siz); in log_open()
80 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t) * siz); in log_open()
Dstr2val.c57 if ((new = racoon_malloc(len)) == 0) return(0); in val2str()
98 if ((dst = racoon_malloc(i)) == NULL) in str2val()
Devt.c142 if ((evtdump = racoon_malloc(len)) == NULL) { in evt_push()
148 if ((evt = racoon_malloc(sizeof(*evt))) == NULL) { in evt_push()
224 if ((e = racoon_malloc(len)) == NULL) { in evtmsg_create()
344 if ((l = racoon_malloc(sizeof(*l))) == NULL) { in evt_subscribe()
Disakmp_xauth.c238 if ((*outlet = racoon_malloc(alen + 1)) == NULL) { in xauth_attr_reply()
642 if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL) in PAM_conv()
876 init = racoon_malloc(tmplen); in xauth_login_ldap()
887 init = racoon_malloc(tmplen); in xauth_login_ldap()
982 filter = racoon_malloc(tmplen); in xauth_login_ldap()
993 atlist[0] = racoon_malloc(tmplen); in xauth_login_ldap()
995 atlist[1] = racoon_malloc(tmplen); in xauth_login_ldap()
1050 iph1->mode_cfg->xauth.udn = racoon_malloc(strlen(userdn)+1); in xauth_login_ldap()
1151 init = racoon_malloc(tmplen); in xauth_group_ldap()
1220 filter = racoon_malloc(tmplen); in xauth_group_ldap()
[all …]
Dplog.c217 buf = racoon_malloc(buflen); in plogdump()
274 d = racoon_malloc(n + 1); in binsanitize()
Dschedule.c196 new = racoon_malloc(*len); in sched_dump()
262 tick = (int *)racoon_malloc(sizeof(*tick)); in getstdin()
Dcrypto_openssl.c136 buf = racoon_malloc(len + 1); in eay_str2asn1dn()
580 *altname = racoon_malloc(len); in eay_get_x509subjectaltname()
593 *altname = racoon_malloc(4*3 + 3 + 1); /* digits + decimals + null */ in eay_get_x509subjectaltname()
606 *altname = racoon_malloc(16*2 + 7 + 1); /* digits + colons + null */ in eay_get_x509subjectaltname()
727 text = racoon_malloc(len + 1); in eay_get_x509text()
1937 SHA512_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_512_init()
1986 SHA384_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_384_init()
2035 SHA256_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_256_init()
2083 SHA_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha1_init()
2130 MD5_CTX *c = racoon_malloc(sizeof(*c)); in eay_md5_init()
Disakmp_unity.c317 racoon_malloc(sizeof(struct unity_netentry)); in splitnet_list_add()
384 str = racoon_malloc(len + 1); in splitnet_list_2str()
Dvmbuf.c57 if ((var = (vchar_t *)racoon_malloc(sizeof(*var))) == NULL) in vmalloc()
Ddnssec.c72 name = racoon_malloc(namelen + 1); in dnssec_getcert()
Dthrottle.c68 if ((te = racoon_malloc(len)) == NULL) in throttle_add()
Dgssapi.c112 gsstoken->value = racoon_malloc(vmbuf->l); in gssapi_vm2gssbuf()
147 gssid = racoon_malloc(sizeof(*gssid)); in gssapi_get_default_gss_id()
Disakmp_frag.c248 if ((item = racoon_malloc(sizeof(*item))) == NULL) { in isakmp_frag_extract()
Dcfparse.y1335 groupname = racoon_malloc($1->l+1);
1366 icc->splitdns_list = racoon_malloc($1->l);
2360 struct etypes *new = racoon_malloc(sizeof(struct etypes));
2670 new->remote = racoon_malloc(sizeof(*new->remote)); in dupspspec()
Dnattraversal.c413 new_addr = (struct natt_ka_addrs *)racoon_malloc(sizeof(*new_addr)); in natt_keepalive_add()
Dremoteconf.c623 new->remote = racoon_malloc(sizeof(*new->remote)); in duprmconf_finish()
779 new = racoon_malloc(sizeof(struct etypes)); in dupetypes()
Dadmin.c138 if ((combuf = racoon_malloc(com.ac_len)) == 0) { in admin_handler()
Dgrabmyaddr.c862 ref = buf = racoon_malloc(bufsiz); in kernel_sync()
Dsockmisc.c804 saddr = racoon_malloc(res->ai_addrlen); in str2saddr()
Disakmp.c2932 plist = racoon_malloc (sizeof (struct payload_list)); in isakmp_plist_append_full()
2936 plist->next = racoon_malloc (sizeof (struct payload_list)); in isakmp_plist_append_full()
3104 envitem = racoon_malloc(strlen(name) + 1 + strlen(value) + 1); in script_env_append()
Dracoonctl.c1296 banner = racoon_malloc(ntohs(attr->lorv) + 1); in print_cfg()
Disakmp_quick.c2431 iph2->spidx_gen = racoon_malloc(sizeof(spidx)); in get_proposal_r()
2450 iph2->spidx_gen = racoon_malloc(sizeof(spidx)); in get_proposal_r()

12