]> git.dujemihanovic.xyz Git - u-boot.git/commit
sha1: Fix digest state size/type
authorLoic Poulain <loic.poulain@linaro.org>
Wed, 1 Jun 2022 18:26:28 +0000 (20:26 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jun 2022 17:36:28 +0000 (13:36 -0400)
commit4e883522bad7f1fed4ce0e35d26080fe29a972a5
treeda90c020ff6e1b8ecdabf577c4858c7588e486ec
parent8201b8066a898c1ae72af45dbda8950410ee4743
sha1: Fix digest state size/type

sha1 digest size is 5*32-bit => 160-bit. Using 64-bit unsigned long
does not cause issue with the current sha1 implementation, but could
be problematic for vectorized access.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
include/u-boot/sha1.h