7df6a1eb | 27-May-2022 |
Chunsong Feng <fengchunsong@huawei.com> |
sha512_mb: fix sha512 calculation error
If the input buffer length for sha512_update is not an integer multiple of SHA512_BLOCK_SIZE, it needs to be saved and is calculated only after a whole SHA512
sha512_mb: fix sha512 calculation error
If the input buffer length for sha512_update is not an integer multiple of SHA512_BLOCK_SIZE, it needs to be saved and is calculated only after a whole SHA512_BLOCK_SIZE is assembled. This patch implement this process.
Fix: https://www.github.com/intel/isa-l_crypto/issues/87
Change-Id: I08f66505fd4b5490235bff88c25a3b932625b267 Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
show more ...
|