/linux/net/tls/ |
H A D | tls_device_fallback.c | 60 struct scatterlist sg_in[3]; in tls_enc_record() local 89 sg_init_table(sg_in, ARRAY_SIZE(sg_in)); in tls_enc_record() 91 sg_set_buf(sg_in, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record() 93 chain_to_walk(sg_in + 1, in); in tls_enc_record() 120 aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); in tls_enc_record() 148 struct crypto_aead *aead, struct scatterlist *sg_in, in tls_enc_records() argument 155 scatterwalk_start(&in, sg_in); in tls_enc_records() 235 static int fill_sg_in(struct scatterlist *sg_in, in fill_sg_in() argument 282 sg_set_page(sg_in + i, skb_frag_page(frag), in fill_sg_in() 288 sg_in[i].length += remaining; in fill_sg_in() [all …]
|
/linux/security/keys/encrypted-keys/ |
H A D | encrypted.c | 456 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/drivers/firmware/arm_scmi/transports/ |
H A D | virtio.c | 232 struct scatterlist sg_in; in scmi_vio_feed_vq_rx() local 237 sg_init_one(&sg_in, msg->input, VIRTIO_SCMI_MAX_PDU_SIZE); in scmi_vio_feed_vq_rx() 241 rc = virtqueue_add_inbuf(vioch->vqueue, &sg_in, 1, msg, GFP_ATOMIC); in scmi_vio_feed_vq_rx() 486 struct scatterlist sg_in; in virtio_send_message() local 487 struct scatterlist *sgs[DESCRIPTORS_PER_TX_MSG] = { &sg_out, &sg_in }; in virtio_send_message() 504 sg_init_one(&sg_in, msg->input, core->msg->response_size(xfer)); in virtio_send_message()
|
/linux/include/drm/intel/ |
H A D | i915_pxp_tee_interface.h | 36 struct scatterlist *sg_in, size_t total_in_len,
|
/linux/drivers/misc/mei/pxp/ |
H A D | mei_pxp.c | 165 struct scatterlist *sg_in, size_t total_in_len, in mei_pxp_gsc_command() argument 172 return mei_cldev_send_gsc_command(cldev, client_id, fence_id, sg_in, total_in_len, sg_out); in mei_pxp_gsc_command()
|
/linux/drivers/crypto/qce/ |
H A D | dma.h | 39 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *sg_in,
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 96 struct scatterlist sg_in[4]; member 569 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_lmk_gen() 713 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_tcw_gen() 1019 sg2 = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_elephant() 1362 sg_init_table(dmreq->sg_in, 4); in crypt_convert_block_aead() 1363 sg_set_buf(&dmreq->sg_in[0], sector, sizeof(uint64_t)); in crypt_convert_block_aead() 1364 sg_set_buf(&dmreq->sg_in[1], org_iv, cc->iv_size); in crypt_convert_block_aead() 1365 sg_set_page(&dmreq->sg_in[2], bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_aead() 1366 sg_set_buf(&dmreq->sg_in[3], tag, cc->integrity_tag_size); in crypt_convert_block_aead() 1392 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead() [all …]
|
/linux/include/linux/ |
H A D | mei_cl_bus.h | 130 struct scatterlist *sg_in,
|
/linux/include/crypto/ |
H A D | drbg.h | 134 struct scatterlist sg_in, sg_out; /* CTR mode SGLs */ member
|
/linux/crypto/ |
H A D | drbg.c | 1796 sg_init_table(&drbg->sg_in, 1); in drbg_init_sym_kernel() 1825 struct scatterlist *sg_in = &drbg->sg_in, *sg_out = &drbg->sg_out; in drbg_kcapi_sym_ctr() local 1831 sg_set_buf(sg_in, inbuf, inlen); in drbg_kcapi_sym_ctr() 1836 sg_set_buf(sg_in, drbg->outscratchpad, scratchpad_use); in drbg_kcapi_sym_ctr() 1843 skcipher_request_set_crypt(drbg->ctr_req, sg_in, sg_out, in drbg_kcapi_sym_ctr()
|
/linux/drivers/misc/mei/ |
H A D | bus.c | 968 struct scatterlist *sg_in, in mei_cldev_send_gsc_command() argument 984 if (!cldev || !sg_in || !sg_out) in mei_cldev_send_gsc_command() 996 sg_in_nents = sg_nents(sg_in); in mei_cldev_send_gsc_command() 1019 for (i = 0, sg = sg_in; i < sg_in_nents; i++, sg++) { in mei_cldev_send_gsc_command()
|