From: Bartlomiej Sieka Date: Sat, 12 Apr 2008 13:14:54 +0200 Subject: [U-Boot-Users] [PATCH 0/2] Calculate image hashes with watchdog triggering Message-ID: <20080412111343.16495.21545.stgit@pollux.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 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