Searched refs:auth (Results 1 - 25 of 99) sorted by relevance

1234

/src/include/rpc/
H A Dauth.h1 /* $NetBSD: auth.h,v 1.20 2020/10/03 18:30:39 christos Exp $ */
31 * from: @(#)auth.h 1.17 88/02/08 SMI
32 * @(#)auth.h 2.3 88/08/07 4.0 RPCSRC
36 * auth.h, Authentication interface.
88 enum_t oa_flavor; /* flavor of auth */
89 caddr_t oa_base; /* address of more auth stuff */
119 * The ops and the auth handle provide the interface to the authenticators.
121 * AUTH *auth;
125 #define AUTH_NEXTVERF(auth) \
126 ((*((auth)
[all...]
H A DMakefile4 INCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/hdcp/
H A Dhdcp_log.h103 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, \
104 sizeof(hdcp->auth.msg.hdcp1.bksv)); \
105 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, \
106 sizeof(hdcp->auth.msg.hdcp1.bcaps)); \
107 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, \
108 sizeof(hdcp->auth.msg.hdcp1.an)); \
109 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, \
110 sizeof(hdcp->auth.msg.hdcp1.aksv)); \
111 HDCP_DDC_WRITE_TRACE(hdcp, "AINFO", &hdcp->auth.msg.hdcp1.ainfo, \
112 sizeof(hdcp->auth
[all...]
H A Damdgpu_hdcp_ddc.c248 hdcp->auth.msg.hdcp1.bksv,
249 sizeof(hdcp->auth.msg.hdcp1.bksv));
255 &hdcp->auth.msg.hdcp1.bcaps,
256 sizeof(hdcp->auth.msg.hdcp1.bcaps));
265 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus,
269 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus,
270 sizeof(hdcp->auth.msg.hdcp1.bstatus));
277 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p,
278 sizeof(hdcp->auth.msg.hdcp1.r0p));
288 hdcp->auth
[all...]
H A Damdgpu_hdcp_psp.c42 in->session_handle = hdcp->auth.id;
153 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle;
158 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary;
159 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary,
160 sizeof(hdcp->auth.msg.hdcp1.aksv));
161 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary,
162 sizeof(hdcp->auth.msg.hdcp1.an));
176 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id;
197 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id;
199 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth
[all...]
H A Damdgpu_hdcp2_execution.c40 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0;
42 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[0]) &&
43 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 |
44 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0;
54 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) &&
55 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ?
59 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ?
71 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ?
75 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[0]) ?
84 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth
[all...]
H A Damdgpu_hdcp1_execution.c38 memcpy(&n, hdcp->auth.msg.hdcp1.bksv, sizeof(uint64_t));
51 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ?
54 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ?
61 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ?
70 status = (hdcp->auth.msg.hdcp1.bstatus &
83 return (hdcp->auth.msg.hdcp1.bstatus &
92 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ?
102 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8)
106 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8)
117 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth
[all...]
/src/lib/libc/rpc/
H A Dauth_unix.c70 #include <rpc/auth.h>
100 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
104 * Returns an auth handle with the given stuff in it.
113 AUTH *auth; local in function:authunix_create
117 * Allocate and set up auth handle
120 auth = mem_alloc(sizeof(*auth));
122 if (auth == NULL) {
134 auth
235 authunix_nextverf(AUTH * auth) argument
241 authunix_marshal(AUTH * auth,XDR * xdrs) argument
253 authunix_validate(AUTH * auth,struct opaque_auth * verf) argument
285 authunix_refresh(AUTH * auth) argument
329 authunix_destroy(AUTH * auth) argument
354 marshal_new_auth(AUTH * auth) argument
[all...]
H A Dauthunix_prot.c57 #include <rpc/auth.h>
/src/share/examples/emul/ultrix/etc/
H A Dsvc.conf14 auth=local key
/src/etc/rc.d/
H A Dpwcheck21 logger -s -p auth.err \
H A Discsid_volumes21 while read host target digest auth user alias; do
72 -t "$auth" \
95 while read host target digest auth user alias; do
/src/etc/
H A Dsyslog.conf3 *.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console
4 *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages
10 auth,authpriv.info /var/log/authlog
/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_auth.c140 struct drm_auth *auth = data; local in function:drm_getmagic
144 auth->magic = file_priv->magic;
150 auth->magic = old+1;
152 if (!atomic_cmpset_int(&sequence, old, auth->magic))
154 } while (drm_find_file(dev, auth->magic));
155 file_priv->magic = auth->magic;
156 drm_add_magic(dev, file_priv, auth->magic);
160 DRM_DEBUG("%u\n", auth->magic);
171 struct drm_auth *auth = data; local in function:drm_authmagic
174 DRM_DEBUG("%u\n", auth
[all...]
/src/usr.sbin/ldpd/
H A Dldp_command.h40 int auth; /* 1 if socket is authenticated */ member in struct:com_sock
/src/sys/crypto/aes/
H A Daes_ccm.c92 uint8_t *auth = C->authctr; local in function:aes_ccm_init
109 auth[0] = __SHIFTIN(adlen == 0 ? 0 : 1, CCM_AFLAGS_ADATA);
110 auth[0] |= __SHIFTIN((M - 2)/2, CCM_AFLAGS_M);
111 auth[0] |= __SHIFTIN(L - 1, CCM_AFLAGS_L);
112 memcpy(auth + 1, nonce, noncelen);
115 auth[16 - i - 1] = mlen & 0xff;
117 aes_enc(enc, auth, auth, C->nr);
123 auth[0] ^= adlen >> 8;
124 auth[
186 uint8_t *auth = C->authctr; local in function:aes_ccm_enc
246 uint8_t *auth = C->authctr; local in function:aes_ccm_dec
309 uint8_t *auth = C->authctr; local in function:aes_ccm_tag
[all...]
/src/lib/libtelnet/
H A DMakefile13 SRCS= auth.c encrypt.c genget.c getent.c misc.c
32 .for f in auth enc_des kerberos5 pk
/src/usr.sbin/bootp/bootpd/
H A Dsyslog.conf15 #*.err;kern.debug;auth.notice;user.none /dev/console
16 kern.debug;user,mail.crit;auth.notice /dev/console
19 #*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages
20 kern.debug;user,mail.crit;auth.notice /var/adm/messages
37 #auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
/src/sys/lib/libsa/
H A Drpc.c71 int32_t authtype; /* auth type */
72 u_int32_t authlen; /* auth length */
120 struct auth_info *auth; local in function:rpc_call
148 send_head -= sizeof(*auth);
149 auth = (struct auth_info *)send_head;
150 auth->authtype = htonl(RPCAUTH_NULL);
151 auth->authlen = 0;
154 /* Auth credentials: always auth unix (as root) */
157 send_head -= sizeof(*auth);
158 auth
[all...]
/src/sys/crypto/aes/arch/x86/
H A Daes_ssse3_subr.c215 __m128i auth; local in function:aes_ssse3_cbcmac_update1
220 auth = loadblock(auth0);
222 auth = aes_ssse3_enc1(enc, auth ^ loadblock(in), nrounds);
223 storeblock(auth0, auth);
234 __m128i auth, ctr_be, ctr, ptxt; local in function:aes_ssse3_ccm_enc1
239 auth = loadblock(authctr);
244 auth = aes_ssse3_enc1(enc, auth ^ ptxt, nrounds);
249 storeblock(authctr, auth);
261 __m128i auth, ctr_be, ctr, ptxt; local in function:aes_ssse3_ccm_dec1
[all...]
/src/sys/crypto/aes/arch/arm/
H A Daes_neon_subr.c279 uint8x16_t auth; local in function:aes_neon_cbcmac_update1
284 auth = loadblock(auth0);
286 auth = aes_neon_enc1(enc, auth ^ loadblock(in), nrounds);
287 storeblock(auth0, auth);
297 uint8x16_t auth, ptxt, ctr_be; local in function:aes_neon_ccm_enc1
303 auth = loadblock(authctr);
312 b2.val[0] = auth ^ ptxt;
315 auth = b2.val[0];
318 storeblock(authctr, auth);
329 uint8x16_t auth, ctr_be, ptxt, pad; local in function:aes_neon_ccm_dec1
[all...]
/src/tests/rump/rumpkern/h_client/
H A Dh_forkcli.c121 uint32_t *auth; local in function:fakeauth
128 auth = (void *)rf;
129 *(auth+3) = *(auth+3) ^ 0x1;
/src/usr.bin/ftp/
H A Dfetch.c84 char *auth; member in struct:authinfo
214 initauthinfo(struct authinfo *ai, char *auth) argument
216 ai->auth = auth;
262 auth_url(const char *challenge, char **response, const struct authinfo *auth) argument
306 if (auth->user != NULL) {
307 (void)strlcpy(uuser, auth->user, sizeof(uuser));
316 if (auth->pass != NULL)
317 upass = auth->pass;
475 struct authinfo *auth, struc
474 parse_url(const char * url,const char * desc,struct urlinfo * ui,struct authinfo * auth,struct urlinfo * rui) argument
620 ftp_socket(const struct urlinfo * ui,void ** ssl,struct authinfo * auth) argument
1072 do_auth(int hcode,const char * url,const char * penv,struct authinfo * wauth,struct authinfo * pauth,char ** auth,const char * message,volatile int * rval,struct urlinfo * ui) argument
1118 negotiate_connection(FETCH * fin,const char * url,const char * penv,struct posinfo * pi,time_t * mtime,struct authinfo * wauth,struct authinfo * pauth,volatile int * rval,volatile int * ischunked,char ** auth,struct urlinfo * ui) argument
1283 connectmethod(FETCH * fin,const char * url,const char * penv,struct urlinfo * oui,struct urlinfo * ui,struct authinfo * wauth,struct authinfo * pauth,char ** auth,int * hasleading,volatile int * rval) argument
1408 char *volatile auth; local in function:fetch_url
1955 struct authinfo auth; local in function:fetch_ftp
[all...]
/src/sbin/mount_nfs/
H A Dgetnfsargs.c89 long auth; member in struct:nfhret
217 nfhret.auth = RPCAUTH_UNIX;
314 long auth, authcnt, authfnd = 0; local in function:xdr_fh
334 if (!xdr_long(xdrsp, &auth))
336 if (auth == np->auth)
343 if (!authfnd && (authcnt > 0 || np->auth != RPCAUTH_UNIX))
/src/tests/net/if_pppoe/
H A Dt_pppoe.sh172 local auth=$1
178 if [ $auth = "chap" ]; then
183 atf_pppoectl pppoe0 "hisauthproto=$auth" \
192 "myauthproto=$auth" "hisauthproto=none"
249 atf_pppoectl pppoe0 "myauthproto=$auth" \
253 "max-auth-failure=1"
304 local auth=$1
310 if [ $auth = "chap" ]; then
317 "hisauthproto=$auth" "myauthproto=none" \
326 "myauthproto=$auth" "hisauthprot
[all...]

Completed in 43 milliseconds

1234