Home
last modified time | relevance | path

Searched refs:sg_in (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/net/tls/
Dtls_device_fallback.c59 struct scatterlist sg_in[3]; in tls_enc_record() local
94 sg_init_table(sg_in, ARRAY_SIZE(sg_in)); in tls_enc_record()
96 sg_set_buf(sg_in, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record()
98 chain_to_walk(sg_in + 1, in); in tls_enc_record()
125 aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); in tls_enc_record()
153 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records() argument
160 scatterwalk_start(&in, sg_in); in tls_enc_records()
240 static int fill_sg_in(struct scatterlist *sg_in, in fill_sg_in() argument
287 sg_set_page(sg_in + i, skb_frag_page(frag), in fill_sg_in()
293 sg_in[i].length += remaining; in fill_sg_in()
[all …]
/Linux-v6.6/security/keys/encrypted-keys/
Dencrypted.c456 struct scatterlist sg_in[2]; in derived_key_encrypt() local
472 sg_init_table(sg_in, 2); in derived_key_encrypt()
473 sg_set_buf(&sg_in[0], epayload->decrypted_data, in derived_key_encrypt()
475 sg_set_page(&sg_in[1], ZERO_PAGE(0), AES_BLOCK_SIZE, 0); in derived_key_encrypt()
481 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_encrypt()
558 struct scatterlist sg_in[1]; in derived_key_decrypt() local
579 sg_init_table(sg_in, 1); in derived_key_decrypt()
581 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); in derived_key_decrypt()
587 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_decrypt()
/Linux-v6.6/drivers/firmware/arm_scmi/
Dvirtio.c229 struct scatterlist sg_in; in scmi_vio_feed_vq_rx() local
234 sg_init_one(&sg_in, msg->input, VIRTIO_SCMI_MAX_PDU_SIZE); in scmi_vio_feed_vq_rx()
238 rc = virtqueue_add_inbuf(vioch->vqueue, &sg_in, 1, msg, GFP_ATOMIC); in scmi_vio_feed_vq_rx()
500 struct scatterlist sg_in; in virtio_send_message() local
501 struct scatterlist *sgs[DESCRIPTORS_PER_TX_MSG] = { &sg_out, &sg_in }; in virtio_send_message()
518 sg_init_one(&sg_in, msg->input, msg_response_size(xfer)); in virtio_send_message()
/Linux-v6.6/drivers/misc/mei/pxp/
Dmei_pxp.c93 struct scatterlist *sg_in, size_t total_in_len, in mei_pxp_gsc_command() argument
100 return mei_cldev_send_gsc_command(cldev, client_id, fence_id, sg_in, total_in_len, sg_out); in mei_pxp_gsc_command()
/Linux-v6.6/include/drm/
Di915_pxp_tee_interface.h28 struct scatterlist *sg_in, size_t total_in_len,
/Linux-v6.6/drivers/crypto/qce/
Ddma.h39 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *sg_in,
/Linux-v6.6/drivers/md/
Ddm-crypt.c92 struct scatterlist sg_in[4]; member
537 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_lmk_gen()
687 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_tcw_gen()
993 sg2 = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_elephant()
1336 sg_init_table(dmreq->sg_in, 4); in crypt_convert_block_aead()
1337 sg_set_buf(&dmreq->sg_in[0], sector, sizeof(uint64_t)); in crypt_convert_block_aead()
1338 sg_set_buf(&dmreq->sg_in[1], org_iv, cc->iv_size); in crypt_convert_block_aead()
1339 sg_set_page(&dmreq->sg_in[2], bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_aead()
1340 sg_set_buf(&dmreq->sg_in[3], tag, cc->integrity_tag_size); in crypt_convert_block_aead()
1366 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead()
[all …]
/Linux-v6.6/include/linux/
Dmei_cl_bus.h122 struct scatterlist *sg_in,
/Linux-v6.6/include/crypto/
Ddrbg.h134 struct scatterlist sg_in, sg_out; /* CTR mode SGLs */ member
/Linux-v6.6/crypto/
Ddrbg.c1812 sg_init_table(&drbg->sg_in, 1); in drbg_init_sym_kernel()
1841 struct scatterlist *sg_in = &drbg->sg_in, *sg_out = &drbg->sg_out; in drbg_kcapi_sym_ctr() local
1847 sg_set_buf(sg_in, inbuf, inlen); in drbg_kcapi_sym_ctr()
1852 sg_set_buf(sg_in, drbg->outscratchpad, scratchpad_use); in drbg_kcapi_sym_ctr()
1859 skcipher_request_set_crypt(drbg->ctr_req, sg_in, sg_out, in drbg_kcapi_sym_ctr()
/Linux-v6.6/drivers/misc/mei/
Dbus.c884 struct scatterlist *sg_in, in mei_cldev_send_gsc_command() argument
900 if (!cldev || !sg_in || !sg_out) in mei_cldev_send_gsc_command()
912 sg_in_nents = sg_nents(sg_in); in mei_cldev_send_gsc_command()
935 for (i = 0, sg = sg_in; i < sg_in_nents; i++, sg++) { in mei_cldev_send_gsc_command()