[U-Boot-Users] [PATCH 1/2] Add support for calulacting hashes with watchdog triggering
Wolfgang Denk
wd at denx.de
Fri Apr 18 09:54:53 CEST 2008
> In message <20080412111502.16495.46710.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/md5.h | 8 ++++++++
> > include/sha1.h | 11 +++++++++++
> > 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
> It is not best to swap horses while crossing the river.
> - Abraham Lincoln
More information about the U-Boot
mailing list