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/
H A Ddebugrm.h40 #ifndef racoon_malloc
41 #define racoon_malloc(sz) malloc((sz)) macro
56 #ifndef racoon_malloc
57 #define racoon_malloc(sz) \ macro
H A 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
H A Dlogger.c70 p = (struct log *)racoon_malloc(sizeof(*p));
75 p->buf = (char **)racoon_malloc(sizeof(char *) * siz);
82 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t) * siz);
H A Dstr2val.c59 if ((new = racoon_malloc(len)) == 0) return(0);
103 if ((dst = racoon_malloc(i)) == NULL)
H A Dprivsep.c165 if ((combuf = (struct admin_com *)racoon_malloc(com.ac_len)) == NULL) {
364 if ((reply = racoon_malloc(sizeof(*reply))) == NULL) { in privsep_init()
461 envp = racoon_malloc((envc + 1) * sizeof(char *)); in privsep_init()
908 if ((msg = racoon_malloc(len)) == NULL) {
957 if ((msg = racoon_malloc(sizeof(*msg))) == NULL) {
1067 if ((msg = racoon_malloc(len)) == NULL) {
1129 if ((msg = racoon_malloc(len)) == NULL) {
1198 if ((msg = racoon_malloc(len)) == NULL) {
1276 if ((msg = racoon_malloc(len)) == NULL) {
1339 if ((msg = racoon_malloc(len)) == NULL) {
[all …]
H A Devt.c146 if ((evtdump = racoon_malloc(len)) == NULL) {
152 if ((evt = racoon_malloc(sizeof(*evt))) == NULL) {
228 if ((e = racoon_malloc(len)) == NULL) { in evtmsg_create()
357 if ((l = racoon_malloc(sizeof(*l))) == NULL) {
H A Disakmp_xauth.c242 if ((*outlet = racoon_malloc(alen + 1)) == NULL) {
660 if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL)
902 init = racoon_malloc(tmplen);
913 init = racoon_malloc(tmplen);
1008 filter = racoon_malloc(tmplen);
1019 atlist[0] = racoon_malloc(tmplen);
1021 atlist[1] = racoon_malloc(tmplen);
1076 iph1->mode_cfg->xauth.udn = racoon_malloc(strlen(userdn)+1);
1179 init = racoon_malloc(tmplen);
1248 filter = racoon_malloc(tmplen);
[all …]
H A Dplog.c222 buf = racoon_malloc(buflen);
282 d = racoon_malloc(n + 1);
H A Dschedule.c203 new = racoon_malloc(*len);
270 tick = (int *)racoon_malloc(sizeof(*tick)); in getstdin()
H A Dcrypto_openssl.c138 buf = racoon_malloc(len + 1);
596 *altname = racoon_malloc(len);
609 *altname = racoon_malloc(4*3 + 3 + 1); /* digits + decimals + null */
622 *altname = racoon_malloc(16*2 + 7 + 1); /* digits + colons + null */
745 text = racoon_malloc(len + 1);
2033 SHA512_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_512_init()
2086 SHA384_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_384_init()
2139 SHA256_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_256_init()
2191 SHA_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha1_init()
2242 MD5_CTX *c = racoon_malloc(sizeof(*c)); in eay_md5_init()
H A Disakmp_unity.c327 racoon_malloc(sizeof(struct unity_netentry));
395 str = racoon_malloc(len + 1);
H A Dvmbuf.c57 if ((var = (vchar_t *)racoon_malloc(sizeof(*var))) == NULL) in vmalloc()
H A Ddnssec.c73 name = racoon_malloc(namelen + 1);
H A Dthrottle.c69 if ((te = racoon_malloc(len)) == NULL)
H A Dgssapi.c112 gsstoken->value = racoon_malloc(vmbuf->l); in gssapi_vm2gssbuf()
147 gssid = racoon_malloc(sizeof(*gssid)); in gssapi_get_default_gss_id()
H A Disakmp_frag.c254 if ((item = racoon_malloc(sizeof(*item))) == NULL) {
H A Dcfparse.y1325 groupname = racoon_malloc($1->l+1);
1356 icc->splitdns_list = racoon_malloc($1->l);
2350 struct etypes *new = racoon_malloc(sizeof(struct etypes));
2662 new->remote = racoon_malloc(sizeof(*new->remote)); in dupspspec()
H A Dnattraversal.c411 new_addr = (struct natt_ka_addrs *)racoon_malloc(sizeof(*new_addr)); in natt_keepalive_add()
H A Dremoteconf.c634 new->remote = racoon_malloc(sizeof(*new->remote));
793 new = racoon_malloc(sizeof(struct etypes));
H A Dadmin.c136 if ((combuf = racoon_malloc(com.ac_len)) == 0) { in admin_handler()
H A Dgrabmyaddr.c870 ref = buf = racoon_malloc(bufsiz); in kernel_sync()
H A Disakmp.c3010 plist = racoon_malloc (sizeof (struct payload_list)); in isakmp_plist_append_full()
3014 plist->next = racoon_malloc (sizeof (struct payload_list)); in isakmp_plist_append_full()
3191 envitem = racoon_malloc(strlen(name) + 1 + strlen(value) + 1);
H A Dsockmisc.c827 saddr = racoon_malloc(res->ai_addrlen);
H A Dracoonctl.c1347 banner = racoon_malloc(ntohs(attr->lorv) + 1);
H A Disakmp_quick.c2457 iph2->spidx_gen = racoon_malloc(sizeof(spidx));
2476 iph2->spidx_gen = racoon_malloc(sizeof(spidx));

12