commit | a7d1d765793a05c0d6f7547122339dbecc94f6c3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 05 14:46:33 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:33 2012 -0700 |
tree | ea4d48137a767632de042a62c09d646c897eb880 | |
parent | 6a135efcd0f1a2e0f9e5f24fa7a0b578963c55aa [diff] |
sha1: Use const where possible, and unsigned for input len In preparation for making the hash function common, we may as well use const where we can. Also the input length cannot be negative, but may be very large, so use unsigned. Signed-off-by: Simon Glass <sjg@chromium.org>