Copy stable/10@r272459 to releng/10.1 as part ofthe 10.1-RELEASE process.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Fix an 11 year old mistake: Let the hash functions take a void* insteadof unsigned char* argument.
Add a new entrypoint to the hashes in libmd: char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length)Which only hashes part of a file.Implement FooFile() in terms of this function.Submitted by: roam
Add Eric Young's RIPEMD160 implementation as well, in case SHA-1should prove weak. Also fix a few problems with the SHA-1 build.