Lines Matching refs:keyout
303 struct xdr_netobj keyout; in gss_krb5_import_ctx_v2() local
306 keyout.data = kmalloc(GSS_KRB5_MAX_KEYLEN, gfp_mask); in gss_krb5_import_ctx_v2()
307 if (!keyout.data) in gss_krb5_import_ctx_v2()
311 keyout.len = ctx->gk5e->Ke_length; in gss_krb5_import_ctx_v2()
312 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_INITIATOR_SEAL, in gss_krb5_import_ctx_v2()
316 &keyout); in gss_krb5_import_ctx_v2()
322 &keyout); in gss_krb5_import_ctx_v2()
328 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_ACCEPTOR_SEAL, in gss_krb5_import_ctx_v2()
332 &keyout); in gss_krb5_import_ctx_v2()
338 &keyout); in gss_krb5_import_ctx_v2()
344 keyout.len = ctx->gk5e->Kc_length; in gss_krb5_import_ctx_v2()
345 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_INITIATOR_SIGN, in gss_krb5_import_ctx_v2()
348 ctx->initiator_sign = gss_krb5_alloc_hash_v2(ctx, &keyout); in gss_krb5_import_ctx_v2()
353 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_ACCEPTOR_SIGN, in gss_krb5_import_ctx_v2()
356 ctx->acceptor_sign = gss_krb5_alloc_hash_v2(ctx, &keyout); in gss_krb5_import_ctx_v2()
361 keyout.len = ctx->gk5e->Ki_length; in gss_krb5_import_ctx_v2()
362 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_INITIATOR_SEAL, in gss_krb5_import_ctx_v2()
365 ctx->initiator_integ = gss_krb5_alloc_hash_v2(ctx, &keyout); in gss_krb5_import_ctx_v2()
370 if (krb5_derive_key(ctx, &keyin, &keyout, KG_USAGE_ACCEPTOR_SEAL, in gss_krb5_import_ctx_v2()
373 ctx->acceptor_integ = gss_krb5_alloc_hash_v2(ctx, &keyout); in gss_krb5_import_ctx_v2()
379 kfree_sensitive(keyout.data); in gss_krb5_import_ctx_v2()