Home
last modified time | relevance | path

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

/drivers/crypto/qce/
Ddma.c25 dma->result_buf = kmalloc(QCE_RESULT_BUF_SZ + QCE_IGNORE_BUF_SZ, in qce_dma_request()
27 if (!dma->result_buf) { in qce_dma_request()
32 dma->ignore_buf = dma->result_buf + QCE_RESULT_BUF_SZ; in qce_dma_request()
46 kfree(dma->result_buf); in qce_dma_release()
Dskcipher.c34 struct qce_result_dump *result_buf = qce->dma.result_buf; in qce_skcipher_done() local
59 memcpy(rctx->iv, result_buf->encr_cntr_iv, rctx->ivsize); in qce_skcipher_done()
108 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_skcipher_async_req_handle()
Ddma.h33 struct qce_result_dump *result_buf; member
Daead.c31 struct qce_result_dump *result_buf = qce->dma.result_buf; in qce_aead_done() local
76 scatterwalk_map_and_copy(result_buf->auth_iv, req->dst, in qce_aead_done()
82 ret = memcmp(result_buf->auth_iv, tag, ctx->authsize); in qce_aead_done()
99 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_aead_prepare_result_buf()
Dsha.c44 struct qce_result_dump *result = qce->dma.result_buf; in qce_ahash_done()
103 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_ahash_async_req_handle()