]> git.baikalelectronics.ru Git - uboot.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)
commita337f96acb1abc8bcd832aace1d0167d4e6b8e8a
treeda90c020ff6e1b8ecdabf577c4858c7588e486ec
parentf84124dafaa50ea99fc21fdb81b24f39ef448aac
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