Skip Menu |

Subject: CVS Commit
Update shsUpdate to take an unsigned int length instead of signed.
The code already assumes that it is an integer >= 0. This change
cleans up a number of signed/unsigned warnings.

sha1/shs.h, shs.c, t_shs.c: change ints to unsigned int
dk/dk_encrypt.c: static function trunc_hmac change a signed int to unsigned
hash_provider/hash_sha1.c: Remove cast in argument to shsUpdate

Commit By: epeisach

Revision: 17945
Changed Files:
U trunk/src/lib/crypto/dk/dk_encrypt.c
U trunk/src/lib/crypto/hash_provider/hash_sha1.c
U trunk/src/lib/crypto/sha1/shs.c
U trunk/src/lib/crypto/sha1/shs.h
U trunk/src/lib/crypto/sha1/t_shs3.c