sha256: Use const where possible and add watchdog function
authorSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2012 14:46:34 +0000 (14:46 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:33 +0000 (13:17 -0700)
commitec7381fbf6f77cc465eb06a1ab6f8a99df1e487c
treed352d38e00ee2cc7d404daa88842435df53a97d9
parenta7d1d765793a05c0d6f7547122339dbecc94f6c3
sha256: Use const where possible and add watchdog function

In preparation for making the hash function common, we may as well use
const where we can.

Also add a watchdog version of the hashing function.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/sha256.h
lib/sha256.c