Searched refs:zbuf (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/sys/crypto/
H A Dxform_ipcomp.c63 z_stream zbuf; local
69 bzero(&zbuf, sizeof(z_stream));
73 zbuf.next_in = data; /* data that is going to be processed */
74 zbuf.zalloc = zcalloc;
75 zbuf.zfree = zcfree;
76 zbuf.opaque = Z_NULL;
77 zbuf.avail_in = size; /* Total length of data to be processed */
96 zbuf.next_out = buf[0].out;
97 zbuf.avail_out = buf[0].size;
100 inflateInit2(&zbuf, window_inflat
[all...]
/openbsd-current/lib/libcrypto/pkcs12/
H A Dp12_decr.c121 * if zbuf set zero buffer after use.
126 const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf)
140 if (zbuf)
149 * if zbuf set zero encoding.
155 void *obj, int zbuf)
175 if (zbuf)
125 PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf) argument
153 PKCS12_item_i2d_encrypt(X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, void *obj, int zbuf) argument
H A Dpkcs12_local.h147 const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf);
149 const ASN1_ITEM *it, const char *pass, int passlen, void *obj, int zbuf);
/openbsd-current/usr.sbin/kgmon/
H A Dkgmon.c449 char *zbuf; local
460 if ((zbuf = malloc(biggest)) == NULL)
461 errx(12, "cannot allocate zbuf space");
462 bzero(zbuf, biggest);
464 if (kvm_write(kvp->kd, (u_long)kvp->gpm.kcount, zbuf,
467 if (kvm_write(kvp->kd, (u_long)kvp->gpm.froms, zbuf,
470 if (kvm_write(kvp->kd, (u_long)kvp->gpm.tos, zbuf,
479 if (sysctl(mib, 4, NULL, NULL, zbuf, kvp->gpm.kcountsize) == -1)
482 if (sysctl(mib, 4, NULL, NULL, zbuf, kvp->gpm.fromssize) == -1)
485 if (sysctl(mib, 4, NULL, NULL, zbuf, kv
[all...]
/openbsd-current/usr.sbin/rpki-client/
H A Dhttp.c110 char *zbuf; member in struct:http_zlib
704 if ((zctx->zbuf = malloc(zctx->zbufsz)) == NULL)
714 free(zctx->zbuf);
726 free(conn->zlibctx->zbuf);
740 * Inflate the data from conn->buf into zctx->zbuf. The number of bytes
741 * available in zctx->zbuf is stored in zctx->zbufpos.
759 zctx->zs.next_out = zctx->zbuf;
1932 s = write(conn->req->outfd, zctx->zbuf, zctx->zbufpos);
1946 memmove(zctx->zbuf, zctx->zbuf
[all...]

Completed in 83 milliseconds