Lines Matching refs:kctx
282 gss_krb5_alloc_hash_v2(struct krb5_ctx *kctx, const struct xdr_netobj *key) in gss_krb5_alloc_hash_v2() argument
286 tfm = crypto_alloc_ahash(kctx->gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in gss_krb5_alloc_hash_v2()
496 struct krb5_ctx *kctx = internal_ctx; in gss_krb5_delete_sec_context() local
498 crypto_free_sync_skcipher(kctx->seq); in gss_krb5_delete_sec_context()
499 crypto_free_sync_skcipher(kctx->enc); in gss_krb5_delete_sec_context()
500 crypto_free_sync_skcipher(kctx->acceptor_enc); in gss_krb5_delete_sec_context()
501 crypto_free_sync_skcipher(kctx->initiator_enc); in gss_krb5_delete_sec_context()
502 crypto_free_sync_skcipher(kctx->acceptor_enc_aux); in gss_krb5_delete_sec_context()
503 crypto_free_sync_skcipher(kctx->initiator_enc_aux); in gss_krb5_delete_sec_context()
504 crypto_free_ahash(kctx->acceptor_sign); in gss_krb5_delete_sec_context()
505 crypto_free_ahash(kctx->initiator_sign); in gss_krb5_delete_sec_context()
506 crypto_free_ahash(kctx->acceptor_integ); in gss_krb5_delete_sec_context()
507 crypto_free_ahash(kctx->initiator_integ); in gss_krb5_delete_sec_context()
508 kfree(kctx->mech_used.data); in gss_krb5_delete_sec_context()
509 kfree(kctx); in gss_krb5_delete_sec_context()
526 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_get_mic() local
528 return kctx->gk5e->get_mic(kctx, text, token); in gss_krb5_get_mic()
548 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_verify_mic() local
550 return kctx->gk5e->verify_mic(kctx, message_buffer, read_token); in gss_krb5_verify_mic()
568 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_wrap() local
570 return kctx->gk5e->wrap(kctx, offset, buf, pages); in gss_krb5_wrap()
590 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_unwrap() local
592 return kctx->gk5e->unwrap(kctx, offset, len, buf, in gss_krb5_unwrap()