[U-Boot-Users] [PATCH 0/2] Calculate image hashes with watchdog triggering

Bartlomiej Sieka tur at semihalf.com
Sat Apr 12 13:14:54 CEST 2008


Hash calculation of an image can be a time consuming operation, with the
possibility of making the hardware watchdog (if present/enabled) expire in the
middle. Add watchdog-aware hash calculation functions and make image hash
calculation use them.
---

Bartlomiej Sieka (2):
      Use watchdog-aware functions when calculating hashes of images
      Add support for calulacting hashes with watchdog triggering


 common/image.c      |   43 +++++++++----------------------------------
 include/common.h    |    1 +
 include/image.h     |   17 +++++++++++++++--
 include/md5.h       |    8 ++++++++
 include/sha1.h      |   11 +++++++++++
 lib_generic/crc32.c |   28 ++++++++++++++++++++++++++++
 lib_generic/md5.c   |   40 ++++++++++++++++++++++++++++++++++++++++
 lib_generic/sha1.c  |   37 +++++++++++++++++++++++++++++++++++++
 8 files changed, 149 insertions(+), 36 deletions(-)

-- 
Bartlomiej




More information about the U-Boot mailing list