Searched defs:mech (Results 1 - 4 of 4) sorted by relevance
/net/sunrpc/auth_gss/ |
H A D | gss_generic_token.c | 51 /* 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) argument 150 body_size += 2 + (int) mech->len; /* NEED overflow check */ 160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) argument 163 der_write_length(buf, 2 + mech->len + body_size); 165 *(*buf)++ = (unsigned char) mech->len; 166 TWRITE_STR(*buf, mech->data, ((int) mech 180 g_verify_token_header(struct xdr_netobj *mech, int *body_size, unsigned char **buf_in, int toksize) argument [all...] |
H A D | gss_mech_switch.c | 298 * @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, 395 (*ctx_id)->mech_type = gss_mech_get(mech); 397 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, 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) argument
|
H A D | gss_rpc_xdr.h | 59 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 D | auth_gss.c | 93 struct gss_api_mech *mech; member in struct:gss_auth 447 struct gss_api_mech *mech = gss_msg->auth->mech; local 452 len = scnprintf(p, buflen, "mech=%s uid=%d ", mech->gm_name, 469 if (mech->gm_upcall_enctypes) { 471 mech->gm_upcall_enctypes); 725 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); 1005 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); 1006 if (!gss_auth->mech) { [all...] |
Completed in 52 milliseconds