Home
last modified time | relevance | path

Searched refs:mech (Results 1 – 6 of 6) sorted by relevance

/net/sunrpc/auth_gss/
A Dgss_rpc_upcall.c286 .mech.len = GSS_OID_MAX_LEN, in gssp_accept_sec_context_upcall()
322 data->mech_oid.len = rctxh.mech.len; in gssp_accept_sec_context_upcall()
323 if (rctxh.mech.data) { in gssp_accept_sec_context_upcall()
324 memcpy(data->mech_oid.data, rctxh.mech.data, in gssp_accept_sec_context_upcall()
326 kfree(rctxh.mech.data); in gssp_accept_sec_context_upcall()
A Dgss_rpc_xdr.h46 gssx_OID mech; member
78 gssx_OID mech; member
101 gssx_OID mech; member
A Dgss_mech_switch.c353 struct gss_api_mech *mech, in gss_import_sec_context() argument
360 (*ctx_id)->mech_type = gss_mech_get(mech); in gss_import_sec_context()
362 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, in gss_import_sec_context()
A Dauth_gss.c88 struct gss_api_mech *mech; member
436 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() local
441 len = scnprintf(p, buflen, "mech=%s uid=%d", mech->gm_name, in gss_encode_v1_msg()
484 if (mech->gm_upcall_enctypes) { in gss_encode_v1_msg()
486 mech->gm_upcall_enctypes); in gss_encode_v1_msg()
774 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall()
1042 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1043 if (!gss_auth->mech) in gss_create_new()
1080 gss_pipe = gss_pipe_get(clnt, gss_auth->mech->gm_name, in gss_create_new()
1094 gss_mech_put(gss_auth->mech); in gss_create_new()
[all …]
A Dsvcauth_gss.c1489 struct gss_api_mech *mech; in read_gss_krb5_enctypes() local
1492 mech = gss_mech_get_by_OID(&oid); in read_gss_krb5_enctypes()
1493 if (!mech) in read_gss_krb5_enctypes()
1495 if (!mech->gm_upcall_enctypes) { in read_gss_krb5_enctypes()
1496 gss_mech_put(mech); in read_gss_krb5_enctypes()
1501 mech->gm_upcall_enctypes, in read_gss_krb5_enctypes()
1502 strlen(mech->gm_upcall_enctypes)); in read_gss_krb5_enctypes()
1503 gss_mech_put(mech); in read_gss_krb5_enctypes()
A Dgss_rpc_xdr.c317 err = gssx_dec_buffer(xdr, &status->mech); in gssx_dec_status()
597 err = gssx_enc_buffer(xdr, &ctx->mech); in gssx_enc_ctx()
660 err = gssx_dec_buffer(xdr, &ctx->mech); in gssx_dec_ctx()

Completed in 16 milliseconds