freebsd-nq/lib/libmd
Jonathan T. Looney 492e9ee5a9 Improvements to the MDXFileChunk() template function:
- Remove unneeded fstat()/lseek() calls.
- Return NULL and set errno to EINVAL on negative length.
- Fix small style problems and expand variable names.

After this change, it is possible to use this code for some irregular
files. For example, 'md5 /dev/md0' should now succeed.

Differential Revision:	https://reviews.freebsd.org/D4748
Suggested by:	bde
Reviewed by:	bde, allanjude, delphij
2016-01-14 21:08:23 +00:00
..
i386
Makefile Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-01-07 19:58:23 +00:00
md4.copyright
md4.h
md4c.c
md5.copyright
md5.h
md5c.c
mddriver.c
mdX.3
mdXhl.c Improvements to the MDXFileChunk() template function: 2016-01-14 21:08:23 +00:00
ripemd.3
ripemd.h
rmd160c.c
rmd_locl.h
rmdconst.h
rmddriver.c
sha0c.c
sha1c.c
sha256.3
sha512.3 Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
sha_locl.h
sha.3
sha.h
shadriver.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00