Searched refs:mech (Results 1 – 6 of 6) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_generic_token.c | 147 g_token_size(struct xdr_netobj *mech, unsigned int body_size) in g_token_size() argument 150 body_size += 2 + (int) mech->len; /* NEED overflow check */ in g_token_size() 160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) in g_make_token_header() argument 163 der_write_length(buf, 2 + mech->len + body_size); in g_make_token_header() 165 *(*buf)++ = (unsigned char) mech->len; in g_make_token_header() 166 TWRITE_STR(*buf, mech->data, ((int) mech->len)); in g_make_token_header() 180 g_verify_token_header(struct xdr_netobj *mech, int *body_size, in g_verify_token_header() argument 213 if (! g_OID_equal(&toid, mech)) in g_verify_token_header()
|
D | gss_rpc_xdr.h | 59 gssx_OID mech; member 91 gssx_OID mech; member 114 gssx_OID mech; member
|
D | auth_gss.c | 77 struct gss_api_mech *mech; member 412 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() local 417 mech->gm_name, in gss_encode_v1_msg() 430 if (mech->gm_upcall_enctypes) { in gss_encode_v1_msg() 431 len = sprintf(p, "enctypes=%s ", mech->gm_upcall_enctypes); in gss_encode_v1_msg() 686 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall() 826 gss_auth->mech->gm_name, in gss_pipes_dentries_create() 888 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create() 889 if (!gss_auth->mech) { in gss_create() 893 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create() [all …]
|
D | gss_rpc_upcall.c | 244 .mech.len = GSS_OID_MAX_LEN, in gssp_accept_sec_context_upcall() 274 data->mech_oid.len = rctxh.mech.len; in gssp_accept_sec_context_upcall() 275 memcpy(data->mech_oid.data, rctxh.mech.data, in gssp_accept_sec_context_upcall()
|
D | gss_mech_switch.c | 387 struct gss_api_mech *mech, in gss_import_sec_context() argument 394 (*ctx_id)->mech_type = gss_mech_get(mech); in gss_import_sec_context() 396 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, in gss_import_sec_context()
|
D | gss_rpc_xdr.c | 322 err = gssx_dec_buffer(xdr, &status->mech); in gssx_dec_status() 599 err = gssx_enc_buffer(xdr, &ctx->mech); in gssx_enc_ctx() 662 err = gssx_dec_buffer(xdr, &ctx->mech); in gssx_dec_ctx()
|