Home
last modified time | relevance | path

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

12

/titanic_50/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()
/titanic_50/usr/src/uts/common/rpc/
H A Drpc_calmsg.c62 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
64 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
113 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
138 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.c1312 cred_area = kmem_alloc(2 * MAX_AUTH_BYTES + RQCRED_SIZE, in svc_getreq()
1316 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq()
1317 r.rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq()
2860 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()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c57 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
59 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
114 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
151 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.c66 &ap->oa_length, MAX_AUTH_BYTES)); in xdr_opaque_auth()
198 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.c64 char verf_body[MAX_AUTH_BYTES];
H A Dsvc_run.c686 &(cred_area[MAX_AUTH_BYTES]); in _svc_run_mt()
687 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in _svc_run_mt()
H A Dsvc.c1369 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq_common()
1370 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq_common()
1516 if ((cred_area = malloc(2*MAX_AUTH_BYTES + RQCRED_SIZE)) == NULL) in svc_xprt_alloc()
H A Dsvcauth_des.c433 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in __svcauth_des()
/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c68 char au_marshed[MAX_AUTH_BYTES];
85 char mymem[MAX_AUTH_BYTES]; in authunix_create()
127 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE); in authunix_create()
263 xdrmem_create(xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); in marshal_new_auth()
/titanic_50/usr/src/head/rpcsvc/
H A Dsvc_dg_priv.h56 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/titanic_50/usr/src/cmd/ypcmd/
H A Dypserv_resolv_common.h52 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/titanic_50/usr/src/lib/libbc/inc/include/rpc/
H A Dauth.h38 #define MAX_AUTH_BYTES 400 macro
/titanic_50/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c457 char cred_buf[MAX_AUTH_BYTES];
476 xdrmem_create(&cred_xdrs, (caddr_t)cred_buf, MAX_AUTH_BYTES,
/titanic_50/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c84 char verf_body[MAX_AUTH_BYTES];
H A Dsvc_udp.c86 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
/titanic_50/usr/src/uts/common/rpc/sec_gss/
H A Dsvc_rpcsec_gss.c911 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in svcrpcsec_gss_taskq_func()
995 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in rpcsec_gss_init()
1422 if (oa->oa_length > MAX_AUTH_BYTES) in check_verf()
H A Drpcsec_gss.c907 kmem_free(cred_buf, MAX_AUTH_BYTES);

12