Searched refs:sgl (Results 1 – 7 of 7) sorted by relevance
| /crypto/ |
| A D | af_alg.c | 548 if (sgl->sgt.sgl) { in af_alg_free_sg() 551 unpin_user_page(sg_page(&sgl->sgt.sgl[i])); in af_alg_free_sg() 552 if (sgl->sgt.sgl != sgl->sgl) in af_alg_free_sg() 553 kvfree(sgl->sgt.sgl); in af_alg_free_sg() 554 sgl->sgt.sgl = NULL; in af_alg_free_sg() 1002 sg = sgl->sg + sgl->cur - 1; in af_alg_sendmsg() 1055 for (; sgl->cur < sgtable.nents; sgl->cur++) in af_alg_sendmsg() 1211 areq->first_rsgl.sgl.sgt.sgl = areq->first_rsgl.sgl.sgl; in af_alg_alloc_areq() 1263 rsgl->sgl.sgt.sgl = rsgl->sgl.sgl; in af_alg_get_rsgl() 1268 sg_init_table(rsgl->sgl.sgt.sgl, ALG_MAX_PAGES); in af_alg_get_rsgl() [all …]
|
| A D | algif_hash.c | 20 struct af_alg_sgl sgl; member 106 ctx->sgl.sgt.sgl = ctx->sgl.sgl; in hash_sendmsg() 107 ctx->sgl.sgt.nents = 0; in hash_sendmsg() 108 ctx->sgl.sgt.orig_nents = 0; in hash_sendmsg() 115 sg_init_table(ctx->sgl.sgl, npages); in hash_sendmsg() 117 ctx->sgl.need_unpin = iov_iter_extract_will_pin(&msg->msg_iter); in hash_sendmsg() 120 &ctx->sgl.sgt, npages, 0); in hash_sendmsg() 124 sg_mark_end(ctx->sgl.sgt.sgl + ctx->sgl.sgt.nents - 1); in hash_sendmsg() 132 ahash_request_set_crypt(&ctx->req, ctx->sgl.sgt.sgl, in hash_sendmsg() 160 af_alg_free_sg(&ctx->sgl); in hash_sendmsg() [all …]
|
| A D | algif_aead.c | 189 rsgl_src = areq->first_rsgl.sgl.sgt.sgl; in _aead_recvmsg() 202 memcpy_sglist(areq->first_rsgl.sgl.sgt.sgl, tsgl_src, in _aead_recvmsg() 218 memcpy_sglist(areq->first_rsgl.sgl.sgt.sgl, tsgl_src, outlen); in _aead_recvmsg() 240 struct af_alg_sgl *sgl_prev = &areq->last_rsgl->sgl; in _aead_recvmsg() 241 struct scatterlist *sg = sgl_prev->sgt.sgl; in _aead_recvmsg() 252 areq->first_rsgl.sgl.sgt.sgl, used, ctx->iv); in _aead_recvmsg()
|
| A D | testmgr.c | 557 struct scatterlist sgl[XBUFSIZE]; member 670 tsgl->sgl_ptr = tsgl->sgl; in build_test_sglist() 671 memcpy(tsgl->sgl_saved, tsgl->sgl, tsgl->nents * sizeof(tsgl->sgl[0])); in build_test_sglist() 803 tsgls->dst.sgl_ptr = tsgls->src.sgl; in build_cipher_test_sglists() 813 memcpy(tsgls->dst.sgl, tsgls->src.sgl, in build_cipher_test_sglists() 817 tsgls->dst.sgl_ptr = tsgls->dst.sgl; in build_cipher_test_sglists() 1350 tsgl->sgl[0].length, result); in test_shash_vec_cfg() 1386 tsgl->sgl[i].length, result); in test_shash_vec_cfg() 1398 tsgl->sgl[i].length); in test_shash_vec_cfg() 1608 pending_sgl = &tsgl->sgl[i]; in test_ahash_vec_cfg() [all …]
|
| A D | hctr2.c | 193 struct scatterlist *sgl, in hctr2_hash_message() argument 206 sg_miter_start(&miter, sgl, sg_nents(sgl), in hctr2_hash_message()
|
| A D | algif_skcipher.c | 157 areq->first_rsgl.sgl.sgt.sgl, len, ctx->iv); in _skcipher_recvmsg()
|
| A D | adiantum.c | 248 struct scatterlist *sgl, unsigned int nents, in adiantum_hash_message() argument 262 sg_miter_start(&miter, sgl, nents, SG_MITER_FROM_SG | SG_MITER_ATOMIC); in adiantum_hash_message()
|
Completed in 29 milliseconds