]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sha1: Use const where possible, and unsigned for input len
authorSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2012 14:46:33 +0000 (14:46 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:33 +0000 (13:17 -0700)
commita7d1d765793a05c0d6f7547122339dbecc94f6c3
treeea4d48137a767632de042a62c09d646c897eb880
parent6a135efcd0f1a2e0f9e5f24fa7a0b578963c55aa
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>
include/sha1.h
lib/sha1.c