Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/crypto/
Dtestmgr.c429 const bool diff_dst, const int align_offset) in __test_aead() argument
460 if (diff_dst && testmgr_alloc_buf(xoutbuf)) in __test_aead()
464 sg = kmalloc(sizeof(*sg) * 8 * (diff_dst ? 4 : 2), GFP_KERNEL); in __test_aead()
469 if (diff_dst) in __test_aead()
553 if (diff_dst) { in __test_aead()
563 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, in __test_aead()
647 if (diff_dst) in __test_aead()
661 if (diff_dst) in __test_aead()
679 if (diff_dst) { in __test_aead()
713 if (diff_dst) in __test_aead()
[all …]