[U-Boot-Users] [PATCH v2 1/2] Add support for calulacting hashes with watchdog triggering

Wolfgang Denk wd at denx.de
Fri Apr 25 09:16:01 CEST 2008


In message <20080422102756.30118.38437.stgit at pollux.denx.de> you wrote:
> Implement watchodg-aware variants of hash calculation functions:
> - crc32_wd()
> - md5_wd()
> - sha1_csum_wd()
> The above functions calculate the hash of the input buffer in chunks,
> triggering the watchdog after processing each chunk. The chunk size is given
> as a function call parameter.
> 
> Signed-off-by: Bartlomiej Sieka <tur at semihalf.com>
> ---
> 
>  include/common.h     |    1 +
>  include/sha1.h       |   11 +++++++++++
>  include/u-boot/md5.h |    8 ++++++++
>  lib_generic/crc32.c  |   27 +++++++++++++++++++++++++++
>  lib_generic/md5.c    |   36 ++++++++++++++++++++++++++++++++++++
>  lib_generic/sha1.c   |   33 +++++++++++++++++++++++++++++++++
>  6 files changed, 116 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All easy problems have already been solved.




More information about the U-Boot mailing list