Searched refs:mech (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_generic_token.c51 /* XXXX this code currently makes the assumption that a mech oid will
69 the sequence tag and length octets, the mech OID DER encoding, and the
144 /* returns the length of a token, given the mech oid and the body size */
147 g_token_size(struct xdr_netobj *mech, unsigned int body_size) g_token_size() argument
150 body_size += 2 + (int) mech->len; /* NEED overflow check */ g_token_size()
160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) g_make_token_header() argument
163 der_write_length(buf, 2 + mech->len + body_size); g_make_token_header()
165 *(*buf)++ = (unsigned char) mech->len; g_make_token_header()
166 TWRITE_STR(*buf, mech->data, ((int) mech->len)); g_make_token_header()
176 * mechanism in the token does not match the mech argument. buf and
180 g_verify_token_header(struct xdr_netobj *mech, int *body_size, g_verify_token_header() argument
213 if (! g_OID_equal(&toid, mech)) g_verify_token_header()
H A Dgss_rpc_upcall.c264 .mech.len = GSS_OID_MAX_LEN, gssp_accept_sec_context_upcall()
300 data->mech_oid.len = rctxh.mech.len; gssp_accept_sec_context_upcall()
301 if (rctxh.mech.data) gssp_accept_sec_context_upcall()
302 memcpy(data->mech_oid.data, rctxh.mech.data, gssp_accept_sec_context_upcall()
H A Dgss_mech_switch.c298 * @info: a GSS mech OID, quality of protection, and service value
384 /* The mech could probably be determined from the token instead, but it's just
388 struct gss_api_mech *mech, gss_import_sec_context()
395 (*ctx_id)->mech_type = gss_mech_get(mech); gss_import_sec_context()
397 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, gss_import_sec_context()
387 gss_import_sec_context(const void *input_token, size_t bufsize, struct gss_api_mech *mech, struct gss_ctx **ctx_id, time_t *endtime, gfp_t gfp_mask) gss_import_sec_context() argument
H A Dgss_rpc_xdr.h59 gssx_OID mech; member in struct:gssx_status
91 gssx_OID mech; member in struct:gssx_cred_element
114 gssx_OID mech; member in struct:gssx_ctx
H A Dgss_rpc_xdr.c317 /* status->mech */ gssx_dec_status()
318 err = gssx_dec_buffer(xdr, &status->mech); gssx_dec_status()
597 /* ctx->mech */ gssx_enc_ctx()
598 err = gssx_enc_buffer(xdr, &ctx->mech); gssx_enc_ctx()
660 /* ctx->mech */ gssx_dec_ctx()
661 err = gssx_dec_buffer(xdr, &ctx->mech); gssx_dec_ctx()
H A Dauth_gss.c93 struct gss_api_mech *mech; member in struct:gss_auth
447 struct gss_api_mech *mech = gss_msg->auth->mech; gss_encode_v1_msg() local
452 len = scnprintf(p, buflen, "mech=%s uid=%d ", mech->gm_name, gss_encode_v1_msg()
469 if (mech->gm_upcall_enctypes) { gss_encode_v1_msg()
471 mech->gm_upcall_enctypes); gss_encode_v1_msg()
725 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); gss_pipe_downcall()
1005 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); gss_create_new()
1006 if (!gss_auth->mech) { gss_create_new()
1010 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); gss_create_new()
1039 gss_pipe = gss_pipe_get(clnt, gss_auth->mech->gm_name, gss_create_new()
1053 gss_mech_put(gss_auth->mech); gss_create_new()
1069 gss_mech_put(gss_auth->mech); gss_free()
H A Dsvcauth_gss.c310 * uid, gidlist, mechanism, service-set, mech-specific-data
485 /* mech name */ rsc_parse()
495 /* mech-specific data: */ rsc_parse()
1181 /* get mech handle from OID */ gss_proxy_save_rsc()
1188 /* mech-specific data: */ gss_proxy_save_rsc()
/linux-4.4.14/include/linux/sunrpc/
H A Dgss_asn1.h69 struct xdr_netobj *mech,
75 struct xdr_netobj *mech,
79 struct xdr_netobj *mech,
H A Dgss_api.h49 struct gss_api_mech *mech,
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dni_tiocmd.c22 * Herman.Bruyninckx@mech.kuleuven.ac.be,
23 * Wim.Meeussen@mech.kuleuven.ac.be,
24 * Klaas.Gadeyne@mech.kuleuven.ac.be,
H A Dni_660x.c22 * Herman.Bruyninckx@mech.kuleuven.ac.be,
23 * Wim.Meeussen@mech.kuleuven.ac.be,
24 * Klaas.Gadeyne@mech.kuleuven.ac.be,
H A Dni_tio.c22 * Herman.Bruyninckx@mech.kuleuven.ac.be,
23 * Wim.Meeussen@mech.kuleuven.ac.be,
24 * Klaas.Gadeyne@mech.kuleuven.ac.be,
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_sec.h76 * | 4b (bulk svc) | 4b (bulk type) | 4b (svc) | 4b (mech) | 4b (policy) |
140 #define MAKE_FLVR(policy, mech, svc, btype, bsvc) \
142 ((__u32)(mech) << FLVR_MECH_OFFSET) | \
169 #define MAKE_BASE_SUBFLVR(mech, svc) \
170 ((__u32)(mech) | \
/linux-4.4.14/drivers/hid/
H A Dwacom.h13 * Copyright (c) 2004 Panagiotis Issaris <panagiotis.issaris@mech.kuleuven.ac.be>
/linux-4.4.14/arch/sparc/kernel/
H A Dtime_32.c9 * Gleb Raiko (rajko@mech.math.msu.su) 08/18/1998
/linux-4.4.14/net/sunrpc/
H A Dauth.c133 * @info: a GSS mech OID, quality of protection, and service value
/linux-4.4.14/fs/cifs/
H A Dcifsglob.h115 /* crypto hashing related structure/fields, not specific to a sec mech */
603 struct cifs_secmech secmech; /* crypto sec mech functs, descriptors */
/linux-4.4.14/arch/ia64/kernel/
H A Dmca.c2002 IA64_MCA_DEBUG("%s: registered MCA rendezvous spinloop and wakeup mech.\n", __func__); ia64_mca_init()
/linux-4.4.14/drivers/cdrom/
H A Dcdrom.c1302 * LOAD_UNLOAD command, and it doesn't implement the mech status cdrom_read_mech_status()

Completed in 549 milliseconds