Home
last modified time | relevance | path

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

/linux-4.1.27/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()
71 bool diff_dst; in qce_ablkcipher_async_req_handle() local
79 diff_dst = (req->src != req->dst) ? true : false; in qce_ablkcipher_async_req_handle()
80 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_async_req_handle()
81 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_ablkcipher_async_req_handle()
85 if (diff_dst) { in qce_ablkcipher_async_req_handle()
[all …]
/linux-4.1.27/crypto/
Dtestmgr.c419 const bool diff_dst, const int align_offset) in __test_aead() argument
451 if (diff_dst && testmgr_alloc_buf(xoutbuf)) in __test_aead()
455 sg = kmalloc(sizeof(*sg) * 8 * (diff_dst ? 3 : 2), GFP_KERNEL); in __test_aead()
461 if (diff_dst) in __test_aead()
538 if (diff_dst) { in __test_aead()
551 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, in __test_aead()
635 if (diff_dst) in __test_aead()
646 if (diff_dst) { in __test_aead()
679 if (diff_dst) in __test_aead()
700 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, in __test_aead()
[all …]