freebsd-dev/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 Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
md4c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
md5.copyright
md5.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
md5c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
mddriver.c
mdX.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
mdXhl.c Improvements to the MDXFileChunk() template function: 2016-01-14 21:08:23 +00:00
ripemd.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
ripemd.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
rmd160c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
rmd_locl.h
rmdconst.h
rmddriver.c
sha0c.c
sha1c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
sha256.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
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 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
shadriver.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00