mirror of https://gitee.com/openkylin/linux.git
1148a9654b
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 into the result buffer. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
---|---|---|
.. | ||
Makefile | ||
cipher.h | ||
common.c | ||
common.h | ||
core.c | ||
core.h | ||
dma.c | ||
dma.h | ||
regs-v5.h | ||
sha.c | ||
sha.h | ||
skcipher.c |