/freebsd/lib/libc/rpc/ |
H A D | auth_unix.c | 120 au->au_origcred.oa_base = NULL; in authunix_create() 142 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create() 144 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) { in authunix_create() 149 memmove(au->au_origcred.oa_base, mymem, (size_t)len); in authunix_create() 162 if (au->au_origcred.oa_base) in authunix_create() 163 mem_free(au->au_origcred.oa_base, (u_int)len); in authunix_create() 239 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate() 242 if (au->au_shcred.oa_base != NULL) { in authunix_validate() 243 mem_free(au->au_shcred.oa_base, in authunix_validate() 245 au->au_shcred.oa_base = NULL; in authunix_validate() [all …]
|
H A D | rpc_callmsg.c | 89 memmove(buf, oa->oa_base, oa->oa_length); in xdr_callmsg() 96 memmove(buf, oa->oa_base, oa->oa_length); in xdr_callmsg() 126 if (oa->oa_base == NULL) { in xdr_callmsg() 127 oa->oa_base = (caddr_t) in xdr_callmsg() 129 if (oa->oa_base == NULL) in xdr_callmsg() 134 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg() 139 memmove(oa->oa_base, buf, in xdr_callmsg() 162 if (oa->oa_base == NULL) { in xdr_callmsg() 163 oa->oa_base = (caddr_t) in xdr_callmsg() 165 if (oa->oa_base == NULL) in xdr_callmsg() [all …]
|
H A D | svc_auth_unix.c | 77 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE); in _svcauth_unix() 122 rqst->rq_xprt->xp_verf.oa_base = in _svcauth_unix() 123 msg->rm_call.cb_verf.oa_base; in _svcauth_unix()
|
H A D | svc_auth_des.c | 138 ixdr = (long *)msg->rm_call.cb_cred.oa_base; in _svcauth_des() 165 ixdr = (long *)msg->rm_call.cb_verf.oa_base; in _svcauth_des() 302 ixdr = (long *)msg->rm_call.cb_verf.oa_base; in _svcauth_des() 308 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des() 310 (char *)ixdr - msg->rm_call.cb_verf.oa_base; in _svcauth_des()
|
H A D | clnt_raw.c | 219 if (msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_raw_call()
|
H A D | svc_raw.c | 113 srp->server->xp_verf.oa_base = srp->verf_body; in svc_raw_create()
|
H A D | svc.c | 621 msg.rm_call.cb_cred.oa_base = cred_area; in svc_getreq_common() 622 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq_common()
|
H A D | rpc_prot.c | 73 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
|
H A D | auth_des.c | 372 ixdr = (uint32_t *)rverf->oa_base; in authdes_validate()
|
H A D | clnt_dg.c | 572 if (reply_msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_dg_call()
|
/freebsd/sys/rpc/ |
H A D | auth_unix.c | 188 au->au_origcred.oa_base = NULL; in authunix_create() 203 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create() 204 memcpy(au->au_origcred.oa_base, mymem, (size_t)len); in authunix_create() 269 xdrmem_create(&txdrs, verf->oa_base, verf->oa_length, in authunix_validate() 272 if (au->au_shcred.oa_base != NULL) { in authunix_validate() 273 mem_free(au->au_shcred.oa_base, in authunix_validate() 275 au->au_shcred.oa_base = NULL; in authunix_validate() 282 au->au_shcred.oa_base = NULL; in authunix_validate() 301 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) { in authunix_refresh() 308 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authunix_refresh() [all …]
|
H A D | rpc_callmsg.c | 85 memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg() 92 memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg() 122 if (oa->oa_base == NULL) { in xdr_callmsg() 123 oa->oa_base = (caddr_t) in xdr_callmsg() 125 if (oa->oa_base == NULL) in xdr_callmsg() 130 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg() 135 memcpy(oa->oa_base, buf, in xdr_callmsg() 158 if (oa->oa_base == NULL) { in xdr_callmsg() 159 oa->oa_base = (caddr_t) in xdr_callmsg() 161 if (oa->oa_base == NULL) in xdr_callmsg() [all …]
|
H A D | svc_auth_unix.c | 73 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len, in _svcauth_unix()
|
H A D | auth.h | 168 caddr_t oa_base; /* address of more auth stuff */ member
|
H A D | rpc_prot.c | 79 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
|
H A D | clnt_bck.c | 333 reply_msg.acpted_rply.ar_verf.oa_base = cr->cr_verf; in clnt_bck_call()
|
H A D | clnt_nl.c | 343 .acpted_rply.ar_verf.oa_base = cr->cr_verf, in clnt_nl_call()
|
H A D | svc.c | 932 msg.rm_call.cb_cred.oa_base = r->rq_credarea; in svc_getreq() 933 msg.rm_call.cb_verf.oa_base = &r->rq_credarea[MAX_AUTH_BYTES]; in svc_getreq()
|
/freebsd/sys/rpc/rpcsec_tls/ |
H A D | auth_tls.c | 95 _tls_null_auth.oa_base = NULL; in authtls_init() 147 (opaque->oa_length != strsiz || memcmp(opaque->oa_base, in authtls_validate()
|
H A D | rpctls_impl.c | 142 rpctls_null_verf.oa_base = RPCTLS_START_STRING; in rpctls_init()
|
/freebsd/lib/librpcsec_gss/ |
H A D | rpcsec_gss.c | 295 memcpy(gd->gd_verf.value, verf->oa_base, verf->oa_length); in rpc_gss_validate() 304 checksum.value = verf->oa_base; in rpc_gss_validate() 595 creds.oa_base = credbuf; in __rpc_gss_wrap() 642 verf.oa_base = checksum.value; in __rpc_gss_wrap()
|
H A D | svc_rpcsec_gss.c | 773 memcpy((caddr_t)buf, oa->oa_base, oa->oa_length); in svc_rpc_gss_validate() 779 checksum.value = msg->rm_call.cb_verf.oa_base; in svc_rpc_gss_validate() 821 rqst->rq_xprt->xp_verf.oa_base = (caddr_t)client->cl_verf.value; in svc_rpc_gss_nextverf() 982 xdrmem_create(&xdrs, rqst->rq_cred.oa_base, in svc_rpc_gss()
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss.c | 538 creds.oa_base = credbuf; in rpc_gss_marshal() 587 verf.oa_base = checksum.value; in rpc_gss_marshal() 653 memcpy(gd->gd_verf.value, verf->oa_base, verf->oa_length); in rpc_gss_validate() 683 checksum.value = verf->oa_base; in rpc_gss_validate()
|
H A D | svc_rpcsec_gss.c | 1121 memcpy((caddr_t)buf, oa->oa_base, oa->oa_length); in svc_rpc_gss_validate() 1127 checksum.value = msg->rm_call.cb_verf.oa_base; in svc_rpc_gss_validate() 1182 bcopy(mic.value, rqst->rq_verf.oa_base, mic.length); in svc_rpc_gss_nextverf() 1355 xdrmem_create(&xdrs, rqst->rq_cred.oa_base, in svc_rpc_gss()
|
/freebsd/include/rpc/ |
H A D | auth.h | 168 caddr_t oa_base; /* address of more auth stuff */ member
|