/linux-master/net/mac80211/ |
H A D | aes_gmac.c | 42 sg_set_buf(&sg[0], __aad, GMAC_AAD_LEN); 43 sg_set_buf(&sg[1], zero, 8); 44 sg_set_buf(&sg[2], data + 8, data_len - 8 - GMAC_MIC_LEN); 45 sg_set_buf(&sg[3], zero, GMAC_MIC_LEN); 46 sg_set_buf(&sg[4], mic, GMAC_MIC_LEN); 49 sg_set_buf(&sg[0], __aad, GMAC_AAD_LEN); 50 sg_set_buf(&sg[1], data, data_len - GMAC_MIC_LEN); 51 sg_set_buf(&sg[2], zero, GMAC_MIC_LEN); 52 sg_set_buf(&sg[3], mic, GMAC_MIC_LEN);
|
H A D | aead_api.c | 36 sg_set_buf(&sg[0], __aad, aad_len); 37 sg_set_buf(&sg[1], data, data_len); 38 sg_set_buf(&sg[2], mic, mic_len); 71 sg_set_buf(&sg[0], __aad, aad_len); 72 sg_set_buf(&sg[1], data, data_len); 73 sg_set_buf(&sg[2], mic, mic_len);
|
/linux-master/tools/virtio/ |
H A D | vringh_test.c | 356 sg_set_buf(&sg[0], (void *)dbuf, 1); 357 sg_set_buf(&sg[1], (void *)dbuf + 1, 2); 358 sg_set_buf(&sg[2], (void *)dbuf + 3, 1); 362 sg_set_buf(&sg[0], (void *)dbuf, 1); 363 sg_set_buf(&sg[1], (void *)dbuf + 1, 3); 367 sg_set_buf(&sg[0], (void *)dbuf, 4); 371 sg_set_buf(&sg[0], (void *)dbuf, 1); 372 sg_set_buf(&sg[1], (void *)dbuf + 1, 1); 373 sg_set_buf(&sg[2], (void *)dbuf + 2, 1); 374 sg_set_buf( [all...] |
/linux-master/tools/virtio/linux/ |
H A D | scatterlist.h | 161 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, function 171 sg_set_buf(sg, buf, buflen);
|
/linux-master/net/tls/ |
H A D | tls_device_fallback.c | 90 sg_set_buf(sg_in, aad, TLS_AAD_SPACE_SIZE); 91 sg_set_buf(sg_out, aad, TLS_AAD_SPACE_SIZE); 309 sg_set_buf(&sg_out[0], dummy_buf, sync_size); 310 sg_set_buf(&sg_out[1], nskb->data + tcp_payload_offset, payload_len); 313 sg_set_buf(&sg_out[2], dummy_buf, cipher_desc->tag);
|
/linux-master/drivers/scsi/arm/ |
H A D | arm_scsi.h | 42 sg_set_buf(sg, SCp->ptr, SCp->this_residual);
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu-sink.c | 77 sg_set_buf(sg_ptr, block, PAGE_SIZE);
|
/linux-master/net/wireless/ |
H A D | lib80211_crypt_ccmp.c | 219 sg_set_buf(&sg[0], aad, aad_len); 220 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, 320 sg_set_buf(&sg[0], aad, aad_len); 321 sg_set_buf(&sg[1], pos, data_len);
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_ccmp.c | 201 sg_set_buf(&sg[0], aad, aad_len); 202 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, 283 sg_set_buf(&sg[0], aad, aad_len); 284 sg_set_buf(&sg[1], pos, data_len);
|
/linux-master/drivers/crypto/ |
H A D | omap-crypto.c | 81 sg_set_buf(new_sg, buf, new_len); 150 sg_set_buf(new_sg, sg_virt(*sg), (*sg)->length);
|
/linux-master/crypto/ |
H A D | ccm.c | 188 sg_set_buf(&sg[0], odata, 16); 193 sg_set_buf(&sg[1], idata, ilen); 215 sg_set_buf(&sg[0], idata, ilen); 270 sg_set_buf(pctx->src, tag, 16); 277 sg_set_buf(pctx->dst, tag, 16); 622 sg_set_buf(rctx->src, iv + 16, req->assoclen - 8); 629 sg_set_buf(rctx->dst, iv + 16, req->assoclen - 8);
|
H A D | tcrypt.c | 121 sg_set_buf(&sg[0], assoc, aad_size); 126 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); 129 sg_set_buf(&sg[k + 1], xbuf[k], rem); 707 sg_set_buf(sg + i, tvmem[i], PAGE_SIZE); 1167 sg_set_buf(cur->sg + p, cur->xbuf[p], 1174 sg_set_buf(cur->sg + p, cur->xbuf[p], k); 1375 sg_set_buf(sg, tvmem[0] + *keysize, 1380 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); 1385 sg_set_buf(sg + j, tvmem[j], k); 1388 sg_set_buf(s [all...] |
H A D | essiv.c | 232 sg_set_buf(rctx->sg, rctx->assoc, ssize); 238 sg_set_buf(rctx->sg + 1, iv, ivsize);
|
H A D | gcm.c | 163 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); 170 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); 735 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); 742 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8);
|
/linux-master/drivers/crypto/bcm/ |
H A D | cipher.c | 151 sg_set_buf(sg++, rctx->msg_buf.spu_resp_hdr, ctx->spu_resp_hdr_len); 156 sg_set_buf(sg++, rctx->msg_buf.c.supdt_tweak, 169 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); 172 sg_set_buf(sg, rctx->msg_buf.rx_stat, spu->spu_rx_status_len()); 215 sg_set_buf(sg++, rctx->msg_buf.bcm_spu_req_hdr, 221 sg_set_buf(sg++, rctx->msg_buf.iv_ctr, SPU_XTS_TWEAK_SIZE); 233 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len); 238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); 542 sg_set_buf(sg++, rctx->msg_buf.spu_resp_hdr, ctx->spu_resp_hdr_len); 545 sg_set_buf(s [all...] |
/linux-master/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 572 sg_set_buf(&ctx->sg[0], req->databuf.out, req->datalen); 573 sg_set_buf(&ctx->sg[1], ctx->oobwithstat, 630 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); 631 sg_set_buf(&ctx->sg[1], ctx->oobwithstat, 684 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); 685 sg_set_buf(&ctx->sg[1], ctx->oobwithstat,
|
/linux-master/drivers/virt/coco/sev-guest/ |
H A D | sev-guest.c | 238 sg_set_buf(&src[0], &hdr->algo, AAD_LEN); 239 sg_set_buf(&src[1], src_buf, hdr->msg_sz); 240 sg_set_buf(&src[2], hdr->authtag, crypto->a_len); 243 sg_set_buf(&dst[0], &hdr->algo, AAD_LEN); 244 sg_set_buf(&dst[1], dst_buf, hdr->msg_sz); 245 sg_set_buf(&dst[2], hdr->authtag, crypto->a_len);
|
/linux-master/security/keys/encrypted-keys/ |
H A D | encrypted.c | 473 sg_set_buf(&sg_in[0], epayload->decrypted_data, 478 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); 581 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); 582 sg_set_buf(&sg_out[0], epayload->decrypted_data, 584 sg_set_buf(&sg_out[1], pad, AES_BLOCK_SIZE);
|
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_req.h | 576 sg_set_buf(sg, buf, buflen); 602 sg_set_buf(sg, sg_virt(from_sg), sglen);
|
H A D | nitrox_aead.c | 405 sg_set_buf(rctx->src, rctx->assoc, assoclen); 412 sg_set_buf(rctx->dst, rctx->assoc, assoclen);
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_ops.c | 161 sg_set_buf(sg_ptr, buf + i * seg_size,
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-mxs.c | 260 sg_set_buf(&i2c->sg_io[0], &i2c->addr_data, 1); 261 sg_set_buf(&i2c->sg_io[1], buf, msg->len);
|
/linux-master/net/ipv4/ |
H A D | ah4.c | 229 sg_set_buf(seqhisg, seqhi, seqhi_len); 404 sg_set_buf(seqhisg, seqhi, seqhi_len);
|
/linux-master/net/ipv6/ |
H A D | ah6.c | 417 sg_set_buf(seqhisg, seqhi, seqhi_len); 603 sg_set_buf(seqhisg, seqhi, seqhi_len);
|
/linux-master/include/linux/ |
H A D | scatterlist.h | 177 * sg_set_buf - Set sg entry to point at given data 183 static inline void sg_set_buf(struct scatterlist *sg, const void *buf, function
|