scatterwalk_map_and_copy
scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE,
scatterwalk_map_and_copy(buf, req->src, req->cryptlen, tail, 0);
scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE,
scatterwalk_map_and_copy(tag, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(otag, req->src,
scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(orig_iv, req->src,
scatterwalk_map_and_copy(tag, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(otag, req->src,
scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(authtag, req->src,
scatterwalk_map_and_copy(ghash, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(authtag, req->src,
scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0);
scatterwalk_map_and_copy(hash->Htable, req->dst, req->assoclen + cryptlen,
scatterwalk_map_and_copy(otag, req->src,
scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE, 0);
scatterwalk_map_and_copy(b[0], req->src, offset + AES_BLOCK_SIZE, tail, 0);
scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE + tail, 1);
scatterwalk_map_and_copy(b[1], req->src, offset, AES_BLOCK_SIZE + tail, 0);
scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE + tail, 1);
scatterwalk_map_and_copy(tag, req->src, len, taglen, 0);
scatterwalk_map_and_copy(param.t, req->dst, len, taglen, 1);
scatterwalk_map_and_copy(tag.bytes, req->dst,
scatterwalk_map_and_copy(tag.bytes, req->src,
scatterwalk_map_and_copy(ghash_acc, req->dst, req->assoclen +
scatterwalk_map_and_copy(tag, req->src, req->assoclen + datalen,
scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen,
scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen,
scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen,
scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen,
scatterwalk_map_and_copy(ahreq->result, req->dst,
scatterwalk_map_and_copy(hash, req->dst, req->assoclen + req->cryptlen,
scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0);
scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1);
scatterwalk_map_and_copy(tmp, dst, 0, 8, 0);
scatterwalk_map_and_copy(tmp, dst, 4, 4, 1);
scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1);
scatterwalk_map_and_copy(tmp, dst, 4, 4, 0);
scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0);
scatterwalk_map_and_copy(tmp, dst, 0, 8, 1);
scatterwalk_map_and_copy(ihash, req->src, assoclen + cryptlen,
scatterwalk_map_and_copy(tmp, src, 0, 8, 0);
scatterwalk_map_and_copy(tmp, dst, 4, 4, 1);
scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1);
scatterwalk_map_and_copy(tmp, dst, 0, 4, 1);
scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen - 4, 4, 1);
scatterwalk_map_and_copy(tmp, dst, 4, 4, 0);
scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0);
scatterwalk_map_and_copy(tmp, dst, 0, 8, 1);
scatterwalk_map_and_copy(odata, req->dst,
scatterwalk_map_and_copy(odata, sg_next(dst), cryptlen,
scatterwalk_map_and_copy(authtag, sg_next(pctx->src), cryptlen,
scatterwalk_map_and_copy(iv + 16, req->src, 0, req->assoclen - 8, 0);
scatterwalk_map_and_copy(tag, req->src,
scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0);
scatterwalk_map_and_copy(d, req->src, offset, lastn, 0);
scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1);
scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0);
scatterwalk_map_and_copy(d, req->src, offset, lastn, 0);
scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1);
scatterwalk_map_and_copy(space, req->src, offset - 2 * bsize,
scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1);
scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0);
scatterwalk_map_and_copy(req->iv, req->dst, ssize, ivsize, 1);
scatterwalk_map_and_copy(rctx->assoc, req->src, 0,
scatterwalk_map_and_copy(auth_tag, req->dst,
scatterwalk_map_and_copy(iauth_tag, req->src,
scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0);
scatterwalk_map_and_copy(rctx->first_block, req->dst,
scatterwalk_map_and_copy(rctx->first_block, req->src,
scatterwalk_map_and_copy(hash, req->dst,
scatterwalk_map_and_copy(msg_hash, req->src, ahreq->nbytes, authsize, 0);
scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0);
scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1);
scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
scatterwalk_map_and_copy(b, req->src, offset, tail, 0);
scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1);
scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0);
scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1);
scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize,
scatterwalk_map_and_copy(ctx->backup_iv, areq->src,
scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize,
scatterwalk_map_and_copy(ctx->backup_iv, areq->src,
scatterwalk_map_and_copy(rctx->backup_iv, areq->src,
scatterwalk_map_and_copy(areq->iv, areq->dst, offset,
scatterwalk_map_and_copy(areq->iv, areq->dst, offset,
scatterwalk_map_and_copy(sf->biv, areq->src, offset,
scatterwalk_map_and_copy(sf->iv[i], sg, offset, ivsize, 0);
scatterwalk_map_and_copy(areq->iv, areq->dst, offset,
scatterwalk_map_and_copy(bf, sg, 0, todo, 0);
scatterwalk_map_and_copy(buf, dst, dst_start, to_copy, 1);
scatterwalk_map_and_copy(icv, dst, aead_req->cryptlen,
scatterwalk_map_and_copy(icv, aead_req->src,
scatterwalk_map_and_copy(backup_iv, areq->src, offset,
scatterwalk_map_and_copy(areq->iv, areq->dst,
scatterwalk_map_and_copy(dram_buffer, src, 0, nbytes, 0);
scatterwalk_map_and_copy(dram_buffer, out_sg, 0, result_nbytes,
scatterwalk_map_and_copy(hash_engine->ahash_src_addr, rctx->src_sg,
scatterwalk_map_and_copy(rctx->lastc, req->src,
scatterwalk_map_and_copy(otag, req->dst, offset, authsize, 1);
scatterwalk_map_and_copy(itag, req->src, offset, authsize, 0);
scatterwalk_map_and_copy(odigest, req->dst, offs, authsize, 1);
scatterwalk_map_and_copy(idigest, req->src, offs, authsize, 0);
scatterwalk_map_and_copy(req->iv, req->dst,
scatterwalk_map_and_copy(ctx->buffer, ctx->sg,
scatterwalk_map_and_copy(ctx->buffer, ctx->sg,
scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg,
scatterwalk_map_and_copy(buf + off, *sg, *offset, count, out);
scatterwalk_map_and_copy(req->iv, req->dst,
scatterwalk_map_and_copy(rctx->lastc, req->src,
scatterwalk_map_and_copy(cipher_req->iv, cipher_req->src,
scatterwalk_map_and_copy(cipher_req->iv, cipher_req->dst,
scatterwalk_map_and_copy(state->buf, req->src,
scatterwalk_map_and_copy(state->buf, req->src,
scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
scatterwalk_map_and_copy(buf, req->src, 0,
scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
scatterwalk_map_and_copy(buf, req->src, 0,
scatterwalk_map_and_copy(state->buf, req->src,
scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
scatterwalk_map_and_copy(rctx->assoc, areq->src, 0, assoclen, 0);
scatterwalk_map_and_copy(nkreq->iv_out, skreq->src, start, ivsize, 0);
scatterwalk_map_and_copy(skreq->iv, skreq->dst, start, ivsize,
scatterwalk_map_and_copy(skreq->iv, skreq->src, start,
scatterwalk_map_and_copy(rctx->buf, rctx->src,
scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src,
scatterwalk_map_and_copy(rctx->buf, rctx->src,
scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src,
scatterwalk_map_and_copy((void *)sha_zero, sha->ctx, 0,
scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0);
scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len,
scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len,
scatterwalk_map_and_copy(dm_wa->address, sg_wa->sg, sg_wa->sg_used,
scatterwalk_map_and_copy(ptr + tmpshift, data, 0, len, 0);
scatterwalk_map_and_copy(ptr + shift, data, 0, len, 0);
scatterwalk_map_and_copy(req->dst, dst, 0,
scatterwalk_map_and_copy(req_ctx->iv, req->src, offset, ivsize, 0);
scatterwalk_map_and_copy(req_ctx->hmac_virt,
scatterwalk_map_and_copy(req_ctx->hmac_virt, req->dst,
scatterwalk_map_and_copy(req->iv, req->dst,
scatterwalk_map_and_copy(rctx->last_ct_blk, req->src,
scatterwalk_map_and_copy(req->iv, req->dst,
scatterwalk_map_and_copy(req->iv, req->src,
scatterwalk_map_and_copy(&rctx->buffer[rctx->buf_cnt],
scatterwalk_map_and_copy(qat_req->iv, sgl, offset, AES_BLOCK_SIZE, 0);
scatterwalk_map_and_copy(req->dst_align, areq->dst, 0,
scatterwalk_map_and_copy(qat_req->src_align + shift,
scatterwalk_map_and_copy(req->dst_align, areq->dst, 0,
scatterwalk_map_and_copy(qat_req->src_align + shift, req->src,
scatterwalk_map_and_copy(qat_req->src_align + shift, req->src,
scatterwalk_map_and_copy(sreq->iv, sreq->dst, start,
scatterwalk_map_and_copy(sreq->iv, sreq->src,
scatterwalk_map_and_copy(req_info->iv_out, req->src,
scatterwalk_map_and_copy(sreq->iv, sreq->dst, start,
scatterwalk_map_and_copy(sreq->iv, sreq->src,
scatterwalk_map_and_copy(req_info->iv_out, req->src,
scatterwalk_map_and_copy(in_buf + actx->fill, src, oft, clen,
scatterwalk_map_and_copy(tag, dd->aead_req->src,
scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen,
scatterwalk_map_and_copy(rctx->auth_tag,
scatterwalk_map_and_copy(buf, *sg, 0, total, 0);
scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src,
scatterwalk_map_and_copy(buf + ctx->bufcnt, sg, ctx->offset,
scatterwalk_map_and_copy(rctx->buffer + rctx->bufcnt, req->src,
scatterwalk_map_and_copy(rctx->buffer,
scatterwalk_map_and_copy(rctx->ccmresult_buf, req->dst,
scatterwalk_map_and_copy(result_buf->auth_iv, req->dst,
scatterwalk_map_and_copy(tag, req->src, totallen, ctx->authsize, 0);
scatterwalk_map_and_copy(rctx->buf + rctx->buflen, req->src,
scatterwalk_map_and_copy(rctx->buf, req->src, src_offset,
scatterwalk_map_and_copy(rctx->backup_iv, areq->src,
scatterwalk_map_and_copy(biv, sgs, offset, ivsize, 0);
scatterwalk_map_and_copy(iv, sgd, offset, ivsize, 0);
scatterwalk_map_and_copy(areq->iv, areq->dst, offset,
scatterwalk_map_and_copy(&mdptr[4], req->dst, start, authsize,
scatterwalk_map_and_copy(auth_tag, req->src, start, authsize,
scatterwalk_map_and_copy(rctx->buf + rctx->buf_cnt, req->src,
scatterwalk_map_and_copy(rctx->buf, req->src, offset,
scatterwalk_map_and_copy(cryp->tag_out, rctx->out_sg,
scatterwalk_map_and_copy(cryp->tag_in, req->src,
scatterwalk_map_and_copy(buf + state->bufcnt, sg, rctx->offset,
scatterwalk_map_and_copy(state->buffer + state->bufcnt, req->src,
scatterwalk_map_and_copy(state->buffer,
scatterwalk_map_and_copy(state->buffer + state->bufcnt, req->src,
scatterwalk_map_and_copy(state->buffer + state->bufcnt,
scatterwalk_map_and_copy(rctx->inbuf.buf + offset,
scatterwalk_map_and_copy(rctx->outbuf.buf + 16, rctx->dst_sg,
scatterwalk_map_and_copy(rctx->outbuf.buf, rctx->dst_sg,
scatterwalk_map_and_copy(rctx->inbuf.buf + offset,
scatterwalk_map_and_copy(rctx->inbuf.buf, sg,
scatterwalk_map_and_copy(req->iv, req->src, offset, ctx->ivsize, 0);
scatterwalk_map_and_copy(rctx->inbuf.buf + offset, sg,
scatterwalk_map_and_copy(rctx->residue.buf + rctx->residue.size,
scatterwalk_map_and_copy(rctx->datbuf.buf + rctx->residue.size,
scatterwalk_map_and_copy(rctx->residue.buf, rctx->src_sg,
scatterwalk_map_and_copy(rctx->datbuf.buf, req->src, 0, req->cryptlen, 0);
scatterwalk_map_and_copy(rctx->datbuf.buf, req->dst, 0, req->cryptlen, 1);
scatterwalk_map_and_copy(rctx->inbuf.buf,
scatterwalk_map_and_copy(rctx->inbuf.buf, rctx->src_sg,
scatterwalk_map_and_copy(rctx->outbuf.buf, rctx->dst_sg,
scatterwalk_map_and_copy(rctx->outbuf.buf, rctx->dst_sg,
scatterwalk_map_and_copy(mac, rctx->src_sg, offset, rctx->authsize, 0);
scatterwalk_map_and_copy(rctx->residue.buf + rctx->residue.size,
scatterwalk_map_and_copy(rctx->datbuf.buf + rctx->residue.size,
scatterwalk_map_and_copy(rctx->residue.buf, rctx->src_sg,
scatterwalk_map_and_copy(req->iv, req->src,
scatterwalk_map_and_copy(req->iv, req->dst,
scatterwalk_map_and_copy(kbuf, req->src, 0, req->cryptlen, 0);
scatterwalk_map_and_copy(kbuf, req->src, 0, total_len, 0);