Make the crc32 hash provider correctly chain multiple input buffers,
authorGreg Hudson <ghudson@mit.edu>
Mon, 30 Nov 2009 16:12:36 +0000 (16:12 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 30 Nov 2009 16:12:36 +0000 (16:12 +0000)
commita8927d0c4e159601aab0d68740dfe0b53ccf9328
treeaf470cc2de44ed23885d91a76f312a0a68991db0
parentbb7801ed460acdfde84de1310494e11ea62cd06a
Make the crc32 hash provider correctly chain multiple input buffers,
so that it returns the same result if you pass it one big buffer or
many small buffers containing the same data.  To do this, change the
contract of mit_crc32 so that the cksum parameter is in-out.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23386 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/builtin/hash_provider/hash_crc32.c
src/lib/crypto/crypto_tests/t_crc.c
src/lib/crypto/krb/crc32/crc-32.h
src/lib/crypto/krb/crc32/crc32.c
src/lib/crypto/openssl/hash_provider/hash_crc32.c