Home
last modified time | relevance | path

Searched refs:MAX_AUTH_BYTES (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_loopb.c156 MAX_AUTH_BYTES); in authloopback_marshal()
157 maxgidlen = (MAX_AUTH_BYTES - NFIELDS * BYTES_PER_XDR_UNIT - in authloopback_marshal()
166 ASSERT(credsize <= MAX_AUTH_BYTES); in authloopback_marshal()
205 sercred = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in authloopback_marshal()
210 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authloopback_marshal()
224 ASSERT(auth->ah_cred.oa_length <= MAX_AUTH_BYTES); in authloopback_marshal()
237 kmem_free(sercred, MAX_AUTH_BYTES); in authloopback_marshal()
H A Dauth_kern.c153 RNDUP(MAX_MACHINE_NAME) <= MAX_AUTH_BYTES); in authkern_marshal()
161 ASSERT(credsize <= MAX_AUTH_BYTES); in authkern_marshal()
200 sercred = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in authkern_marshal()
205 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authkern_marshal()
219 ASSERT(auth->ah_cred.oa_length <= MAX_AUTH_BYTES); in authkern_marshal()
232 kmem_free(sercred, MAX_AUTH_BYTES); in authkern_marshal()
H A Dsvcauthdes.c350 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in _svcauth_des()
/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_calmsg.c63 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
65 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
122 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
147 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
H A Drpc_prot.c69 &ap->oa_length, MAX_AUTH_BYTES)); in xdr_opaque_auth()
209 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_replymsg()
H A Dauth.h57 #define MAX_AUTH_BYTES 400 /* maximum length of an auth type, from RFC */ macro
H A Dsvc.c1294 cred_area = kmem_alloc(2 * MAX_AUTH_BYTES + RQCRED_SIZE, in svc_getreq()
1298 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq()
1299 r.rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq()
2842 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in rpc_msg_dup()
H A Dclnt_rdma.c781 msglen = CKU_HDRSIZE + BYTES_PER_XDR_UNIT + MAX_AUTH_BYTES + in clnt_rdma_kcallit()
835 long_reply_len += MAX_AUTH_BYTES; in clnt_rdma_kcallit()
H A Dsvc_rdma.c663 alloc_len = RNDUP(MAX_AUTH_BYTES + *msglen); in svc_process_long_reply()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c66 char au_marshed[MAX_AUTH_BYTES];
83 char mymem[MAX_AUTH_BYTES]; in authunix_create()
123 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE); in authunix_create()
253 xdrmem_create(xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); in marshal_new_auth()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c58 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
60 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
117 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
153 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
H A Dauth_sys.c69 char au_marshed[MAX_AUTH_BYTES];
89 char mymem[MAX_AUTH_BYTES]; in authsys_create()
130 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE); in authsys_create()
353 xdrmem_create(xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); in marshal_new_auth()
H A Drpc_prot.c62 &ap->oa_length, MAX_AUTH_BYTES)); in xdr_opaque_auth()
194 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_replymsg()
H A Dsvc_door.c79 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server()
267 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in door_server()
H A Dsvc_raw.c60 char verf_body[MAX_AUTH_BYTES];
H A Dsvc_run.c682 &(cred_area[MAX_AUTH_BYTES]); in _svc_run_mt()
683 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in _svc_run_mt()
H A Dsvc.c1372 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq_common()
1373 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq_common()
1519 if ((cred_area = malloc(2*MAX_AUTH_BYTES + RQCRED_SIZE)) == NULL) in svc_xprt_alloc()
H A Dsvcauth_des.c434 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in __svcauth_des()
/illumos-gate/usr/src/head/rpcsvc/
H A Dsvc_dg_priv.h56 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv_common.h50 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c470 char cred_buf[MAX_AUTH_BYTES];
489 xdrmem_create(&cred_xdrs, (caddr_t)cred_buf, MAX_AUTH_BYTES,
H A Dsvc_rpcsec_gss.c1079 if (oa->oa_length > MAX_AUTH_BYTES) in check_verf()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c82 char verf_body[MAX_AUTH_BYTES];
H A Dsvc_udp.c84 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Dsvc_rpcsec_gss.c1010 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in svcrpcsec_gss_taskq_func()
1113 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in rpcsec_gss_init()
1541 if (oa->oa_length > MAX_AUTH_BYTES) in check_verf()

12