|
@@ -1255,6 +1255,7 @@ static int ahash_update_no_ctx(struct ahash_request *req)
|
|
|
edesc->sec4_sg_bytes = sec4_sg_bytes;
|
|
|
edesc->sec4_sg = (void *)edesc + sizeof(struct ahash_edesc) +
|
|
|
DESC_JOB_IO_LEN;
|
|
|
+ edesc->dst_dma = 0;
|
|
|
|
|
|
state->buf_dma = buf_map_to_sec4_sg(jrdev, edesc->sec4_sg,
|
|
|
buf, *buflen);
|
|
@@ -1454,6 +1455,7 @@ static int ahash_update_first(struct ahash_request *req)
|
|
|
edesc->sec4_sg_bytes = sec4_sg_bytes;
|
|
|
edesc->sec4_sg = (void *)edesc + sizeof(struct ahash_edesc) +
|
|
|
DESC_JOB_IO_LEN;
|
|
|
+ edesc->dst_dma = 0;
|
|
|
|
|
|
if (src_nents) {
|
|
|
sg_to_sec4_sg_last(req->src, src_nents,
|