Home
last modified time | relevance | path

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

/linux/net/sunrpc/auth_gss/
A Dgss_generic_token.c147 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()
A Dgss_rpc_upcall.c285 .mech.len = GSS_OID_MAX_LEN, in gssp_accept_sec_context_upcall()
321 data->mech_oid.len = rctxh.mech.len; in gssp_accept_sec_context_upcall()
322 if (rctxh.mech.data) { in gssp_accept_sec_context_upcall()
323 memcpy(data->mech_oid.data, rctxh.mech.data, in gssp_accept_sec_context_upcall()
325 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.c354 struct gss_api_mech *mech, in gss_import_sec_context() argument
361 (*ctx_id)->mech_type = gss_mech_get(mech); in gss_import_sec_context()
363 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, in gss_import_sec_context()
A Dauth_gss.c72 struct gss_api_mech *mech; member
419 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() local
424 len = scnprintf(p, buflen, "mech=%s uid=%d", mech->gm_name, in gss_encode_v1_msg()
467 if (mech->gm_upcall_enctypes) { in gss_encode_v1_msg()
469 mech->gm_upcall_enctypes); in gss_encode_v1_msg()
742 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall()
1018 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1019 if (!gss_auth->mech) in gss_create_new()
1055 gss_pipe = gss_pipe_get(clnt, gss_auth->mech->gm_name, in gss_create_new()
1069 gss_mech_put(gss_auth->mech); in gss_create_new()
[all …]
A Dgss_rpc_xdr.c306 err = gssx_dec_buffer(xdr, &status->mech); in gssx_dec_status()
586 err = gssx_enc_buffer(xdr, &ctx->mech); in gssx_enc_ctx()
649 err = gssx_dec_buffer(xdr, &ctx->mech); in gssx_dec_ctx()
/linux/include/linux/sunrpc/
A Dgss_asn1.h69 struct xdr_netobj *mech,
75 struct xdr_netobj *mech,
79 struct xdr_netobj *mech,
A Dgss_api.h50 struct gss_api_mech *mech,
/linux/drivers/s390/crypto/
A Dzcrypt_ep11misc.c681 u32 mech; in ep11_genaeskey() member
814 u32 mech; in ep11_cryptsingle() member
854 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in ep11_cryptsingle()
931 u32 mech, const u8 *iv, in ep11_unwrapkey() argument
948 u32 mech; in ep11_unwrapkey() member
996 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in ep11_unwrapkey()
1070 u32 mech, const u8 *iv, in ep11_wrapkey() argument
1080 u32 mech; in ep11_wrapkey() member
1121 if (!mech || mech == 0x80060001) in ep11_wrapkey()
1124 api = (!mech || mech == 0x80060001) ? 4 : 1; /* CKM_IBM_CPACF_WRAP */ in ep11_wrapkey()
[all …]

Completed in 18 milliseconds