Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/qce/
Dablkcipher.c35 bool diff_dst; in qce_ablkcipher_done() local
37 diff_dst = (req->src != req->dst) ? true : false; in qce_ablkcipher_done()
38 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_done()
39 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_done()
46 if (diff_dst) in qce_ablkcipher_done()
69 bool diff_dst; in qce_ablkcipher_async_req_handle() local
77 diff_dst = (req->src != req->dst) ? true : false; in qce_ablkcipher_async_req_handle()
78 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_async_req_handle()
79 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_async_req_handle()
82 if (diff_dst) in qce_ablkcipher_async_req_handle()
[all …]
/Linux-v4.19/crypto/
Dtestmgr.c606 const bool diff_dst, const int align_offset) in __test_aead() argument
637 if (diff_dst && testmgr_alloc_buf(xoutbuf)) in __test_aead()
641 sg = kmalloc(array3_size(sizeof(*sg), 8, (diff_dst ? 4 : 2)), in __test_aead()
647 if (diff_dst) in __test_aead()
732 if (diff_dst) { in __test_aead()
742 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, in __test_aead()
820 if (diff_dst) in __test_aead()
834 if (diff_dst) in __test_aead()
852 if (diff_dst) { in __test_aead()
886 if (diff_dst) in __test_aead()
[all …]