From: Wolfgang Denk Date: Fri, 18 Apr 2008 09:54:53 +0200 Subject: [U-Boot-Users] [PATCH 1/2] Add support for calulacting hashes with watchdog triggering Message-ID: <20080418075453.E4ADC248BB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > In message <20080412111502.16495.46710.stgit@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 > > --- > > > > 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