Home
last modified time | relevance | path

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

/linux/net/sunrpc/auth_gss/
H 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()
H A Dgss_rpc_xdr.h46 gssx_OID mech; member
78 gssx_OID mech; member
101 gssx_OID mech; member
H A Dgss_rpc_xdr.c317 err = gssx_dec_buffer(xdr, &status->mech); in gssx_dec_status()
362 kfree(status->mech.data); in gssx_dec_status()
363 status->mech.data = NULL; in gssx_dec_status()
622 err = gssx_enc_buffer(xdr, &ctx->mech); in gssx_enc_ctx()
685 err = gssx_dec_buffer(xdr, &ctx->mech); in gssx_dec_ctx()
735 kfree(ctx->mech.data); in gssx_dec_ctx()
736 ctx->mech.data = NULL; in gssx_dec_ctx()
H 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()
H A Dauth_gss.c90 struct gss_api_mech *mech; member
438 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() local
443 len = scnprintf(p, buflen, "mech=%s uid=%d", mech->gm_name, in gss_encode_v1_msg()
486 if (mech->gm_upcall_enctypes) { in gss_encode_v1_msg()
488 mech->gm_upcall_enctypes); in gss_encode_v1_msg()
777 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall()
1045 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1046 if (!gss_auth->mech) in gss_create_new()
1048 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create_new()
1062 if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor)) in gss_create_new()
[all …]
H A Dsvcauth_gss.c1490 struct gss_api_mech *mech; in read_gss_krb5_enctypes() local
1493 mech = gss_mech_get_by_OID(&oid); in read_gss_krb5_enctypes()
1494 if (!mech) in read_gss_krb5_enctypes()
1496 if (!mech->gm_upcall_enctypes) { in read_gss_krb5_enctypes()
1497 gss_mech_put(mech); in read_gss_krb5_enctypes()
1502 mech->gm_upcall_enctypes, in read_gss_krb5_enctypes()
1503 strlen(mech->gm_upcall_enctypes)); in read_gss_krb5_enctypes()
1504 gss_mech_put(mech); in read_gss_krb5_enctypes()
/linux/include/linux/sunrpc/
H A Dgss_api.h50 struct gss_api_mech *mech,