Searched refs:basereq (Results 1 – 2 of 2) sorted by relevance
/drivers/crypto/marvell/cesa/ |
D | cipher.c | 147 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_process() local 149 if (mv_cesa_req_get_type(basereq) == CESA_STD_REQ) in mv_cesa_skcipher_process() 152 return mv_cesa_dma_process(basereq, status); in mv_cesa_skcipher_process() 170 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_prepare() local 172 mv_cesa_dma_prepare(basereq, basereq->engine); in mv_cesa_skcipher_dma_prepare() 219 struct mv_cesa_req *basereq; in mv_cesa_skcipher_complete() local 221 basereq = &creq->base; in mv_cesa_skcipher_complete() 222 memcpy(skreq->iv, basereq->chain.last->op->ctx.skcipher.iv, in mv_cesa_skcipher_complete() 318 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_req_init() local 323 basereq->chain.first = NULL; in mv_cesa_skcipher_dma_req_init() [all …]
|
D | hash.c | 298 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_ahash_dma_prepare() local 300 mv_cesa_dma_prepare(basereq, basereq->engine); in mv_cesa_ahash_dma_prepare() 632 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_ahash_dma_req_init() local 640 basereq->chain.first = NULL; in mv_cesa_ahash_dma_req_init() 641 basereq->chain.last = NULL; in mv_cesa_ahash_dma_req_init() 655 mv_cesa_tdma_desc_iter_init(&basereq->chain); in mv_cesa_ahash_dma_req_init() 662 ret = mv_cesa_ahash_dma_add_cache(&basereq->chain, creq, flags); in mv_cesa_ahash_dma_req_init() 673 ret = mv_cesa_dma_add_op_transfers(&basereq->chain, in mv_cesa_ahash_dma_req_init() 684 op = mv_cesa_dma_add_frag(&basereq->chain, in mv_cesa_ahash_dma_req_init() 703 op = mv_cesa_ahash_dma_last_req(&basereq->chain, &iter, creq, in mv_cesa_ahash_dma_req_init() [all …]
|