Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c56 struct scatterlist sg_out[3]; in tls_enc_record() local
83 sg_init_table(sg_out, ARRAY_SIZE(sg_out)); in tls_enc_record()
85 sg_set_buf(sg_out, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record()
87 chain_to_walk(sg_out + 1, out); in tls_enc_record()
113 aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); in tls_enc_record()
142 struct scatterlist *sg_out, char *aad, char *iv, in tls_enc_records() argument
149 scatterwalk_start(&out, sg_out); in tls_enc_records()
292 static void fill_sg_out(struct scatterlist sg_out[3], void *buf, in fill_sg_out()
300 sg_set_buf(&sg_out[0], dummy_buf, sync_size); in fill_sg_out()
301 sg_set_buf(&sg_out[1], nskb->data + tcp_payload_offset, payload_len); in fill_sg_out()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dcryptoloop.c102 struct scatterlist sg_out; in cryptoloop_transfer() local
114 sg_init_table(&sg_out, 1); in cryptoloop_transfer()
137 sg_set_page(&sg_out, out_page, sz, out_offs); in cryptoloop_transfer()
139 skcipher_request_set_crypt(req, &sg_in, &sg_out, sz, iv); in cryptoloop_transfer()
/kernel/linux/linux-5.10/security/keys/encrypted-keys/
Dencrypted.c451 struct scatterlist sg_out[1]; in derived_key_encrypt() local
471 sg_init_table(sg_out, 1); in derived_key_encrypt()
472 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); in derived_key_encrypt()
475 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_encrypt()
553 struct scatterlist sg_out[2]; in derived_key_decrypt() local
574 sg_init_table(sg_out, 2); in derived_key_decrypt()
576 sg_set_buf(&sg_out[0], epayload->decrypted_data, in derived_key_decrypt()
578 sg_set_buf(&sg_out[1], pad, AES_BLOCK_SIZE); in derived_key_decrypt()
581 skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); in derived_key_decrypt()
/kernel/linux/linux-5.10/drivers/crypto/qce/
Ddma.h40 int in_ents, struct scatterlist *sg_out, int out_ents,
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
Drk3288_crypto.c155 struct scatterlist *sg_in, *sg_out; in rk_unload_data() local
161 sg_out = dev->aligned ? dev->sg_dst : &dev->sg_tmp; in rk_unload_data()
162 dma_unmap_sg(dev->dev, sg_out, 1, DMA_FROM_DEVICE); in rk_unload_data()
/kernel/linux/linux-5.10/drivers/md/
Ddm-crypt.c86 struct scatterlist sg_out[4]; member
549 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_lmk_post()
705 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_tcw_post()
972 sg = crypt_get_sg_data(cc, dmreq->sg_out); in crypt_iv_elephant()
1326 sg_init_table(dmreq->sg_out, 4); in crypt_convert_block_aead()
1327 sg_set_buf(&dmreq->sg_out[0], sector, sizeof(uint64_t)); in crypt_convert_block_aead()
1328 sg_set_buf(&dmreq->sg_out[1], org_iv, cc->iv_size); in crypt_convert_block_aead()
1329 sg_set_page(&dmreq->sg_out[2], bv_out.bv_page, cc->sector_size, bv_out.bv_offset); in crypt_convert_block_aead()
1330 sg_set_buf(&dmreq->sg_out[3], tag, cc->integrity_tag_size); in crypt_convert_block_aead()
1350 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead()
[all …]
/kernel/linux/linux-5.10/include/crypto/
Ddrbg.h128 struct scatterlist sg_in, sg_out; /* CTR mode SGLs */ member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-omap2-mcspi.c439 struct scatterlist *sg_out[2]; in omap2_mcspi_rx_dma() local
496 sizes, sg_out, out_mapped_nents, GFP_KERNEL); in omap2_mcspi_rx_dma()
503 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_rx, sg_out[0], in omap2_mcspi_rx_dma()
525 kfree(sg_out[x]); in omap2_mcspi_rx_dma()
/kernel/linux/linux-5.10/crypto/
Ddrbg.c1808 sg_init_one(&drbg->sg_out, drbg->outscratchpad, DRBG_OUTSCRATCHLEN); in drbg_init_sym_kernel()
1838 struct scatterlist *sg_in = &drbg->sg_in, *sg_out = &drbg->sg_out; in drbg_kcapi_sym_ctr() local
1856 skcipher_request_set_crypt(drbg->ctr_req, sg_in, sg_out, in drbg_kcapi_sym_ctr()