Home
last modified time | relevance | path

Searched refs:sg_out (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/tls/
Dtls_device_fallback.c60 struct scatterlist sg_out[3]; in tls_enc_record() local
95 sg_init_table(sg_out, ARRAY_SIZE(sg_out)); in tls_enc_record()
97 sg_set_buf(sg_out, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record()
99 chain_to_walk(sg_out + 1, out); in tls_enc_record()
125 aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); in tls_enc_record()
154 struct scatterlist *sg_out, char *aad, char *iv, in tls_enc_records() argument
161 scatterwalk_start(&out, sg_out); in tls_enc_records()
304 static void fill_sg_out(struct scatterlist sg_out[3], void *buf, in fill_sg_out()
315 sg_set_buf(&sg_out[0], dummy_buf, sync_size); in fill_sg_out()
316 sg_set_buf(&sg_out[1], nskb->data + tcp_payload_offset, payload_len); in fill_sg_out()
[all …]
/linux-6.1.9/security/keys/encrypted-keys/
Dencrypted.c457 struct scatterlist sg_out[1]; in derived_key_encrypt() local
477 sg_init_table(sg_out, 1); in derived_key_encrypt()
478 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); in derived_key_encrypt()
481 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_encrypt()
559 struct scatterlist sg_out[2]; in derived_key_decrypt() local
580 sg_init_table(sg_out, 2); in derived_key_decrypt()
582 sg_set_buf(&sg_out[0], epayload->decrypted_data, in derived_key_decrypt()
584 sg_set_buf(&sg_out[1], pad, AES_BLOCK_SIZE); in derived_key_decrypt()
587 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_decrypt()
/linux-6.1.9/drivers/crypto/qce/
Ddma.h40 int in_ents, struct scatterlist *sg_out, int out_ents,
/linux-6.1.9/drivers/md/
Ddm-crypt.c90 struct scatterlist sg_out[4]; member
553 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_lmk_post()
709 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_tcw_post()
976 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_elephant()
1330 sg_init_table(dmreq->sg_out, 4); in crypt_convert_block_aead()
1331 sg_set_buf(&dmreq->sg_out[0], sector, sizeof(uint64_t)); in crypt_convert_block_aead()
1332 sg_set_buf(&dmreq->sg_out[1], org_iv, cc->iv_size); in crypt_convert_block_aead()
1333 sg_set_page(&dmreq->sg_out[2], bv_out.bv_page, cc->sector_size, bv_out.bv_offset); in crypt_convert_block_aead()
1334 sg_set_buf(&dmreq->sg_out[3], tag, cc->integrity_tag_size); in crypt_convert_block_aead()
1354 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead()
[all …]
/linux-6.1.9/drivers/firmware/arm_scmi/
Dvirtio.c501 struct scatterlist sg_out; in virtio_send_message() local
503 struct scatterlist *sgs[DESCRIPTORS_PER_TX_MSG] = { &sg_out, &sg_in }; in virtio_send_message()
519 sg_init_one(&sg_out, msg->request, msg_command_size(xfer)); in virtio_send_message()
/linux-6.1.9/include/crypto/
Ddrbg.h134 struct scatterlist sg_in, sg_out; /* CTR mode SGLs */ member
/linux-6.1.9/drivers/spi/
Dspi-omap2-mcspi.c438 struct scatterlist *sg_out[2]; in omap2_mcspi_rx_dma() local
495 sizes, sg_out, out_mapped_nents, GFP_KERNEL); in omap2_mcspi_rx_dma()
502 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_rx, sg_out[0], in omap2_mcspi_rx_dma()
524 kfree(sg_out[x]); in omap2_mcspi_rx_dma()
/linux-6.1.9/crypto/
Ddrbg.c1813 sg_init_one(&drbg->sg_out, drbg->outscratchpad, DRBG_OUTSCRATCHLEN); in drbg_init_sym_kernel()
1841 struct scatterlist *sg_in = &drbg->sg_in, *sg_out = &drbg->sg_out; in drbg_kcapi_sym_ctr() local
1859 skcipher_request_set_crypt(drbg->ctr_req, sg_in, sg_out, in drbg_kcapi_sym_ctr()