Searched refs:auth (Results 26 - 50 of 171) sorted by relevance

1234567

/linux-master/net/sunrpc/
H A Dauth_null.c29 nul_destroy(struct rpc_auth *auth) argument
37 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
H A Dauth_tls.c80 static void tls_destroy(struct rpc_auth *auth) argument
84 static struct rpc_cred *tls_lookup_cred(struct rpc_auth *auth, argument
/linux-master/fs/ubifs/
H A DMakefile11 ubifs-$(CONFIG_UBIFS_FS_AUTHENTICATION) += auth.o
H A Dauth.c65 struct ubifs_auth_node *auth = node; local
80 err = ubifs_hash_calc_hmac(c, hash, auth->hmac);
84 auth->ch.node_type = UBIFS_AUTH_NODE;
85 ubifs_prepare_node(c, auth, ubifs_auth_node_sz(c), 0);
/linux-master/net/ceph/
H A Dauth_x.c11 #include <linux/ceph/auth.h>
507 struct ceph_x_authenticate *auth = (void *)(head + 1); local
513 p = auth + 1;
521 get_random_bytes(&auth->client_challenge, sizeof(u64));
522 blob->client_challenge = auth->client_challenge;
529 auth->struct_v = 3; /* nautilus+ */
530 auth->key = 0;
532 auth->key ^= *(__le64 *)u;
534 xi->server_challenge, le64_to_cpu(auth->client_challenge),
535 le64_to_cpu(auth
734 ceph_x_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument
769 ceph_x_update_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument
1027 ceph_x_sign_message(struct ceph_auth_handshake *auth, struct ceph_msg *msg) argument
1046 ceph_x_check_message_signature(struct ceph_auth_handshake *auth, struct ceph_msg *msg) argument
[all...]
H A Dauth.c34 pr_err("bad auth protocol %d\n", proto);
183 pr_err("auth protocol '%s' building request failed: %d\n",
196 * Handle auth message from monitor.
249 pr_err("auth protocol '%s' init failed: %d\n",
259 pr_err("auth protocol '%s' mauth authentication failed: %d\n",
279 pr_err("failed to decode auth msg\n");
309 struct ceph_auth_handshake *auth,
316 if (force_new && auth->authorizer) {
317 ceph_auth_destroy_authorizer(auth->authorizer);
318 auth
308 __ceph_auth_get_authorizer(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, int peer_type, bool force_new, int *proto, int *pref_mode, int *fallb_mode) argument
547 ceph_auth_get_authorizer(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, int peer_type, void *buf, int *buf_len) argument
577 ceph_auth_handle_svc_reply_more(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, void *reply, int reply_len, void *buf, int *buf_len) argument
601 ceph_auth_handle_svc_reply_done(struct ceph_auth_client *ac, struct ceph_auth_handshake *auth, void *reply, int reply_len, u8 *session_key, int *session_key_len, u8 *con_secret, int *con_secret_len) argument
[all...]
H A Dmon_client.c15 #include <linux/ceph/auth.h>
173 * Send an auth request.
198 ceph_auth_reset(monc->auth);
272 ret = ceph_auth_build_hello(monc->auth,
1094 int is_auth = ceph_auth_is_authenticated(monc->auth);
1169 monc->auth = ceph_auth_init(cl->options->name, cl->options->key,
1171 if (IS_ERR(monc->auth)) {
1172 err = PTR_ERR(monc->auth);
1175 monc->auth->want_keys =
1224 ceph_auth_destroy(monc->auth);
[all...]
H A Dmessenger_v1.c330 struct ceph_auth_handshake *auth; local
334 con->v1.auth = NULL;
340 auth = con->ops->get_authorizer(con, &auth_proto, con->v1.auth_retry);
341 if (IS_ERR(auth))
342 return PTR_ERR(auth);
344 con->v1.auth = auth;
347 cpu_to_le32(auth->authorizer_buf_len);
368 if (con->v1.auth)
369 con_out_kvec_add(con, con->v1.auth
[all...]
/linux-master/net/xfrm/
H A Dxfrm_algo.c180 .auth = {
200 .auth = {
220 .auth = {
240 .auth = {
259 .auth = {
278 .auth = {
298 .auth = {
317 .auth = {
337 .auth = {
350 .auth
[all...]
/linux-master/drivers/target/iscsi/
H A Discsi_target_configfs.c369 struct iscsi_node_auth *auth = &nacl->node_auth; \
373 return snprintf(page, PAGE_SIZE, "%s\n", auth->name); \
381 struct iscsi_node_auth *auth = &nacl->node_auth; \
385 if (count >= sizeof(auth->name)) \
387 snprintf(auth->name, sizeof(auth->name), "%s", page); \
388 if (!strncmp("NULL", auth->name, 4)) \
389 auth->naf_flags &= ~flags; \
391 auth->naf_flags |= flags; \
393 if ((auth
[all...]
/linux-master/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c71 u16 *auth = authbuf; local
81 auth = hp_ascii_to_utf16_unicode(auth, authentication);
82 if (!auth)
97 auth = hp_ascii_to_utf16_unicode(auth, strprefix);
100 if (!auth) {
312 /* allocate space and copy current auth token */
/linux-master/drivers/gpu/drm/
H A Ddrm_auth.c95 struct drm_auth *auth = data; local
105 auth->magic = file_priv->magic;
108 drm_dbg_core(dev, "%u\n", auth->magic);
116 struct drm_auth *auth = data; local
119 drm_dbg_core(dev, "%u\n", auth->magic);
122 file = idr_find(&file_priv->master->magic_map, auth->magic);
125 idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
H A Ddrm_ioc32.c168 int auth; /* Is client authenticated? */ member in struct:drm_client32
195 c32.auth = client.auth;
381 drm_dbg_core(dev, "comm=\"%s\", pid=%d, dev=0x%lx, auth=%d, %s\n",
/linux-master/fs/nfsd/
H A DMakefile14 export.o auth.o lockd.o nfscache.o \
/linux-master/drivers/nvme/host/
H A DMakefile20 nvme-core-$(CONFIG_NVME_HOST_AUTH) += auth.o
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss.c21 #include <linux/sunrpc/auth.h>
265 struct gss_auth *auth; member in struct:gss_upcall_msg
301 struct net *net = gss_msg->auth->net;
309 gss_put_auth(gss_msg->auth);
315 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) argument
321 if (pos->auth->service != auth->service)
340 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth);
436 struct gss_api_mech *mech = gss_msg->auth->mech;
514 gss_msg->auth
1033 struct rpc_auth * auth; local
1143 gss_destroy(struct rpc_auth *auth) argument
1375 gss_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
1383 gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags, gfp_t gfp) argument
1408 gss_cred_init(struct rpc_auth *auth, struct rpc_cred *cred) argument
1615 struct rpc_auth *auth = oldcred->cr_auth; local
1952 struct rpc_auth *auth = cred->cr_auth; local
[all...]
/linux-master/include/linux/sunrpc/
H A Dauth_gss.h17 #include <linux/sunrpc/auth.h>
/linux-master/net/sctp/
H A DMakefile14 output.o input.o debug.o stream.o auth.o \
/linux-master/fs/smb/server/
H A DMakefile7 ksmbd-y := unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
/linux-master/include/trace/events/
H A Drpcgss.h339 ** GSS auth unwrap failures
457 const struct rpc_auth *auth
460 TP_ARGS(task, auth),
466 __field(const void *, auth)
476 __entry->auth = auth;
477 __entry->rslack = auth->au_rslack;
478 __entry->ralign = auth->au_ralign;
479 __entry->verfsize = auth->au_verfsize;
483 " xid=0x%08x auth
[all...]
/linux-master/tools/testing/selftests/net/
H A Dvrf-xfrm-tests.sh262 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
269 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
277 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
284 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
292 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
299 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
307 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
314 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
/linux-master/drivers/thunderbolt/
H A Dicm.c2193 struct usb4_switch_nvm_auth *auth = data; local
2194 struct icm *icm = auth->icm;
2198 get_route(auth->reply.route_hi, auth->reply.route_lo),
2199 auth->reply.hdr.flags, auth->reply.status);
2204 icm->last_nvm_auth = auth;
2210 struct usb4_switch_nvm_auth *auth; local
2215 auth = kzalloc(sizeof(*auth), GFP_KERNE
2323 struct usb4_switch_nvm_auth *auth; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp.c194 if (hdcp->auth.trans_input.hdcp1.create_session != UNKNOWN) {
203 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
207 if (hdcp->auth.trans_input.hdcp2.create_session == PASS) {
217 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
222 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
547 exec_status = execution(hdcp, &event_ctx, &hdcp->auth.trans_input);
549 hdcp, &event_ctx, &hdcp->auth.trans_input, output);
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Devent.c561 struct cfg80211_external_auth_params auth = {0}; local
576 memcpy(auth.ssid.ssid, ev->ssid, len);
577 auth.ssid.ssid_len = len;
580 auth.key_mgmt_suite = le32_to_cpu(ev->akm_suite);
581 ether_addr_copy(auth.bssid, ev->bssid);
582 auth.action = ev->action;
585 vif->netdev->name, auth.bssid, auth.action,
586 auth.key_mgmt_suite);
588 ret = cfg80211_external_auth_request(vif->netdev, &auth, GFP_KERNE
[all...]
/linux-master/include/net/sctp/
H A Dauth.h93 struct sk_buff *skb, struct sctp_auth_chunk *auth,

Completed in 392 milliseconds

1234567