author | Simon Glass <sjg@chromium.org> | |
Wed, 5 Dec 2012 14:46:33 +0000 (14:46 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Tue, 11 Dec 2012 20:17:33 +0000 (13:17 -0700) | ||
commit | a7d1d765793a05c0d6f7547122339dbecc94f6c3 | |
tree | ea4d48137a767632de042a62c09d646c897eb880 | tree | snapshot (tar.xz tar.gz zip) |
parent | 6a135efcd0f1a2e0f9e5f24fa7a0b578963c55aa | commit | 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>
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>
include/sha1.h | diff | blob | history | |
lib/sha1.c | diff | blob | history |