Lines Matching refs:src
41 struct scatterlist src[1]; member
47 struct scatterlist src[1]; member
52 struct scatterlist src[2]; member
100 scatterwalk_map_and_copy(tag, req->src, in poly_verify_tag()
128 struct scatterlist *src, *dst; in chacha_decrypt() local
136 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_decrypt()
137 dst = src; in chacha_decrypt()
138 if (req->src != req->dst) in chacha_decrypt()
144 skcipher_request_set_crypt(&creq->req, src, dst, in chacha_decrypt()
179 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail()
184 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()
209 sg_init_one(preq->src, preq->pad, padlen); in poly_cipherpad()
214 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_cipherpad()
233 struct scatterlist *crypt = req->src; in poly_cipher()
239 crypt = scatterwalk_ffwd(rctx->src, crypt, req->assoclen); in poly_cipher()
268 sg_init_one(preq->src, preq->pad, padlen); in poly_adpad()
273 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_adpad()
297 ahash_request_set_crypt(&preq->req, req->src, NULL, rctx->assoclen); in poly_ad()
318 sg_init_one(preq->src, rctx->key, sizeof(rctx->key)); in poly_setkey()
323 ahash_request_set_crypt(&preq->req, preq->src, NULL, sizeof(rctx->key)); in poly_setkey()
377 sg_init_one(creq->src, rctx->key, sizeof(rctx->key)); in poly_genkey()
384 skcipher_request_set_crypt(&creq->req, creq->src, creq->src, in poly_genkey()
404 struct scatterlist *src, *dst; in chacha_encrypt() local
412 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_encrypt()
413 dst = src; in chacha_encrypt()
414 if (req->src != req->dst) in chacha_encrypt()
420 skcipher_request_set_crypt(&creq->req, src, dst, in chacha_encrypt()