Lines Matching refs:src
45 struct scatterlist src[2]; member
320 err = crypto_ccm_auth(req, req->src, cryptlen); in crypto_ccm_encrypt()
329 sg_init_table(pctx->src, 2); in crypto_ccm_encrypt()
330 sg_set_buf(pctx->src, odata, 16); in crypto_ccm_encrypt()
331 scatterwalk_sg_chain(pctx->src, 2, req->src); in crypto_ccm_encrypt()
333 dst = pctx->src; in crypto_ccm_encrypt()
334 if (req->src != req->dst) { in crypto_ccm_encrypt()
344 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
396 scatterwalk_map_and_copy(authtag, req->src, cryptlen, authsize, 0); in crypto_ccm_decrypt()
400 sg_init_table(pctx->src, 2); in crypto_ccm_decrypt()
401 sg_set_buf(pctx->src, authtag, 16); in crypto_ccm_decrypt()
402 scatterwalk_sg_chain(pctx->src, 2, req->src); in crypto_ccm_decrypt()
404 dst = pctx->src; in crypto_ccm_decrypt()
405 if (req->src != req->dst) { in crypto_ccm_decrypt()
415 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
695 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); in crypto_rfc4309_crypt()