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

/freebsd-10.0-release/crypto/openssl/engines/
H A De_gmp.c332 E_GMP_RSA_CTX *hptr = RSA_get_ex_data(rsa, hndidx_rsa); local
333 if(hptr) return hptr;
334 hptr = OPENSSL_malloc(sizeof(E_GMP_RSA_CTX));
335 if(!hptr) return NULL;
338 mpz_init(hptr->n);
339 mpz_init(hptr->d);
340 mpz_init(hptr->e);
341 mpz_init(hptr->p);
342 mpz_init(hptr
383 E_GMP_RSA_CTX *hptr = RSA_get_ex_data(rsa, hndidx_rsa); local
404 E_GMP_RSA_CTX *hptr; local
[all...]
H A De_sureware.c652 static EVP_PKEY* sureware_load_public(ENGINE *e,const char *key_id,char *hptr,unsigned long el,char keytype) argument
674 RSA_set_ex_data(rsatmp,rsaHndidx,hptr);
709 DSA_set_ex_data(dsatmp,dsaHndidx,hptr);
778 char *hptr=NULL; local
788 ret=p_surewarehk_Load_Privkey(msg,key_id,&hptr,&el,&keytype);
795 res=sureware_load_public(e,key_id,hptr,el,keytype);
806 char *hptr=NULL; local
824 res=sureware_load_public(e,key_id,hptr,el,keytype);
866 char *buf=NULL,*hptr=NULL; local
873 else if (!(hptr
937 char *hptr=NULL; local
971 char *hptr=NULL; local
[all...]
H A De_chil.c757 HWCryptoHook_RSAKeyHandle *hptr; local
777 hptr = OPENSSL_malloc(sizeof(HWCryptoHook_RSAKeyHandle));
778 if (!hptr)
786 if (p_hwcrhk_RSALoadKey(hwcrhk_context, key_id, hptr,
794 if (!*hptr)
803 RSA_set_ex_data(rtmp, hndidx_rsa, (char *)hptr);
809 if (p_hwcrhk_RSAGetPublicKey(*hptr, &n, &e, &rmsg)
822 if (p_hwcrhk_RSAGetPublicKey(*hptr, &n, &e, &rmsg))
956 HWCryptoHook_RSAKeyHandle *hptr; local
971 if ((hptr
1079 HWCryptoHook_RSAKeyHandle *hptr; local
[all...]
/freebsd-10.0-release/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-10.0-release/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-10.0-release/sbin/hastd/
H A Dhast_proto.c88 void *dptr, *hptr; local
120 hptr = ebuf_data(eb, &hsize);
121 if (proto_send(conn, hptr, hsize) == -1)
139 void *hptr; local
159 hptr = ebuf_data(eb, NULL);
160 PJDLOG_ASSERT(hptr != NULL);
161 if (proto_recv(conn, hptr, hdr.size) == -1)
/freebsd-10.0-release/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.c265 struct hostent *hptr, he; local
271 hptr = va_arg(ap, struct hostent *);
290 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
296 *((struct hostent **)rval) = hptr;
314 struct hostent *hptr, he; local
321 hptr = va_arg(ap, struct hostent *);
340 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
346 *((struct hostent **)rval) = hptr;
H A Dgethostnamadr.c102 __copy_hostent(struct hostent *he, struct hostent *hptr, char *buf, argument
128 hptr->h_addrtype = he->h_addrtype;
129 n = hptr->h_length = he->h_length;
135 hptr->h_addr_list = ptr;
138 hptr->h_addr_list[i] = cp;
141 hptr->h_addr_list[i] = NULL;
147 hptr->h_name = cp;
151 hptr->h_aliases = ptr;
155 hptr->h_aliases[i] = cp;
158 hptr
[all...]
H A Dgethostbydns.c475 struct hostent *hptr, he; local
483 hptr = va_arg(ap, struct hostent *);
546 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
553 *((struct hostent **)rval) = hptr;
567 struct hostent *hptr, he; local
585 hptr = va_arg(ap, struct hostent *);
705 if (__copy_hostent(&he, hptr, buffer, buflen) != 0) {
712 *((struct hostent **)rval) = hptr;
/freebsd-10.0-release/crypto/openssl/crypto/engine/
H A Deng_rsax.c278 E_RSAX_MOD_CTX *hptr; local
283 hptr = RSA_get_ex_data(rsa, rsax_ex_data_idx);
284 if (!hptr) {
285 hptr = OPENSSL_malloc(3*sizeof(E_RSAX_MOD_CTX));
286 if (!hptr) return NULL;
287 hptr[2].type = hptr[1].type= hptr[0].type = 0;
288 RSA_set_ex_data(rsa, rsax_ex_data_idx, hptr);
291 if (hptr[id
307 E_RSAX_MOD_CTX *hptr = RSA_get_ex_data(rsa, rsax_ex_data_idx); local
[all...]
/freebsd-10.0-release/contrib/ntp/arlib/
H A Darlib.c434 HEADER *hptr; local
444 hptr = (HEADER *)buf;
445 rptr->re_id = ntohs(hptr->id);
627 static int ar_procanswer(rptr, hptr, buf, eob)
630 HEADER *hptr;
653 while (hptr->qdcount-- > 0)
658 while (hptr->ancount-- > 0 && cp < eob) {
769 register HEADER *hptr; local
781 hptr = (HEADER *)ar_rcvbuf;
785 hptr
[all...]
/freebsd-10.0-release/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-10.0-release/crypto/openssl/engines/vendor_defns/
H A Dsureware.h94 * out param hptr : a pointer to a buffer allocated by SureWare_Hook
98 typedef int SureWareHook_Load_Privkey_t(char*const msg,const char *key_id,char **hptr,unsigned long *num,char *keytype);
109 * out param hptr : a pointer to a buffer allocated by SureWare_Hook
/freebsd-10.0-release/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-10.0-release/sys/netgraph/
H A Dng_bridge.c955 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
957 while (*hptr != NULL) {
958 struct ng_bridge_hent *const hent = *hptr;
961 *hptr = SLIST_NEXT(hent, next);
965 hptr = &SLIST_NEXT(hent, next);
986 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); local
988 while (*hptr != NULL) {
989 struct ng_bridge_hent *const hent = *hptr;
999 *hptr = SLIST_NEXT(hent, next);
1005 hptr
[all...]
/freebsd-10.0-release/contrib/apr/network_io/unix/
H A Dsockaddr.c708 struct hostent hs, *hptr;
714 hptr = &hs;
720 &hs, tmp, GETHOSTBYNAME_BUFLEN - 1, &hptr, &hosterror);
723 hptr = gethostbyaddr_r((char *)&sockaddr->sa.sin.sin_addr,
727 if (!hptr) {
733 struct hostent *hptr;
734 hptr = gethostbyaddr((char *)&sockaddr->sa.sin.sin_addr,
738 if (hptr) {
739 *hostname = sockaddr->hostname = apr_pstrdup(sockaddr->pool, hptr->h_name);
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dippool.c742 iphtable_t *hptr; local
789 hptr = tables[role];
790 while (hptr != NULL) {
791 hptr = printhash(hptr, kmemcpywrap,
796 hptr = tables[role];
797 while (hptr != NULL) {
798 hptr = printhash(hptr, kmemcpywrap,
/freebsd-10.0-release/usr.bin/rpcgen/
H A Drpc_cout.c709 char *ptr, *hptr; local
713 hptr = ptr;
718 return (hptr);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dip.c501 u_short *hptr, tmp; local
510 hptr = (u_short *)&header;
515 *hptr++ = ntohs(*pktptr); /* Careful of macro side-effects ! */

Completed in 151 milliseconds