/kernel/linux/linux-5.10/crypto/ |
H A D | rsa-pkcs1pad.c | 102 struct scatterlist in_sg[2], out_sg[1]; member 357 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_decrypt() 366 req_ctx->out_sg, req->src_len, in pkcs1pad_decrypt() 546 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_verify() 555 req_ctx->out_sg, req->src_len, in pkcs1pad_verify()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | rsa-pkcs1pad.c | 102 struct scatterlist in_sg[2], out_sg[1]; member 355 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_decrypt() 364 req_ctx->out_sg, req->src_len, in pkcs1pad_decrypt() 545 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_verify() 554 req_ctx->out_sg, sig_size, ctx->key_size); in pkcs1pad_verify()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | virtio_transport.c | 105 int ret, in_sg = 0, out_sg = 0; in virtio_transport_send_pkt_work() local 124 sgs[out_sg++] = &hdr; in virtio_transport_send_pkt_work() 127 sgs[out_sg++] = &buf; in virtio_transport_send_pkt_work() 130 ret = virtqueue_add_sgs(vq, sgs, out_sg, in_sg, pkt, GFP_KERNEL); in virtio_transport_send_pkt_work()
|
/kernel/linux/linux-6.6/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 297 sg_copy_buffer(rctx->out_sg, sg_nents(rctx->out_sg), in starfive_rsa_enc_core() 330 rctx->out_sg = req->dst; in starfive_rsa_enc() 362 rctx->out_sg = req->dst; in starfive_rsa_dec()
|
H A D | jh7110-cryp.h | 212 struct scatterlist *out_sg; member
|
H A D | jh7110-aes.c | 499 rctx->out_sg = req ? req->dst : areq->dst; in starfive_aes_prepare_req() 500 scatterwalk_start(&cryp->out_walk, rctx->out_sg); in starfive_aes_prepare_req()
|
/kernel/linux/linux-6.6/net/vmw_vsock/ |
H A D | virtio_transport.c | 104 int ret, in_sg = 0, out_sg = 0; in virtio_transport_send_pkt_work() local 116 sgs[out_sg++] = &hdr; in virtio_transport_send_pkt_work() 119 sgs[out_sg++] = &buf; in virtio_transport_send_pkt_work() 122 ret = virtqueue_add_sgs(vq, sgs, out_sg, in_sg, skb, GFP_KERNEL); in virtio_transport_send_pkt_work()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | public_key.c | 218 struct scatterlist in_sg, out_sg; in software_key_eds_op() local 258 sg_init_one(&out_sg, out, params->out_len); in software_key_eds_op() 259 akcipher_request_set_crypt(req, &in_sg, &out_sg, params->in_len, in software_key_eds_op()
|
H A D | asym_tpm.c | 451 struct scatterlist in_sg, out_sg; in tpm_key_encrypt() local 479 sg_init_one(&out_sg, out, params->out_len); in tpm_key_encrypt() 480 akcipher_request_set_crypt(req, &in_sg, &out_sg, params->in_len, in tpm_key_encrypt()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | sahara.c | 222 struct scatterlist *out_sg; member 471 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); in sahara_hw_descriptor_create() 489 ret = dma_map_sg(dev->device, dev->out_sg, dev->nb_out_sg, in sahara_hw_descriptor_create() 514 sg = dev->out_sg; in sahara_hw_descriptor_create() 580 dev->out_sg = req->dst; in sahara_aes_process() 611 dma_unmap_sg(dev->device, dev->out_sg, dev->nb_out_sg, in sahara_aes_process()
|
H A D | omap-aes.h | 184 struct scatterlist *out_sg; member
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | sahara.c | 222 struct scatterlist *out_sg; member 471 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); in sahara_hw_descriptor_create() 489 ret = dma_map_sg(dev->device, dev->out_sg, dev->nb_out_sg, in sahara_hw_descriptor_create() 514 sg = dev->out_sg; in sahara_hw_descriptor_create() 580 dev->out_sg = req->dst; in sahara_aes_process() 611 dma_unmap_sg(dev->device, dev->out_sg, dev->nb_out_sg, in sahara_aes_process()
|
H A D | omap-aes.h | 182 struct scatterlist *out_sg; member
|
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx.h | 127 struct nx_sg *out_sg; /* aligned pointer into kmem to an sg list */ member
|
H A D | nx-aes-ccm.c | 165 struct nx_sg *nx_outsg = nx_ctx->out_sg; in generate_pat() 254 nx_ctx->op.outlen = (nx_ctx->out_sg - nx_outsg) * in generate_pat()
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx.h | 127 struct nx_sg *out_sg; /* aligned pointer into kmem to an sg list */ member
|
H A D | nx-aes-ccm.c | 162 struct nx_sg *nx_outsg = nx_ctx->out_sg; in generate_pat() 251 nx_ctx->op.outlen = (nx_ctx->out_sg - nx_outsg) * in generate_pat()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | virt-pci.c | 77 struct scatterlist out_sg, extra_sg, in_sg; in um_pci_send_cmd() local 79 [0] = &out_sg, in um_pci_send_cmd() 128 sg_init_one(&out_sg, cmd, cmd_size); in um_pci_send_cmd()
|
/kernel/linux/linux-6.6/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 303 struct scatterlist *out_sg = req->dst; in aspeed_acry_rsa_transfer() local 334 scatterwalk_map_and_copy(dram_buffer, out_sg, 0, result_nbytes, in aspeed_acry_rsa_transfer()
|
H A D | aspeed-hace-crypto.c | 155 struct scatterlist *out_sg; in aspeed_sk_transfer() local 161 out_sg = req->dst; in aspeed_sk_transfer() 164 nbytes = sg_copy_from_buffer(out_sg, rctx->dst_nents, in aspeed_sk_transfer()
|
/kernel/linux/linux-5.10/net/tls/ |
H A D | tls_sw.c | 1404 /* This function decrypts the input skb into either out_iov or in out_sg 1407 * out_iov or out_sg must be non-NULL. In case both out_iov and out_sg are 1414 struct scatterlist *out_sg, in decrypt_internal() 1431 if (*zc && (out_iov || out_sg)) { in decrypt_internal() 1435 n_sgout = sg_nents(out_sg); in decrypt_internal() 1522 } else if (out_sg) { in decrypt_internal() 1523 memcpy(sgout, out_sg, n_sgout * sizeof(*sgout)); in decrypt_internal() 1412 decrypt_internal(struct sock *sk, struct sk_buff *skb, struct iov_iter *out_iov, struct scatterlist *out_sg, int *chunk, bool *zc, bool async) decrypt_internal() argument
|
/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_sw.c | 1454 /* This function decrypts the input skb into either out_iov or in out_sg 1457 * out_iov or out_sg must be non-NULL. In case both out_iov and out_sg are 1462 struct scatterlist *out_sg, in tls_decrypt_sg() 1487 if (darg->zc && (out_iov || out_sg)) { in tls_decrypt_sg() 1494 n_sgout = sg_nents(out_sg); in tls_decrypt_sg() 1592 } else if (out_sg) { in tls_decrypt_sg() 1593 memcpy(sgout, out_sg, n_sgout * sizeof(*sgout)); in tls_decrypt_sg() 1461 tls_decrypt_sg(struct sock *sk, struct iov_iter *out_iov, struct scatterlist *out_sg, struct tls_decrypt_arg *darg) tls_decrypt_sg() argument
|
/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 148 struct scatterlist *out_sg; member 1053 cryp->out_sg = req ? req->dst : areq->dst; in stm32_cryp_prepare_req() 1054 scatterwalk_start(&cryp->out_walk, cryp->out_sg); in stm32_cryp_prepare_req()
|
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 193 struct scatterlist *out_sg; member 1219 cryp->out_sg = req ? req->dst : areq->dst; in stm32_cryp_prepare_req() 1220 scatterwalk_start(&cryp->out_walk, cryp->out_sg); in stm32_cryp_prepare_req()
|