crypto: msm: qcrypto: Fix hash crash if not last issue
If an ahash request is not final, the result variable of ahash_request may not exist. In the completion callback function, then, do not copy the digest result to result variable of ahash_request, if it not final. Otherwise, crash may happen. Change-Id: I169218e8658500539b19408eca3afeabcaa4816b Acked-by:Che-Min Hsieh <cheminh@qti.qualcomm.com> Signed-off-by:
Sivanesan Rajapupathi <srajap@codeaurora.org>
Loading
Please register or sign in to comment