Skip to content
Commit 27868e66 authored by Zhen Kong's avatar Zhen Kong
Browse files

crypto: msm: fix authdata copy issue in qcedev_sha_req_cb



qcedev_sha_req_cb() is only called by _sha_complete() during sha
operation, and will copy byte_count value from authdata array.
This array size is two, and only contains two byte_count value
that are used for sha operation. So make change to only copy the
first two elements from this array.

Change-Id: I535f2ec0e358870a9a2163b3c0bf154b2c8d003f
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent 1d9aee75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment