Searched refs:hptr (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/crypto/openssl/engines/
H A De_gmp.c334 E_GMP_RSA_CTX *hptr = RSA_get_ex_data(rsa, hndidx_rsa); local
335 if (hptr)
336 return hptr;
337 hptr = OPENSSL_malloc(sizeof(E_GMP_RSA_CTX));
338 if (!hptr)
344 mpz_init(hptr->n);
345 mpz_init(hptr->d);
346 mpz_init(hptr->e);
347 mpz_init(hptr->p);
348 mpz_init(hptr
389 E_GMP_RSA_CTX *hptr = RSA_get_ex_data(rsa, hndidx_rsa); local
412 E_GMP_RSA_CTX *hptr; local
[all...]
H A De_sureware.c686 char *hptr, unsigned long el,
709 RSA_set_ex_data(rsatmp, rsaHndidx, hptr);
747 DSA_set_ex_data(dsatmp, dsaHndidx, hptr);
823 char *hptr = NULL; local
831 ret = p_surewarehk_Load_Privkey(msg, key_id, &hptr, &el, &keytype);
837 res = sureware_load_public(e, key_id, hptr, el, keytype);
849 char *hptr = NULL; local
864 res = sureware_load_public(e, key_id, hptr, el, keytype);
907 char *buf = NULL, *hptr = NULL; local
914 else if (!(hptr
685 sureware_load_public(ENGINE *e, const char *key_id, char *hptr, unsigned long el, char keytype) argument
988 char *hptr = NULL; local
1023 char *hptr = NULL; local
[all...]
H A De_chil.c776 HWCryptoHook_RSAKeyHandle *hptr; local
794 hptr = OPENSSL_malloc(sizeof(HWCryptoHook_RSAKeyHandle));
795 if (!hptr) {
801 if (p_hwcrhk_RSALoadKey(hwcrhk_context, key_id, hptr, &rmsg, &ppctx)) {
806 if (!*hptr) {
817 RSA_set_ex_data(rtmp, hndidx_rsa, (char *)hptr);
827 if (p_hwcrhk_RSAGetPublicKey(*hptr, &n, &e, &rmsg)
845 if (p_hwcrhk_RSAGetPublicKey(*hptr, &n, &e, &rmsg)) {
981 HWCryptoHook_RSAKeyHandle *hptr; local
997 if ((hptr
1106 HWCryptoHook_RSAKeyHandle *hptr; local
[all...]
/freebsd-11-stable/libexec/mknetid/
H A Dmknetid.c111 char *ptr, *pidptr, *gidptr, *hptr; local
248 if (!(hptr = strpbrk(ptr, "#\n")))
250 *hptr = '\0';
251 if (!(hptr = strpbrk(ptr, " \t")))
253 *hptr++ = '\0';
254 ptr = hptr;
257 if (!(hptr = strpbrk(ptr, " \t")))
259 *hptr++ = '\0';
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dhash.c73 Hashentry *hptr; local
77 for (hptr = htab->tab[(*htab->hash) (ptr) % htab->sz];
78 hptr;
79 hptr = hptr->next)
80 if ((*htab->cmp) (ptr, hptr->ptr) == 0)
82 return hptr;
/freebsd-11-stable/sbin/hastd/
H A Dhast_proto.c90 void *dptr, *hptr; local
122 hptr = ebuf_data(eb, &hsize);
123 if (proto_send(conn, hptr, hsize) == -1)
141 void *hptr; local
161 hptr = ebuf_data(eb, NULL);
162 PJDLOG_ASSERT(hptr != NULL);
163 if (proto_recv(conn, hptr, hdr.size) == -1)
/freebsd-11-stable/lib/libc/net/
H A Dgethostbyht.c176 gethostent_r(struct hostent *hptr, char *buffer, size_t buflen, argument
196 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
201 *result = hptr;
228 struct hostent *hptr, he; local
236 hptr = va_arg(ap, struct hostent *);
274 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
280 *((struct hostent **)rval) = hptr;
293 struct hostent *hptr, he; local
301 hptr = va_arg(ap, struct hostent *);
331 if (__copy_hostent(&he, hptr, buffe
[all...]
H A Dgethostbynis.c211 struct hostent *hptr, he; local
217 hptr = va_arg(ap, struct hostent *);
236 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
242 *((struct hostent **)rval) = hptr;
260 struct hostent *hptr, he; local
267 hptr = va_arg(ap, struct hostent *);
286 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
292 *((struct hostent **)rval) = hptr;
H A Dgethostnamadr.c95 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, argument
121 hptr->h_addrtype = he->h_addrtype;
122 n = hptr->h_length = he->h_length;
128 hptr->h_addr_list = ptr;
131 hptr->h_addr_list[i] = cp;
134 hptr->h_addr_list[i] = NULL;
140 hptr->h_name = cp;
144 hptr->h_aliases = ptr;
148 hptr->h_aliases[i] = cp;
151 hptr
[all...]
H A Dgethostbydns.c471 struct hostent *hptr, he; local
479 hptr = va_arg(ap, struct hostent *);
542 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
549 *((struct hostent **)rval) = hptr;
563 struct hostent *hptr, he; local
581 hptr = va_arg(ap, struct hostent *);
701 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
708 *((struct hostent **)rval) = hptr;
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_pptp.c441 PptpMsgHead hptr; local
455 hptr = (PptpMsgHead) tcp_next(tc);
458 *ptype = ntohs(hptr->type);
461 if ((ntohs(hptr->msgType) != PPTP_CTRL_MSG_TYPE) ||
462 (ntohl(hptr->magic) != PPTP_MAGIC))
471 return (PptpCallId) (hptr + 1);
/freebsd-11-stable/crypto/openssl/engines/vendor_defns/
H A Dsureware.h95 * out param hptr : a pointer to a buffer allocated by SureWare_Hook
100 char **hptr, unsigned long *num,
112 * out param hptr : a pointer to a buffer allocated by SureWare_Hook
/freebsd-11-stable/usr.sbin/ypserv/
H A Dyp_dnslookup.c170 HEADER *hptr; local
184 hptr = (HEADER *)&buf;
185 id = ntohs(hptr->id);
353 HEADER *hptr; local
377 hptr = (HEADER *)&buf;
379 (q = yp_find_dnsqent(ntohs(hptr->id), BY_DNS_ID)) == NULL) {
/freebsd-11-stable/sys/netgraph/
H A Dng_bridge.c956 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
958 while (*hptr != NULL) {
959 struct ng_bridge_hent *const hent = *hptr;
962 *hptr = SLIST_NEXT(hent, next);
966 hptr = &SLIST_NEXT(hent, next);
987 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
989 while (*hptr != NULL) {
990 struct ng_bridge_hent *const hent = *hptr;
1000 *hptr = SLIST_NEXT(hent, next);
1006 hptr
[all...]
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockaddr.c817 struct hostent hs, *hptr;
823 hptr = &hs;
829 &hs, tmp, GETHOSTBYNAME_BUFLEN - 1, &hptr, &hosterror);
832 hptr = gethostbyaddr_r((char *)&sockaddr->sa.sin.sin_addr,
836 if (!hptr) {
842 struct hostent *hptr;
843 hptr = gethostbyaddr((char *)&sockaddr->sa.sin.sin_addr,
847 if (hptr) {
848 *hostname = sockaddr->hostname = apr_pstrdup(sockaddr->pool, hptr->h_name);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dippool.c782 iphtable_t *hptr; local
829 hptr = tables[role];
830 while (hptr != NULL) {
831 hptr = printhash(hptr, kmemcpywrap,
836 hptr = tables[role];
837 while (hptr != NULL) {
838 hptr = printhash(hptr, kmemcpywrap,
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_cout.c710 char *ptr, *hptr; local
714 hptr = ptr;
719 return (hptr);
/freebsd-11-stable/usr.sbin/ppp/
H A Dip.c503 u_short *hptr, tmp; local
512 hptr = (u_short *)&header;
517 *hptr++ = ntohs(*pktptr); /* Careful of macro side-effects ! */

Completed in 166 milliseconds