Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c455 struct icp_qat_hw_cipher_algo_blk *enc_cd = ctx->enc_cd; in qat_alg_skcipher_init_enc() local
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()
660 if (ctx->enc_cd) in qat_alg_aead_setkey()
879 memset(ctx->enc_cd, 0, sizeof(*ctx->enc_cd)); in qat_alg_skcipher_rekey()
901 ctx->enc_cd = dma_alloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_skcipher_newkey()
928 memset(ctx->enc_cd, 0, sizeof(*ctx->enc_cd)); in qat_alg_skcipher_newkey()
946 if (ctx->enc_cd) in qat_alg_skcipher_setkey()
1193 if (ctx->enc_cd) { in qat_alg_aead_exit()
[all …]