Searched refs:mech (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 764 u32 mech; in _ep11_genaeskey() member 827 req_pl->mech = 0x00001080; /* CKM_AES_KEY_GEN */ in _ep11_genaeskey() 930 u16 mode, u32 mech, const u8 *iv, in ep11_cryptsingle() argument 943 u32 mech; in ep11_cryptsingle() member 983 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in ep11_cryptsingle() 1061 u32 mech, const u8 *iv, in _ep11_unwrapkey() argument 1078 u32 mech; in _ep11_unwrapkey() member 1135 req_pl->mech = (mech ? mech : 0x00001085); /* CKM_AES_CBC_PAD */ in _ep11_unwrapkey() 1207 u32 mech, const u8 *iv, in ep11_unwrapkey() argument 1223 mech, iv, keybitsize, keygenflags, in ep11_unwrapkey() [all …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_rpc_upcall.c | 280 .mech.len = GSS_OID_MAX_LEN, in gssp_accept_sec_context_upcall() 316 data->mech_oid.len = rctxh.mech.len; in gssp_accept_sec_context_upcall() 317 if (rctxh.mech.data) { in gssp_accept_sec_context_upcall() 318 memcpy(data->mech_oid.data, rctxh.mech.data, in gssp_accept_sec_context_upcall() 320 kfree(rctxh.mech.data); in gssp_accept_sec_context_upcall()
|
| H A D | gss_rpc_xdr.h | 46 gssx_OID mech; member 78 gssx_OID mech; member 101 gssx_OID mech; member
|
| H A D | gss_rpc_xdr.c | 326 err = gssx_dec_buffer(xdr, &status->mech); in gssx_dec_status() 371 kfree(status->mech.data); in gssx_dec_status() 372 status->mech.data = NULL; in gssx_dec_status() 631 err = gssx_enc_buffer(xdr, &ctx->mech); in gssx_enc_ctx() 694 err = gssx_dec_buffer(xdr, &ctx->mech); in gssx_dec_ctx() 744 kfree(ctx->mech.data); in gssx_dec_ctx() 745 ctx->mech.data = NULL; in gssx_dec_ctx()
|
| H A D | gss_mech_switch.c | 353 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 D | auth_gss.c | 90 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 D | svcauth_gss.c | 1491 struct gss_api_mech *mech; in read_gss_krb5_enctypes() local 1494 mech = gss_mech_get_by_OID(&oid); in read_gss_krb5_enctypes() 1495 if (!mech) in read_gss_krb5_enctypes() 1497 if (!mech->gm_upcall_enctypes) { in read_gss_krb5_enctypes() 1498 gss_mech_put(mech); in read_gss_krb5_enctypes() 1503 mech->gm_upcall_enctypes, in read_gss_krb5_enctypes() 1504 strlen(mech->gm_upcall_enctypes)); in read_gss_krb5_enctypes() 1505 gss_mech_put(mech); in read_gss_krb5_enctypes()
|
| /linux/include/linux/sunrpc/ |
| H A D | gss_api.h | 50 struct gss_api_mech *mech,
|