Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_algs.c65 struct qat_alg_cd *enc_cd; member
84 struct icp_qat_hw_cipher_algo_blk *enc_cd; member
243 struct qat_enc *enc_ctx = &ctx->enc_cd->qat_enc_cd; in qat_alg_aead_init_enc_session()
455 struct icp_qat_hw_cipher_algo_blk *enc_cd = ctx->enc_cd; in qat_alg_skcipher_init_enc() local
459 qat_alg_skcipher_init_com(ctx, req, enc_cd, key, keylen); in qat_alg_skcipher_init_enc()
461 enc_cd->aes.cipher_config.val = QAT_AES_HW_CONFIG_ENC(alg, mode); in qat_alg_skcipher_init_enc()
594 memset(ctx->enc_cd, 0, sizeof(*ctx->enc_cd)); in qat_alg_aead_rekey()
617 ctx->enc_cd = dma_alloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_aead_newkey()
620 if (!ctx->enc_cd) { in qat_alg_aead_newkey()
645 memset(ctx->enc_cd, 0, sizeof(struct qat_alg_cd)); in qat_alg_aead_newkey()
[all …]