Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24a2ea47 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "crypto: msm: Fix SHA-1/256 zero length input data issue"

parents d241ca23 8c65c916
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4837,9 +4837,9 @@ int qce_process_sha_req(void *handle, struct qce_sha_req *sreq)
	if (_qce_sps_add_sg_data(pce_dev, areq->src, areq->nbytes,
						 &pce_dev->ce_sps.in_transfer))
		goto bad;
	if (areq->nbytes)
		_qce_set_flag(&pce_dev->ce_sps.in_transfer,
					SPS_IOVEC_FLAG_EOT|SPS_IOVEC_FLAG_NWD);

	if (_qce_sps_add_data(GET_PHYS_ADDR(pce_dev->ce_sps.result_dump),
					CRYPTO_RESULT_DUMP_SIZE,
					  &pce_dev->ce_sps.out_transfer))