HomeSort by: relevance | last modified time | path
    Searched defs:auth (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/usr.sbin/ldpd/
ldp_command.h 40 int auth; /* 1 if socket is authenticated */ member in struct:com_sock
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_auth.c 140 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->magic)
    [all...]
  /src/share/examples/emul/ultrix/etc/
svc.conf 14 auth=local key
  /src/lib/libpam/modules/pam_group/
pam_group.c 75 int pam_err, auth; local in function:pam_sm_authenticate
96 auth = openpam_get_option(pamh, "authenticate") != NULL;
119 if (!auth) {
129 if (auth)
  /src/sys/external/bsd/drm2/dist/drm/
drm_auth.c 71 struct drm_auth *auth = data; local in function:drm_getmagic
82 auth->magic = file_priv->magic;
86 DRM_DEBUG("%u\n", auth->magic);
94 struct drm_auth *auth = data; local in function:drm_authmagic
97 DRM_DEBUG("%u\n", auth->magic);
100 file = idr_find(&file_priv->master->magic_map, auth->magic);
103 idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
  /src/tests/rump/rumpkern/h_client/
h_forkcli.c 121 uint32_t *auth; local in function:fakeauth
128 auth = (void *)rf;
129 *(auth+3) = *(auth+3) ^ 0x1;
  /src/sbin/mount_nfs/
getnfsargs.c 89 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/sys/crypto/aes/
aes_selftest.c 429 uint8_t auth[16]; local in function:aes_selftest_cbcmac
432 memset(auth, 0, sizeof auth);
435 impl->ai_cbcmac_update1(&enc, m, 16, auth, nr);
436 if (memcmp(auth, auth16, 16))
437 return aes_selftest_fail(impl, auth, auth16, 16,
439 impl->ai_cbcmac_update1(&enc, m + 16, 32, auth, nr);
440 if (memcmp(auth, auth48, 16))
441 return aes_selftest_fail(impl, auth, auth48, 16,
513 "AES-128 CCM encrypt auth/ctr (16)")
    [all...]
aes_ccm.c 92 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[1] ^= adlen
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/sys/crypto/aes/arch/arm/
aes_neon_subr.c 279 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/sys/crypto/aes/arch/x86/
aes_ssse3_subr.c 215 __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...]
aes_via.c 690 uint8_t *auth = auth0; local in function:aesvia_cbcmac_update1
697 auth = authbuf;
706 xor128(auth, auth, in);
707 aesvia_encN(enc, auth, auth, 1, cw0);
  /src/lib/libc/rpc/
auth_unix.c 70 #include <rpc/auth.h>
82 static void authunix_nextverf(AUTH *);
83 static bool_t authunix_marshal(AUTH *, XDR *);
84 static bool_t authunix_validate(AUTH *, struct opaque_auth *);
85 static bool_t authunix_refresh(AUTH *);
86 static void authunix_destroy(AUTH *);
87 static void marshal_new_auth(AUTH *);
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
    [all...]
  /src/lib/libtelnet/
kerberos5.c 67 #include "auth.h"
86 #define KRB_RESPONSE 3 /* Response for mutual auth. */
92 static krb5_data auth; variable in typeref:typename:krb5_data
239 RemoteHostName, &cksum_data, ccache, &auth);
254 if (!Data(ap, KRB_AUTH, auth.data, auth.length)) {
279 auth.data = (char *) data;
280 auth.length = cnt;
315 ret = krb5_rd_req(telnet_context, &auth_context, &auth,
638 strlcpy((char *) buf, " AUTH", buflen)
    [all...]
  /src/sys/dev/pci/qat/
qat_hw17.c 363 union hw_auth_algo_blk *auth, uint32_t cd_blk_offset,
371 auth->max.inner_setup.auth_config.config =
373 auth->max.inner_setup.auth_counter.counter =
390 state1 = auth->max.state1;
391 state2 = auth->max.state1 + auth_cd_ctrl->inner_state1_sz;
424 union hw_auth_algo_blk *auth; local in function:qat_hw17_crypto_setup_desc
450 auth = (union hw_auth_algo_blk *)(cd_blk_ptr +
453 qs, desc, cria, auth, cd_blk_offset, req_tmpl,
  /src/sbin/iscsictl/
iscsic_daemonif.c 48 iscsid_set_target_authentication_req_t auth; local in function:do_add_target
64 auths = cl_get_auth_opts(&auth, argc, argv);
105 auth.list_kind = kind;
106 auth.target_id.id = tid;
107 send_request(ISCSID_SET_TARGET_AUTHENTICATION, sizeof(auth), &auth);
805 iscsid_set_target_authentication_req_t auth; local in function:login_or_add
813 auths = cl_get_auth_opts(&auth, argc, argv);
873 auth.target_id = loginp->portal_id;
874 auth.list_kind = TARGET_LIST
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_auth.c 209 /* Create a structre to store all of the run-time data for packet auth in */
226 RWLOCK_INIT(&softa->ipf_authlk, "ipf IP User-Auth rwlock");
227 MUTEX_INIT(&softa->ipf_auth_mx, "ipf auth log mutex");
229 cv_init(&softa->ipf_auth_wait, "ipf auth condvar", CV_DRIVER, NULL);
239 /* arg(I) - opaque pointer to auth context data */
241 /* Allocate memory and initialise data structures used in handling auth */
275 /* arg(I) - opaque pointer to auth context data */
335 /* arg(I) - opaque pointer to auth context data */
358 /* tmp(I) - value to assign to auth lock */
403 * auth'd
1019 frauth_t auth, *au = &auth; local in function:ipf_auth_wait
1147 frauth_t auth, *au = &auth, *fra; local in function:ipf_auth_reply
    [all...]
  /src/sys/lib/libsa/
rpc.c 71 int32_t authtype; /* auth type */
72 u_int32_t authlen; /* auth length */
120 struct auth_info *auth; local in function:rpc_call
147 /* Auth verifier is always auth_null */
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) *
    [all...]
  /src/sbin/iscsid/
iscsid_globals.h 247 iscsid_set_target_authentication_req_t auth; /* authentication options */ member in struct:target_s
280 iscsid_set_target_authentication_req_t auth; /* authentication options */ member in struct:send_target_s
298 iscsid_set_target_authentication_req_t auth; /* authentication options */ member in struct:target_info_s
  /src/share/examples/refuse/ian/libfetch/
http.c 627 char *upw, *auth; local in function:_http_basic_auth
634 auth = _http_base64(upw);
636 if (auth == NULL)
638 r = _http_cmd(conn, "%s: Basic %s", hdr, auth);
639 free(auth);
  /src/sys/fs/nfs/nlm/
nlm_advlock.c 214 AUTH *auth; local in function:nlm_advlock_internal
258 auth = authunix_create(cred);
263 ext.rc_auth = auth;
383 AUTH_DESTROY(auth);
  /src/sys/net80211/
ieee80211_ioctl.c 2053 const struct ieee80211_authenticator *auth; local in function:ieee80211_ioctl_set80211
2136 auth = ieee80211_authenticator_get(ireq->i_val);
2137 if (auth == NULL)
2166 ic->ic_auth = auth;
  /src/sys/fs/nfs/common/
nfs_commonkrpc.c 132 uid_t ca_uid; /* uid that corresponds to this auth */
133 AUTH *ca_auth; /* RPC auth handle */
395 static AUTH *
400 AUTH *auth; local in function:nfs_getauth
418 auth = rpc_gss_secfind_call(nrp->nr_client, cred,
421 auth = rpc_gss_seccreate_call(nrp->nr_client, cred,
424 return (auth);
426 if (auth != NULL
494 AUTH *auth; local in function:newnfs_request
    [all...]
  /src/lib/librumpuser/
rumpuser_sp.c 363 send_prefork_resp(struct spclient *spc, uint64_t reqno, uint32_t *auth)
369 rhdr.rsp_len = sizeof(rhdr) + AUTHLEN*sizeof(*auth);
376 IOVPUT_WITHSIZE(iov[1], auth, AUTHLEN*sizeof(*auth));
1075 uint32_t auth[AUTHLEN]; local in function:handlereq
1112 rumpuser_getrandom(auth, sizeof(auth), 0, &randlen);
1113 memcpy(pf->pf_auth, auth, sizeof(pf->pf_auth));
1124 send_prefork_resp(spc, reqno, auth);
  /src/usr.sbin/rpcbind/
rpcb_svc_com.c 624 AUTH *auth; local in function:rpcbproc_callit_com
839 auth = authnone_create();
844 auth = authunix_create(au->aup_machname,
847 if (auth == NULL) /* fall back */
848 auth = authnone_create();
858 if (auth == NULL) {
867 if (!AUTH_MARSHALL(auth, &outxdr)) {
870 AUTH_DESTROY(auth);
876 AUTH_DESTROY(auth);
    [all...]

Completed in 60 milliseconds

1 2