Searched refs:mech (Results 1 - 6 of 6) 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_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 | gss_rpc_upcall.c | 262 .mech.len = GSS_OID_MAX_LEN, 298 data->mech_oid.len = rctxh.mech.len; 299 if (rctxh.mech.data) 300 memcpy(data->mech_oid.data, rctxh.mech.data,
|
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 | 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...] |
H A D | gss_rpc_xdr.c | 317 /* status->mech */ 318 err = gssx_dec_buffer(xdr, &status->mech); 597 /* ctx->mech */ 598 err = gssx_enc_buffer(xdr, &ctx->mech); 660 /* ctx->mech */ 661 err = gssx_dec_buffer(xdr, &ctx->mech);
|
Completed in 31 milliseconds