1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/lib/libcrypt
John-Mark Gurney 8083f14fc2 replace the kernel's version w/ cperciva's implementation... In all
my tests, it is faster ~20%, even on an old IXP425 533MHz it is ~45%
faster...  This is partly due to loop unrolling, so the code size does
significantly increase...  I do plan on committing a version that
rolls up the loops again for smaller code size for embedded systems
where size is more important than absolute performance (it'll save ~6k
code)...

The kernel implementation is now shared w/ userland's libcrypt and
libmd...

We drop support for sha256 from sha2.c, so now sha2.c only contains
sha384 and sha512...

Reviewed by:	secteam@
2014-03-16 01:43:23 +00:00
..
tests Make bsd.test.mk the only public mk fragment for the building of tests. 2014-03-14 08:56:19 +00:00
crypt-md5.c
crypt-nthash.c
crypt-sha256.c
crypt-sha512.c
crypt.3 various formating fixes, use NUL for NUL bytes.. 2014-03-09 07:45:59 +00:00
crypt.c Switch the hardcoded default hash function from MD5 / DES to SHA512. 2014-02-15 10:53:44 +00:00
crypt.h
Makefile replace the kernel's version w/ cperciva's implementation... In all 2014-03-16 01:43:23 +00:00
misc.c