/kernel/linux/linux-5.10/net/mac80211/ |
D | aes_gmac.c | 42 sg_set_buf(&sg[0], __aad, GMAC_AAD_LEN); in ieee80211_aes_gmac() 43 sg_set_buf(&sg[1], zero, 8); in ieee80211_aes_gmac() 44 sg_set_buf(&sg[2], data + 8, data_len - 8 - GMAC_MIC_LEN); in ieee80211_aes_gmac() 45 sg_set_buf(&sg[3], zero, GMAC_MIC_LEN); in ieee80211_aes_gmac() 46 sg_set_buf(&sg[4], mic, GMAC_MIC_LEN); in ieee80211_aes_gmac() 49 sg_set_buf(&sg[0], __aad, GMAC_AAD_LEN); in ieee80211_aes_gmac() 50 sg_set_buf(&sg[1], data, data_len - GMAC_MIC_LEN); in ieee80211_aes_gmac() 51 sg_set_buf(&sg[2], zero, GMAC_MIC_LEN); in ieee80211_aes_gmac() 52 sg_set_buf(&sg[3], mic, GMAC_MIC_LEN); in ieee80211_aes_gmac()
|
D | aead_api.c | 36 sg_set_buf(&sg[0], __aad, aad_len); in aead_encrypt() 37 sg_set_buf(&sg[1], data, data_len); in aead_encrypt() 38 sg_set_buf(&sg[2], mic, mic_len); in aead_encrypt() 71 sg_set_buf(&sg[0], __aad, aad_len); in aead_decrypt() 72 sg_set_buf(&sg[1], data, data_len); in aead_decrypt() 73 sg_set_buf(&sg[2], mic, mic_len); in aead_decrypt()
|
/kernel/linux/linux-5.10/tools/virtio/ |
D | vringh_test.c | 355 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 356 sg_set_buf(&sg[1], (void *)dbuf + 1, 2); in parallel_test() 357 sg_set_buf(&sg[2], (void *)dbuf + 3, 1); in parallel_test() 361 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 362 sg_set_buf(&sg[1], (void *)dbuf + 1, 3); in parallel_test() 366 sg_set_buf(&sg[0], (void *)dbuf, 4); in parallel_test() 370 sg_set_buf(&sg[0], (void *)dbuf, 1); in parallel_test() 371 sg_set_buf(&sg[1], (void *)dbuf + 1, 1); in parallel_test() 372 sg_set_buf(&sg[2], (void *)dbuf + 2, 1); in parallel_test() 373 sg_set_buf(&sg[3], (void *)dbuf + 3, 1); in parallel_test() [all …]
|
/kernel/linux/linux-5.10/tools/virtio/linux/ |
D | scatterlist.h | 160 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, in sg_set_buf() function 170 sg_set_buf(sg, buf, buflen); in sg_init_one()
|
/kernel/linux/linux-5.10/net/tls/ |
D | tls_device_fallback.c | 84 sg_set_buf(sg_in, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record() 85 sg_set_buf(sg_out, aad, TLS_AAD_SPACE_SIZE); in tls_enc_record() 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() 304 sg_set_buf(&sg_out[2], dummy_buf, TLS_CIPHER_AES_GCM_128_TAG_SIZE); in fill_sg_out()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 204 sg_set_buf(&sg[0], aad, aad_len); in rtllib_ccmp_encrypt() 205 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in rtllib_ccmp_encrypt() 287 sg_set_buf(&sg[0], aad, aad_len); in rtllib_ccmp_decrypt() 288 sg_set_buf(&sg[1], pos, data_len); in rtllib_ccmp_decrypt()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 212 sg_set_buf(&sg[0], aad, aad_len); in ieee80211_ccmp_encrypt() 213 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in ieee80211_ccmp_encrypt() 297 sg_set_buf(&sg[0], aad, aad_len); in ieee80211_ccmp_decrypt() 298 sg_set_buf(&sg[1], pos, data_len); in ieee80211_ccmp_decrypt()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | lib80211_crypt_ccmp.c | 219 sg_set_buf(&sg[0], aad, aad_len); in lib80211_ccmp_encrypt() 220 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in lib80211_ccmp_encrypt() 320 sg_set_buf(&sg[0], aad, aad_len); in lib80211_ccmp_decrypt() 321 sg_set_buf(&sg[1], pos, data_len); in lib80211_ccmp_decrypt()
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
D | cipher.c | 151 sg_set_buf(sg++, rctx->msg_buf.spu_resp_hdr, ctx->spu_resp_hdr_len); in spu_skcipher_rx_sg_create() 156 sg_set_buf(sg++, rctx->msg_buf.c.supdt_tweak, in spu_skcipher_rx_sg_create() 169 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); in spu_skcipher_rx_sg_create() 172 sg_set_buf(sg, rctx->msg_buf.rx_stat, spu->spu_rx_status_len()); in spu_skcipher_rx_sg_create() 215 sg_set_buf(sg++, rctx->msg_buf.bcm_spu_req_hdr, in spu_skcipher_tx_sg_create() 221 sg_set_buf(sg++, rctx->msg_buf.iv_ctr, SPU_XTS_TWEAK_SIZE); in spu_skcipher_tx_sg_create() 233 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len); in spu_skcipher_tx_sg_create() 238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create() 544 sg_set_buf(sg++, rctx->msg_buf.spu_resp_hdr, ctx->spu_resp_hdr_len); in spu_ahash_rx_sg_create() 547 sg_set_buf(sg++, rctx->msg_buf.digest, digestsize); in spu_ahash_rx_sg_create() [all …]
|
/kernel/linux/linux-5.10/crypto/ |
D | ccm.c | 186 sg_set_buf(&sg[0], odata, 16); in crypto_ccm_auth() 191 sg_set_buf(&sg[1], idata, ilen); in crypto_ccm_auth() 213 sg_set_buf(&sg[0], idata, ilen); in crypto_ccm_auth() 268 sg_set_buf(pctx->src, tag, 16); in crypto_ccm_init_crypt() 275 sg_set_buf(pctx->dst, tag, 16); in crypto_ccm_init_crypt() 623 sg_set_buf(rctx->src, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt() 630 sg_set_buf(rctx->dst, iv + 16, req->assoclen - 8); in crypto_rfc4309_crypt()
|
D | tcrypt.c | 129 sg_set_buf(&sg[0], assoc, aad_size); in sg_init_aead() 134 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead() 137 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead() 702 sg_set_buf(sg + i, tvmem[i], PAGE_SIZE); in test_hash_sg_init() 849 sg_set_buf(data[i].sg + j, data[i].xbuf[j], PAGE_SIZE); in test_mb_ahash_speed() 1363 sg_set_buf(cur->sg + p, cur->xbuf[p], in test_mb_skcipher_speed() 1370 sg_set_buf(cur->sg + p, cur->xbuf[p], k); in test_mb_skcipher_speed() 1572 sg_set_buf(sg, tvmem[0] + *keysize, in test_skcipher_speed() 1577 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_skcipher_speed() 1582 sg_set_buf(sg + j, tvmem[j], k); in test_skcipher_speed() [all …]
|
D | gcm.c | 163 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 170 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 739 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt() 746 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
|
D | essiv.c | 226 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt() 232 sg_set_buf(rctx->sg + 1, iv, ivsize); in essiv_aead_crypt()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | omap-crypto.c | 81 sg_set_buf(new_sg, buf, new_len); in omap_crypto_copy_sgs() 150 sg_set_buf(new_sg, sg_virt(*sg), (*sg)->length); in omap_crypto_align_sg()
|
D | s5p-sss.c | 538 sg_set_buf(*dst, pages, len); in s5p_make_sg_cpy() 1047 sg_set_buf(ctx->sgl, buf, len); in s5p_hash_copy_sgs() 1094 sg_set_buf(tmp, ctx->dd->xmit_buf, ctx->bufcnt); in s5p_hash_copy_sg_lists() 1193 sg_set_buf(ctx->sgl, ctx->dd->xmit_buf, ctx->bufcnt); in s5p_hash_prepare_sgs() 1281 sg_set_buf(ctx->sgl, ctx->dd->xmit_buf, xmit_len); in s5p_hash_prepare_request()
|
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
D | encrypted.c | 467 sg_set_buf(&sg_in[0], epayload->decrypted_data, in derived_key_encrypt() 472 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); in derived_key_encrypt() 575 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); 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()
|
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/ |
D | msu-sink.c | 74 sg_set_buf(sg_ptr, block, PAGE_SIZE); in msu_sink_alloc_window()
|
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
D | scsi.h | 33 sg_set_buf(sg, SCp->ptr, SCp->this_residual); in copy_SCp_to_sg()
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_req.h | 572 sg_set_buf(sg, buf, buflen); in create_single_sg() 598 sg_set_buf(sg, sg_virt(from_sg), sglen); in create_multi_sg()
|
D | nitrox_aead.c | 406 sg_set_buf(rctx->src, rctx->assoc, assoclen); in nitrox_rfc4106_set_aead_rctx_sglist() 413 sg_set_buf(rctx->dst, rctx->assoc, assoclen); in nitrox_rfc4106_set_aead_rctx_sglist()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
D | public_key.c | 367 sg_set_buf(&src_sg[0], sig->s, sig->s_size); in public_key_verify_signature() 368 sg_set_buf(&src_sg[1], sig->digest, sig->digest_size); in public_key_verify_signature()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | sdio_ops.c | 161 sg_set_buf(sg_ptr, buf + i * seg_size, in mmc_io_rw_extended()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ah4.c | 232 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah_output() 407 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah_input()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-mxs.c | 261 sg_set_buf(&i2c->sg_io[0], &i2c->addr_data, 1); in mxs_i2c_dma_setup_xfer() 262 sg_set_buf(&i2c->sg_io[1], msg->buf, msg->len); in mxs_i2c_dma_setup_xfer()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ah6.c | 423 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah6_output() 609 sg_set_buf(seqhisg, seqhi, seqhi_len); in ah6_input()
|