Home
last modified time | relevance | path

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

/openbmc/linux/net/sunrpc/auth_gss/
H 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()
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_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()
H 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()
1051 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1052 if (!gss_auth->mech) in gss_create_new()
1054 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create_new()
1068 if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor)) in gss_create_new()
[all …]
H A Dsvcauth_gss.c1499 struct gss_api_mech *mech; in read_gss_krb5_enctypes() local
1502 mech = gss_mech_get_by_OID(&oid); in read_gss_krb5_enctypes()
1503 if (!mech) in read_gss_krb5_enctypes()
1505 if (!mech->gm_upcall_enctypes) { in read_gss_krb5_enctypes()
1506 gss_mech_put(mech); in read_gss_krb5_enctypes()
1511 mech->gm_upcall_enctypes, in read_gss_krb5_enctypes()
1512 strlen(mech->gm_upcall_enctypes)); in read_gss_krb5_enctypes()
1513 gss_mech_put(mech); in read_gss_krb5_enctypes()
H 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()
/openbmc/linux/include/linux/sunrpc/
H A Dgss_asn1.h69 struct xdr_netobj *mech,
75 struct xdr_netobj *mech,
79 struct xdr_netobj *mech,
H A Dgss_api.h50 struct gss_api_mech *mech,
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c786 u32 mech; in _ep11_genaeskey() member
850 req_pl->mech = 0x00001080; /* CKM_AES_KEY_GEN */ in _ep11_genaeskey()
952 u16 mode, u32 mech, const u8 *iv, in ep11_cryptsingle() argument
964 u32 mech; in ep11_cryptsingle() member
1004 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in ep11_cryptsingle()
1081 u32 mech, const u8 *iv, in _ep11_unwrapkey() argument
1098 u32 mech; in _ep11_unwrapkey() member
1155 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in _ep11_unwrapkey()
1226 u32 mech, const u8 *iv, in ep11_unwrapkey() argument
1242 mech, iv, keybitsize, keygenflags, in ep11_unwrapkey()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/
H A D0001-sample-Rename-dprintf-to-cyrus_dprintf.patch30 if (mech) {
31 /* make sure that 'mech' appears in 'buf' */
/openbmc/qemu/ui/
H A Dtrace-events80 vnc_auth_sasl_mech_choose(void *state, const char *mech) "VNC client auth SASL state=%p mech=%s"