Lines Matching defs:dst
135 char *dst;
246 hpre_req->dst = NULL;
279 hpre_req->dst = ptr;
314 struct scatterlist *dst,
336 if (req->dst) {
337 if (dst)
338 scatterwalk_map_and_copy(req->dst, dst, 0,
340 dma_free_coherent(dev, ctx->key_sz, req->dst, tmp);
448 hpre_hw_data_clr_all(ctx, req, areq->dst, areq->src);
469 hpre_hw_data_clr_all(ctx, req, areq->dst, areq->src);
611 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 1);
627 hpre_hw_data_clr_all(ctx, hpre_req, req->dst, req->src);
825 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 0);
836 hpre_hw_data_clr_all(ctx, hpre_req, req->dst, req->src);
880 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 0);
891 hpre_hw_data_clr_all(ctx, hpre_req, req->dst, req->src);
1443 struct scatterlist *dst,
1461 if (req->dst)
1462 dma_free_coherent(dev, ctx->key_sz << 1, req->dst, dma);
1463 if (dst)
1485 p = sg_virt(areq->dst);
1489 hpre_ecdh_hw_data_clr_all(ctx, req, areq->dst, areq->src);
1573 hpre_req->dst = NULL;
1610 ret = hpre_ecdh_dst_data_init(hpre_req, req->dst, req->dst_len);
1612 dev_err(dev, "failed to init dst data, ret = %d!\n", ret);
1623 hpre_ecdh_hw_data_clr_all(ctx, hpre_req, req->dst, req->src);
1759 struct scatterlist *dst,
1777 if (req->dst)
1778 dma_free_coherent(dev, ctx->key_sz, req->dst, dma);
1779 if (dst)
1799 hpre_key_to_big_end(sg_virt(areq->dst), CURVE25519_KEY_SIZE);
1801 hpre_curve25519_hw_data_clr_all(ctx, req, areq->dst, areq->src);
1925 hpre_req->dst = NULL;
1963 ret = hpre_curve25519_dst_init(hpre_req, req->dst, req->dst_len);
1965 dev_err(dev, "failed to init dst data, ret = %d!\n", ret);
1976 hpre_curve25519_hw_data_clr_all(ctx, hpre_req, req->dst, req->src);