commit | 27868e66e31086bd91644197fb2ebe26e59ab248 | [log] [tgz] |
---|---|---|
author | Zhen Kong <zkong@codeaurora.org> | Mon Sep 18 12:59:23 2017 -0700 |
committer | Zhen Kong <zkong@codeaurora.org> | Wed Sep 20 15:51:18 2017 -0700 |
tree | b128e51fcd67d8be950e3c45a7e669eec24b9717 | |
parent | 1d9aee752ee2f421c325d87466ec65a8efe5da05 [diff] |
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: Zhen Kong <zkong@codeaurora.org>