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

/linux-4.1.27/drivers/crypto/qce/
H A Dablkcipher.c35 bool diff_dst; qce_ablkcipher_done() local
37 diff_dst = (req->src != req->dst) ? true : false; qce_ablkcipher_done()
38 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_done()
39 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_done()
46 if (diff_dst) qce_ablkcipher_done()
71 bool diff_dst; qce_ablkcipher_async_req_handle() local
79 diff_dst = (req->src != req->dst) ? true : false; qce_ablkcipher_async_req_handle()
80 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_async_req_handle()
81 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_async_req_handle()
85 if (diff_dst) { qce_ablkcipher_async_req_handle()
124 if (diff_dst) { qce_ablkcipher_async_req_handle()
151 if (diff_dst) qce_ablkcipher_async_req_handle()
/linux-4.1.27/crypto/
H A Dtestmgr.c419 const bool diff_dst, const int align_offset) __test_aead()
451 if (diff_dst && testmgr_alloc_buf(xoutbuf)) __test_aead()
455 sg = kmalloc(sizeof(*sg) * 8 * (diff_dst ? 3 : 2), GFP_KERNEL); __test_aead()
461 if (diff_dst) __test_aead()
538 if (diff_dst) { __test_aead()
551 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, __test_aead()
635 if (diff_dst) __test_aead()
646 if (diff_dst) { __test_aead()
679 if (diff_dst) __test_aead()
700 aead_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, __test_aead()
739 if (diff_dst) __test_aead()
759 if (!diff_dst && __test_aead()
786 if (diff_dst) __test_aead()
908 const bool diff_dst, const int align_offset) __test_skcipher()
928 if (diff_dst && testmgr_alloc_buf(xoutbuf)) __test_skcipher()
931 if (diff_dst) __test_skcipher()
986 if (diff_dst) { __test_skcipher()
992 ablkcipher_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, __test_skcipher()
1055 if (diff_dst) __test_skcipher()
1070 if (diff_dst) { __test_skcipher()
1085 ablkcipher_request_set_crypt(req, sg, (diff_dst) ? sgout : sg, __test_skcipher()
1111 if (diff_dst) __test_skcipher()
1143 if (diff_dst) __test_skcipher()
417 __test_aead(struct crypto_aead *tfm, int enc, struct aead_testvec *template, unsigned int tcount, const bool diff_dst, const int align_offset) __test_aead() argument
906 __test_skcipher(struct crypto_ablkcipher *tfm, int enc, struct cipher_testvec *template, unsigned int tcount, const bool diff_dst, const int align_offset) __test_skcipher() argument

Completed in 73 milliseconds