svn rev #17945: trunk/src/lib/crypto/ dk/ hash_provider/ sha1/

epeisach@MIT.EDU epeisach at MIT.EDU
Thu Apr 20 00:24:50 EDT 2006


Commit By: epeisach
Log Message: 
ticket: new
Subject: shsUpdate should take an unsigned int for length

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





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



More information about the cvs-krb5 mailing list