Add support for calulacting hashes with watchdog triggering
PATCH 1/2 Add support for calulacting hashes with watchdog triggering
Quoted 32 lines
Quoted 11 lines · In message <[email protected]> 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 <[email protected]>---
Quoted 7 lines
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
Signature · 5 lines
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