Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/qat/qat_common/
Dqat_algs.c65 struct qat_alg_cd *enc_cd; member
84 struct icp_qat_hw_cipher_algo_blk *enc_cd; member
259 struct qat_enc *enc_ctx = &ctx->enc_cd->qat_enc_cd; in qat_alg_aead_init_enc_session()
451 struct icp_qat_hw_cipher_algo_blk *enc_cd = ctx->enc_cd; in qat_alg_skcipher_init_enc() local
455 qat_alg_skcipher_init_com(ctx, req, enc_cd, key, keylen); in qat_alg_skcipher_init_enc()
457 enc_cd->aes.cipher_config.val = QAT_AES_HW_CONFIG_ENC(alg, mode); in qat_alg_skcipher_init_enc()
558 memset(ctx->enc_cd, 0, sizeof(*ctx->enc_cd)); in qat_alg_aead_rekey()
581 ctx->enc_cd = dma_alloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_aead_newkey()
584 if (!ctx->enc_cd) { in qat_alg_aead_newkey()
609 memset(ctx->enc_cd, 0, sizeof(struct qat_alg_cd)); in qat_alg_aead_newkey()
[all …]