Re: [PATCH 4/6] drivers:crypto:qce: Fix SHA result buffer corruption issues.

2020-11-17 Thread Bjorn Andersson
On Tue 17 Nov 07:47 CST 2020, Thara Gopinath wrote: > Partial hash was being copied into the final result buffer without the > entire message block processed. Depending on how the end user processes > this result buffer, errors vary from result buffer corruption to result > buffer poisoing. Fix th

[PATCH 4/6] drivers:crypto:qce: Fix SHA result buffer corruption issues.

2020-11-17 Thread Thara Gopinath
Partial hash was being copied into the final result buffer without the entire message block processed. Depending on how the end user processes this result buffer, errors vary from result buffer corruption to result buffer poisoing. Fix this issue by ensuring that only the final hash value is copied