Searched refs:skreq (Results 1 – 3 of 3) sorted by relevance
| /drivers/crypto/cavium/nitrox/ |
| A D | nitrox_skcipher.c | 69 free_src_sglist(skreq); in nitrox_skcipher_callback() 70 free_dst_sglist(skreq); in nitrox_skcipher_callback() 93 scatterwalk_map_and_copy(skreq->iv, skreq->dst, start, ivsize, in nitrox_cbc_cipher_callback() 96 if (skreq->src != skreq->dst) { in nitrox_cbc_cipher_callback() 97 scatterwalk_map_and_copy(skreq->iv, skreq->src, start, in nitrox_cbc_cipher_callback() 221 skreq->cryptlen); in alloc_src_sglist() 242 skreq->cryptlen); in alloc_dst_sglist() 257 creq->flags = skreq->base.flags; in nitrox_skcipher_crypt() 281 free_src_sglist(skreq); in nitrox_skcipher_crypt() 287 skreq); in nitrox_skcipher_crypt() [all …]
|
| /drivers/crypto/hisilicon/sec/ |
| A D | sec_algs.c | 461 skreq->iv, in sec_skcipher_alg_callback() 468 skreq->iv, in sec_skcipher_alg_callback() 477 crypto_inc(skreq->iv, 16); in sec_skcipher_alg_callback() 532 dma_unmap_sg(dev, skreq->src, sec_req->len_in, in sec_skcipher_alg_callback() 534 if (skreq->src != skreq->dst) in sec_skcipher_alg_callback() 537 skcipher_request_complete(skreq, sec_req->err); in sec_skcipher_alg_callback() 723 bool split = skreq->src != skreq->dst; in sec_alg_skcipher_crypto() 727 sec_req->req_base = &skreq->base; in sec_alg_skcipher_crypto() 730 sec_req->len_in = sg_nents(skreq->src); in sec_alg_skcipher_crypto() 744 sec_req->len_out = sg_nents(skreq->dst); in sec_alg_skcipher_crypto() [all …]
|
| /drivers/crypto/marvell/cesa/ |
| A D | cipher.c | 148 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_process() local 153 return mv_cesa_skcipher_std_process(skreq, status); in mv_cesa_skcipher_process() 160 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_step() local 166 mv_cesa_skcipher_std_step(skreq); in mv_cesa_skcipher_step() 191 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_prepare() local 197 mv_cesa_skcipher_dma_prepare(skreq); in mv_cesa_skcipher_prepare() 199 mv_cesa_skcipher_std_prepare(skreq); in mv_cesa_skcipher_prepare() 205 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_req_cleanup() local 207 mv_cesa_skcipher_cleanup(skreq); in mv_cesa_skcipher_req_cleanup() 227 memcpy(skreq->iv, in mv_cesa_skcipher_complete() [all …]
|
Completed in 11 milliseconds